Lumiera  0.pre.03
»edit your freedom«
actions.hpp File Reference

Go to the source code of this file.

Description

Setup of global actions for the main menu.

The Actions helper defines the structure and contents of the workspace window main menu. The individual menu options are bound to functors (closures), which use a global UI context to access the target objects or invoke the signals.

Todo:
the old Gtk::Action and Gtk::ActionGroup are planned to be deprecated. Recommendation is to rely on Gtk::Builder and Gtk::SimpleAction instead. As of 5/2017, it is not clear to what extent this might force us into additional "desktop integration" we do not need nor want (like automatically connecting to D-Bus). For that reason, we'll postpone this transition for the time being /////////////////////TICKET #1068
See also
ui-manager.hpp
gtk-lumiera.cpp

Definition in file actions.hpp.

Classes

class  Actions
 A helper class which registers global user actions and populates the main menu and toolbar. More...
 

Namespaces

 stage
 Lumiera GTK UI implementation root.
 
 stage::ctrl
 Backbone of the Lumiera GTK UI.