| Kipinä internals: reference Manual |
|---|
GtkWidget* kp_calendar_view_new (KPViewModelType type, guint d, guint m, guint y); void kp_calendar_view_set (KPCalendarView *cv, KPViewModelType type); void kp_calendar_view_set_date (KPCalendarView *cv, guint d, guint m, guint y); void kp_calendar_view_get_date (KPCalendarView *cv, guint *d, guint *m, guint *y); GDate* kp_calendar_view_get_start_date (KPCalendarView *cv); GDate* kp_calendar_view_get_end_date (KPCalendarView *cv); void kp_calendar_view_attach_popup_menu (KPCalendarView *cv, GtkMenu *menu); void kp_calendar_view_open_to_window (KPViewModelType type, guint d, guint m, guint y); void kp_calendar_view_add_mark (KPCalendarView *cv, guint d, guint m, guint y, guint h, guint min, const gchar *str); gchar* kp_calendar_view_get_current_mark (KPCalendarView *cv); void kp_calendar_view_remove_current_mark (KPCalendarView *cv); void kp_calendar_view_remove_mark (KPCalendarView *cv, guint d, guint m, guint y, const gchar *mark); void kp_calendar_view_set_active (KPCalendarView *cv, gboolean activate); gboolean kp_calendar_view_get_active (KPCalendarView *cv);
GtkWidget* kp_calendar_view_new (KPViewModelType type,
guint d,
guint m,
guint y);| type : | |
| d : | |
| m : | |
| y : | |
| Returns : |
|
void kp_calendar_view_set (KPCalendarView *cv,
KPViewModelType type);Set the view type of this KPCalendarView. There are currently some views available: year, month, week and day view.
| cv : | A |
| type : | A |
void kp_calendar_view_set_date (KPCalendarView *cv,
guint d,
guint m,
guint y);Sets the active day in the view to the day represented by d, m and y.
| cv : | A |
| d : | Day number between 1 and 31 |
| m : | Month number between 1 and 12 |
| y : | Year number in format yyyy |
void kp_calendar_view_get_date (KPCalendarView *cv,
guint *d,
guint *m,
guint *y);Finds out the date of the currently selected day.
| cv : | A |
| d : | A location to store day number or NULL |
| m : | A location to store month number or NULL |
| y : | A location to store year number or NULL |
GDate* kp_calendar_view_get_start_date (KPCalendarView *cv);
Find out what is the earliest date in the current view.
| cv : | A |
| Returns : | a |
GDate* kp_calendar_view_get_end_date (KPCalendarView *cv);
Find out what is the latest date in the current view.
| cv : | A |
| Returns : | a |
void kp_calendar_view_attach_popup_menu
(KPCalendarView *cv,
GtkMenu *menu);| cv : | |
| menu : |
|
void kp_calendar_view_open_to_window (KPViewModelType type,
guint d,
guint m,
guint y);| type : | |
| d : | |
| m : | |
| y : |
|
void kp_calendar_view_add_mark (KPCalendarView *cv,
guint d,
guint m,
guint y,
guint h,
guint min,
const gchar *str);| cv : | |
| d : | |
| m : | |
| y : | |
| h : | |
| min : | |
| str : |
|
gchar* kp_calendar_view_get_current_mark
(KPCalendarView *cv);| cv : | |
| Returns : |
|
void kp_calendar_view_remove_current_mark
(KPCalendarView *cv);| cv : |
|
void kp_calendar_view_remove_mark (KPCalendarView *cv,
guint d,
guint m,
guint y,
const gchar *mark);| cv : | |
| d : | |
| m : | |
| y : | |
| mark : |
|
void kp_calendar_view_set_active (KPCalendarView *cv,
gboolean activate);| cv : | |
| activate : |
|
| <<< kpmainwindow | kpchart >>> |