gtk :: GtkCalendar
See: https://developer.gnome.org/gtk3/3.2/GtkCalendar.html
gtk :: GtkCalendar :: clear_marks
gtk :: GtkCalendar :: day=
gtk :: GtkCalendar :: defaultinit
gtk :: GtkCalendar :: display_options=
gtk :: GtkCalendar :: mark_day
gtk :: GtkCalendar :: new
gtk :: GtkCalendar :: unmark_day
gtk $ GtkCalendar :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gtk :: GtkCalendar :: clear_marks
gtk :: GtkCalendar :: day=
gtk :: GtkCalendar :: defaultinit
core :: Object :: defaultinit
gtk :: GtkWidget :: defaultinit
core :: Pointer :: defaultinit
gtk :: GtkCalendar :: display_options=
gtk :: GtkWidget :: equal_to_gtk_widget
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gtk :: GtkCalendar :: mark_day
core :: Object :: native_class_name
The class name of the object in CString format.core :: Pointer :: native_equals
gtk :: GtkCalendar :: new
core :: Object :: output_class_name
Display class name on stdout (debug only).core :: Pointer :: premultiply_alpha
Multiply RGB values by their alpha valuegtk :: GtkWidget :: sensitive=
Sets the sensitivity of a widget. sensitive -> the user can interact with it.gtk :: GtkWidget :: set_size_request
Set the minimum dimension of this widgetgtk :: GtkWidget :: signal_connect
gtk :: GtkCalendar :: unmark_day
# Displays a calendar and allows the user to select a date
# See: https://developer.gnome.org/gtk3/3.2/GtkCalendar.html
extern class GtkCalendar `{GtkCalendar *`}
super GtkWidget
new `{
return (GtkCalendar *)gtk_calendar_new();
`}
fun month=(month: Int, year: Int) `{
gtk_calendar_select_month(self, month, year);
`}
fun day=(day: Int) `{
gtk_calendar_select_day(self, day);
`}
fun mark_day(day: Int) `{
gtk_calendar_mark_day(self, day);
`}
fun unmark_day(day: Int) `{
gtk_calendar_unmark_day(self, day);
`}
fun is_marked(day: Int): Bool `{
return gtk_calendar_get_day_is_marked(self, day);
`}
fun clear_marks `{
gtk_calendar_clear_marks(self);
`}
fun display_options: GtkCalendarDisplayOptions `{
return gtk_calendar_get_display_options(self);
`}
fun display_options=(options: GtkCalendarDisplayOptions) `{
gtk_calendar_set_display_options(self, options);
`}
# date en nit...
fun date: String is abstract
end
lib/gtk/v3_4/gtk_widgets_ext.nit:22,1--66,3