46 using Gtk::IconFactory;
48 using workspace::UiStyle;
70 gtk_init (
nullptr,
nullptr);
71 Gtk::Main::init_gtkmm_internals();
81 Glib::wrap_register_cleanup();
82 Glib::Error::register_cleanup();
100 , actions_{new
Actions{*globals_}}
163 UNIMPLEMENTED (
"TICKET #1151 build a suitable dispatcher into the GTK loop");
178 this->get_action(
"/MenuBar/WindowMenu/WindowCloseWindow")
179 ->set_sensitive (yes);
186 uiStyle_->prepareStyleContext (timeline);
Setup of global actions for the main menu.
Backbone of the Lumiera GTK GUI.
A helper class which registers global user actions and populates the main menu and toolbar.
void populateMainActions(Gtk::UIManager &uiManager)
Populates the uiManager with the main set of global actions.
Framework initialisation base.
ApplicationBase()
Initialise the GTK framework libraries.
A context to hold and manage the implementation of all UI facade interfaces.
A global circle of top-level UI management facilities.
unique_ptr< Facade > facade_
unique_ptr< Actions > actions_
unique_ptr< UiStyle > uiStyle_
void updateWindowFocusRelatedActions()
UiManager(UiBus &bus)
Initialise the GTK framework and the Lumiera UI backbone.
std::function< void(void)> Operation
void configureStyle(timeline::TimelineWidget const &)
void performMainLoop()
start the GTK Main loop and thus activate the UI.
void allowCloseWindow(bool yes)
void terminateUI()
Cause the main event loop to terminate, so the application as a whole unwinds.
void createApplicationWindow()
Set up the first top-level application window.
unique_ptr< GlobalCtx > globals_
void schedule(Operation &&task)
perform an action within the UI event loop (GTK loop).
Manage global concerns regarding a coherent user interface.
Definition of access keys for global UI configuration.
Dependency context to hold all the global UI top-level entities.
A set of basic GTK includes for the UI.
Lumiera GTK UI implementation root.
bool isnil(lib::time::Duration const &dur)
Helpers to handle directory search paths.
Manage the lifecycle of the public UI facade interface(s).
Manager for global user interface concerns, framework integration and global state.
Service for global theming and style related concerns.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...