![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Setup of global actions for the main menu. More...
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.
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
5/2025 generally speaking, we use way too much registration relying on matching textual IDs; This is a "boilerplaty" approach, we can do better ///////////////////////TICKET #1405 : all this registration with matching IDs is way too much "boilerplaty"
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>Namespaces | |
| namespace | stage |
| Lumiera GTK UI implementation root. | |
| namespace | stage::ctrl |
| Backbone of the Lumiera GTK UI. | |
Classes | |
| class | Actions |
| A helper class which registers global user actions and populates the main menu and toolbar. More... | |