Synopsis
#define TYPE_CALENDAR_VIEW
#define CALENDAR_VIEW (object)
#define CALENDAR_VIEW_CLASS (klass)
#define IS_CALENDAR_VIEW (object)
#define IS_CALENDAR_VIEW_CLASS (klass)
#define CALENDAR_VIEW_GET_CLASS (object)
enum CalendarViewType;
void (*CalendarViewDayNumberFunc) (CalendarView *cv);
GtkWidget* (*CalendarUiBuildFunc) (CalendarView *cv);
void (*CalendarViewUpdateFunc) (CalendarView *cv);
GtkWidget* calendar_view_new (CalendarViewType type,
guint d,
guint m,
guint y);
GType calendar_view_get_type (void);
void calendar_view_set (CalendarView *cv,
CalendarViewType type);
CalendarViewType calendar_view_get_view_type
(CalendarView *cv);
void calendar_view_set_date (CalendarView *cv,
guint d,
guint m,
guint y);
void calendar_view_get_date (CalendarView *cv,
guint *d,
guint *m,
guint *y);
GDate* calendar_view_get_start_date (CalendarView *cv);
GDate* calendar_view_get_end_date (CalendarView *cv);
void calendar_view_open_to_window (CalendarViewType type,
guint d,
guint m,
guint y);
void calendar_view_add_mark (CalendarView *cv,
guint d,
guint m,
guint y,
guint h,
guint min,
const gchar *str);
Details
TYPE_CALENDAR_VIEW
#define TYPE_CALENDAR_VIEW (calendar_view_get_type())
CALENDAR_VIEW()
#define CALENDAR_VIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), TYPE_CALENDAR_VIEW, CalendarView))
CALENDAR_VIEW_CLASS()
#define CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_VIEW, CalendarViewClass))
IS_CALENDAR_VIEW()
#define IS_CALENDAR_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TYPE_CALENDAR_VIEW))
IS_CALENDAR_VIEW_CLASS()
#define IS_CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CALENDAR_VIEW))
CALENDAR_VIEW_GET_CLASS()
#define CALENDAR_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), TYPE_CALENDAR_VIEW, CalendarViewClass))
enum CalendarViewType
typedef enum
{
CALENDAR_VIEW_DAY = 0,
CALENDAR_VIEW_WEEK = 1,
CALENDAR_VIEW_MONTH = 2,
CALENDAR_VIEW_YEAR = 3,
CALENDAR_VIEW_NUM = 4,
} CalendarViewType;
CalendarViewDayNumberFunc ()
void (*CalendarViewDayNumberFunc) (CalendarView *cv);
CalendarUiBuildFunc ()
GtkWidget* (*CalendarUiBuildFunc) (CalendarView *cv);
CalendarViewUpdateFunc ()
void (*CalendarViewUpdateFunc) (CalendarView *cv);
calendar_view_new ()
GtkWidget* calendar_view_new (CalendarViewType type,
guint d,
guint m,
guint y);
calendar_view_get_type ()
GType calendar_view_get_type (void);
calendar_view_set ()
void calendar_view_set (CalendarView *cv,
CalendarViewType type);
calendar_view_get_view_type ()
CalendarViewType calendar_view_get_view_type
(CalendarView *cv);
calendar_view_set_date ()
void calendar_view_set_date (CalendarView *cv,
guint d,
guint m,
guint y);
calendar_view_get_date ()
void calendar_view_get_date (CalendarView *cv,
guint *d,
guint *m,
guint *y);
calendar_view_get_start_date ()
GDate* calendar_view_get_start_date (CalendarView *cv);
calendar_view_get_end_date ()
GDate* calendar_view_get_end_date (CalendarView *cv);
calendar_view_open_to_window ()
void calendar_view_open_to_window (CalendarViewType type,
guint d,
guint m,
guint y);
calendar_view_add_mark ()
void calendar_view_add_mark (CalendarView *cv,
guint d,
guint m,
guint y,
guint h,
guint min,
const gchar *str);