41 using ctrl::UiManager;
44 WorkspaceWindow::WorkspaceWindow (UiManager& uiManager)
45 : panelManager_(*this)
51 WorkspaceWindow::~WorkspaceWindow()
53 INFO (gui_dbg,
"Closing workspace window...");
59 WorkspaceWindow::getPanelManager()
66 WorkspaceWindow::createUI (UiManager& uiManager)
68 signal_show ().connect_notify(mem_fun(uiManager, &UiManager::updateWindowFocusRelatedActions));
69 add_accel_group (uiManager.get_accel_group());
76 set_default_size (1024, 768);
83 Gtk::Widget* menu_bar = uiManager.get_widget (
"/MenuBar");
84 REQUIRE (menu_bar != NULL);
85 baseContainer_.pack_start(*menu_bar, Gtk::PACK_SHRINK);
88 panelManager_.setupDock();
89 dockContainer_.pack_start (panelManager_.getDockBar(),
false,
false,0);
90 dockContainer_.pack_start (panelManager_.getDock(),
true,
true,0);
91 baseContainer_.pack_start (dockContainer_, Gtk::PACK_EXPAND_WIDGET);
95 statusBar_.set_resize_mode (Gtk::RESIZE_PARENT);
96 baseContainer_.pack_start (statusBar_, Gtk::PACK_SHRINK);
Definition of access keys for global UI configuration.
Management of dockable panels.
This header is for including and configuring NoBug.
static string get(lib::Literal key)
Manager for global user interface concerns, framework integration and global state.
Lumiera GTK UI implementation root.
This file contains the definition of the main workspace window parent, which is the toplevel parent o...
A set of basic GTK includes for the UI.