Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
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.
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 Definition in file actions.hpp.
#include "stage/gtk-base.hpp"
#include "stage/ctrl/global-ctx.hpp"
#include "stage/ctrl/window-locator.hpp"
#include "stage/workspace/workspace-window.hpp"
#include "stage/workspace/panel-manager.hpp"
#include "lib/format-string.hpp"
#include "lib/nocopy.hpp"
#include <string>
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. | |