| Top |
| GtkWidget * | jana_gtk_year_view_new () |
| void | jana_gtk_year_view_add_store () |
| void | jana_gtk_year_view_remove_store () |
| void | jana_gtk_year_view_set_year () |
| JanaTime * | jana_gtk_year_view_get_year () |
| void | jana_gtk_year_view_set_months_per_row () |
| gint | jana_gtk_year_view_get_selected_month () |
| void | jana_gtk_year_view_set_selected_month () |
| void | jana_gtk_year_view_set_highlighted_time () |
| GObject * | highlighted-time | Read / Write |
| guint | months-per-row | Write |
| GObject * | year | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkTable
╰── JanaGtkYearView
GtkWidget * jana_gtk_year_view_new (guint months_per_row,JanaTime *year);
Create a new widget that provides a summary of events over year
.
void jana_gtk_year_view_add_store (JanaGtkYearView *self,JanaGtkEventStore *store);
Adds store
to the list of JanaGtkEventStore objects used in visualising
the year.
void jana_gtk_year_view_remove_store (JanaGtkYearView *self,JanaGtkEventStore *store);
Removes store
from the list of JanaGtkEventStore objects used in
visualising the year. If store
has not previously been added with
jana_gtk_year_view_add_store(), nothing happens.
void jana_gtk_year_view_set_year (JanaGtkYearView *self,JanaTime *year);
Set the year for self
to count events in.
JanaTime *
jana_gtk_year_view_get_year (JanaGtkYearView *self);
Gets the year self
is counting events in.
void jana_gtk_year_view_set_months_per_row (JanaGtkYearView *self,guint months_per_row);
Set the number of months for self
to pack into a row.
gint
jana_gtk_year_view_get_selected_month (JanaGtkYearView *self);
Gets the currently selected month, between 0 and 12 inclusive. 0 corresponds to there being no event selected.
void jana_gtk_year_view_set_selected_month (JanaGtkYearView *self,gint month);
Sets or clears the selected month.
void jana_gtk_year_view_set_highlighted_time (JanaGtkYearView *self,JanaTime *time);
Sets a time to be highlighted. This can be used to highlight the current time, for example.
“highlighted-time” property “highlighted-time” GObject *
A time that should be highlighted, for example, the current time.
Flags: Read / Write
“months-per-row” property “months-per-row” guint
Months to display per row.
Flags: Write
Allowed values: [1,12]
Default value: 3
“selection-changed” signalvoid user_function (JanaGtkYearView *janagtkyearview, gint arg1, gpointer user_data)
Flags: Run Last