calendarview

Name

calendarview -- 

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);

Description

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))

object :


CALENDAR_VIEW_CLASS()

#define CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CALENDAR_VIEW, CalendarViewClass))

klass :


IS_CALENDAR_VIEW()

#define IS_CALENDAR_VIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TYPE_CALENDAR_VIEW))

object :


IS_CALENDAR_VIEW_CLASS()

#define IS_CALENDAR_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CALENDAR_VIEW))

klass :


CALENDAR_VIEW_GET_CLASS()

#define CALENDAR_VIEW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), TYPE_CALENDAR_VIEW, CalendarViewClass))

object :


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);

cv :


CalendarUiBuildFunc ()

GtkWidget*  (*CalendarUiBuildFunc)          (CalendarView *cv);

cv :

Returns :


CalendarViewUpdateFunc ()

void        (*CalendarViewUpdateFunc)       (CalendarView *cv);

cv :


calendar_view_new ()

GtkWidget*  calendar_view_new               (CalendarViewType type,
                                             guint d,
                                             guint m,
                                             guint y);

type :

d :

m :

y :

Returns :


calendar_view_get_type ()

GType       calendar_view_get_type          (void);

Returns :


calendar_view_set ()

void        calendar_view_set               (CalendarView *cv,
                                             CalendarViewType type);

cv :

type :


calendar_view_get_view_type ()

CalendarViewType calendar_view_get_view_type
                                            (CalendarView *cv);

cv :

Returns :


calendar_view_set_date ()

void        calendar_view_set_date          (CalendarView *cv,
                                             guint d,
                                             guint m,
                                             guint y);

cv :

d :

m :

y :


calendar_view_get_date ()

void        calendar_view_get_date          (CalendarView *cv,
                                             guint *d,
                                             guint *m,
                                             guint *y);

cv :

d :

m :

y :


calendar_view_get_start_date ()

GDate*      calendar_view_get_start_date    (CalendarView *cv);

cv :

Returns :


calendar_view_get_end_date ()

GDate*      calendar_view_get_end_date      (CalendarView *cv);

cv :

Returns :


calendar_view_open_to_window ()

void        calendar_view_open_to_window    (CalendarViewType type,
                                             guint d,
                                             guint m,
                                             guint y);

type :

d :

m :

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);

cv :

d :

m :

y :

h :

min :

str :