Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gtd_window_new () |
GtdManager * | gtd_window_get_manager () |
void | gtd_window_notify () |
void | gtd_window_cancel_notification () |
GtdWindowMode | gtd_window_get_mode () |
void | gtd_window_set_mode () |
void | gtd_window_set_custom_title () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkApplicationWindow ╰── GtdWindow
GtdWindow implements AtkImplementorIface, GtkBuildable, GActionGroup and GActionMap.
The GtdWindow is the main application window of GNOME To Do. Objects should
use this class to send notifications (see gtd_window_notify()
), cancel notifications
(see gtd_window_cancel_notification()
), change between selection and normal mode
and fine-tune the headerbar.
void gtd_window_notify (GtdWindow *window
,GtdNotification *notification
);
Shows a notification on the top of the main window.
void gtd_window_cancel_notification (GtdWindow *window
,GtdNotification *notification
);
Cancels notification
.
GtdWindowMode
gtd_window_get_mode (GtdWindow *window
);
Retrieves the current mode of window
.
void gtd_window_set_mode (GtdWindow *window
,GtdWindowMode mode
);
Sets the current window mode to mode
.
void gtd_window_set_custom_title (GtdWindow *window
,const gchar *title
,const gchar *subtitle
);
Sets the GtdWindow's headerbar title and subtitle. If title
is NULL
,
the header will be set to the stack switcher.
“mode”
property“mode” GtdWindowMode
The interaction mode of the window.
Owner: GtdWindow
Flags: Read / Write
Default value: GTD_WINDOW_MODE_NORMAL