Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkcalendar.h
Go to the documentation of this file.
1/* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * GTK Calendar Widget
5 * Copyright (C) 1998 Cesar Miquel and Shawn T. Amundson
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21/*
22 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
23 * file for a list of people on the GTK+ Team. See the ChangeLog
24 * files for a list of changes. These files are distributed with
25 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
26 */
27
28#pragma once
29
30
31#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
32#error "Only <gtk/gtk.h> can be included directly."
33#endif
34
35#include <gtk/gtkwidget.h>
36
37
39
40#define GTK_TYPE_CALENDAR (gtk_calendar_get_type ())
41#define GTK_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CALENDAR, GtkCalendar))
42#define GTK_IS_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CALENDAR))
43
44
45typedef struct _GtkCalendar GtkCalendar;
46
51
54 GDateTime *date);
55
58 guint day);
61 guint day);
64
80
83 int day);
84
87
90 int month);
91
94
97 int year);
98
101
104
107 guint day);
108
110
112
struct _GDateTime GDateTime
Definition gdatetime.h:122
#define GDK_AVAILABLE_IN_4_14
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL void gtk_calendar_select_day(GtkCalendar *self, GDateTime *date)
GDK_AVAILABLE_IN_ALL gboolean gtk_calendar_get_day_is_marked(GtkCalendar *calendar, guint day)
GDK_AVAILABLE_IN_ALL GType gtk_calendar_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_4_14 int gtk_calendar_get_day(GtkCalendar *self)
GDK_AVAILABLE_IN_ALL void gtk_calendar_mark_day(GtkCalendar *calendar, guint day)
GDK_AVAILABLE_IN_ALL void gtk_calendar_set_show_heading(GtkCalendar *self, gboolean value)
GDK_AVAILABLE_IN_ALL GDateTime * gtk_calendar_get_date(GtkCalendar *self)
GDK_AVAILABLE_IN_4_14 void gtk_calendar_set_month(GtkCalendar *self, int month)
GDK_AVAILABLE_IN_ALL void gtk_calendar_clear_marks(GtkCalendar *calendar)
GDK_AVAILABLE_IN_4_14 void gtk_calendar_set_year(GtkCalendar *self, int year)
GDK_AVAILABLE_IN_ALL gboolean gtk_calendar_get_show_week_numbers(GtkCalendar *self)
struct _GtkCalendar GtkCalendar
Definition gtkcalendar.h:45
GDK_AVAILABLE_IN_ALL void gtk_calendar_set_show_week_numbers(GtkCalendar *self, gboolean value)
GDK_AVAILABLE_IN_4_14 void gtk_calendar_set_day(GtkCalendar *self, int day)
GDK_AVAILABLE_IN_ALL gboolean gtk_calendar_get_show_heading(GtkCalendar *self)
GDK_AVAILABLE_IN_ALL void gtk_calendar_unmark_day(GtkCalendar *calendar, guint day)
GDK_AVAILABLE_IN_ALL void gtk_calendar_set_show_day_names(GtkCalendar *self, gboolean value)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_calendar_new(void)
GDK_AVAILABLE_IN_ALL gboolean gtk_calendar_get_show_day_names(GtkCalendar *self)
GDK_AVAILABLE_IN_4_14 int gtk_calendar_get_month(GtkCalendar *self)
GDK_AVAILABLE_IN_4_14 int gtk_calendar_get_year(GtkCalendar *self)
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
unsigned int guint
Definition gtypes.h:61
int value
Definition lsqlite3.c:2155