AyatanaIdo3.CalendarMenuItem¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.MenuItem (20), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.MenuItem (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Gtk.MenuItem (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class AyatanaIdo3.CalendarMenuItem(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
AyatanaIdo3.CalendarMenuItem
.- Return type:
Creates a new
AyatanaIdo3.CalendarMenuItem
- classmethod new_from_model(menuitem, actions)¶
- Parameters:
menuitem (
Gio.MenuItem
) –actions (
Gio.ActionGroup
) –
- Return type:
- clear_marks()¶
Remove all visual markers.
- get_calendar()¶
- Returns:
The
Gtk.Calendar
used in this item.- Return type:
Returns the calendar associated with this menu item.
- get_date()¶
- Returns:
- Return type:
Gets the selected date.
- get_display_options()¶
- Returns:
the display options in use
- Return type:
Get the display options for the calendar.
- mark_day(day)¶
-
Places a visual marker on a particular day.
- set_date(year, month, day)¶
- Parameters:
- Returns:
- Return type:
Set the date shown on the calendar.
- set_display_options(flags)¶
- Parameters:
flags (
Gtk.CalendarDisplayOptions
) – the display options to set
Set the display options for the calendar.
Signal Details¶
- AyatanaIdo3.CalendarMenuItem.signals.day_selected(calendar_menu_item)¶
- Signal Name:
day-selected
- Flags:
- Parameters:
calendar_menu_item (
AyatanaIdo3.CalendarMenuItem
) – The object which received the signal
- AyatanaIdo3.CalendarMenuItem.signals.day_selected_double_click(calendar_menu_item)¶
- Signal Name:
day-selected-double-click
- Flags:
- Parameters:
calendar_menu_item (
AyatanaIdo3.CalendarMenuItem
) – The object which received the signal
- AyatanaIdo3.CalendarMenuItem.signals.month_changed(calendar_menu_item)¶
- Signal Name:
month-changed
- Flags:
- Parameters:
calendar_menu_item (
AyatanaIdo3.CalendarMenuItem
) – The object which received the signal