gcal-window: added new application flow
gcal-window changes: 1. Added #GtkStackSwitcher for view-switching handling 2. Reworked view switching behavior 3. Added window states: search-mode, new-event-mode 4. Implemented search using #GtkSearchBar, allowing to handle [Esc] keys closing the search 5. Removed temporally SourcesView gcal-application changes: 1. Added actions for [Search] and [New Event] with its keyboard-shorcut A lot of ground work is set here, the code is fill with FIXMEs and comment for stuff-TODO
This commit is contained in:
+10
-5
@@ -52,14 +52,19 @@ struct _GcalWindowClass
|
||||
};
|
||||
|
||||
|
||||
GType gcal_window_get_type (void);
|
||||
GType gcal_window_get_type (void);
|
||||
|
||||
GtkWidget* gcal_window_new_with_view (GcalApplication *app,
|
||||
GcalWindowViewType view_type);
|
||||
GtkWidget* gcal_window_new_with_view (GcalApplication *app,
|
||||
GcalWindowViewType view_type);
|
||||
|
||||
void gcal_window_show_notification (GcalWindow *window);
|
||||
void gcal_window_new_event (GcalWindow *window);
|
||||
|
||||
void gcal_window_hide_notification (GcalWindow *window);
|
||||
void gcal_window_set_search_mode (GcalWindow *window,
|
||||
gboolean enabled);
|
||||
|
||||
void gcal_window_show_notification (GcalWindow *window);
|
||||
|
||||
void gcal_window_hide_notification (GcalWindow *window);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user