|
Nemiver
0.3
|
the interface of the Workbench. The workbench is what you see graphically when you use Nemiver. It is made of a menu bar, toolbars and a set of widgets that let you actually debug your code. The set of widgets that actually makes the debugger experience is called a perspective. The Workbench must be seen a container of perspectives. A perspective can be active or not. More...
#include <nmv-i-workbench.h>
Public Member Functions | |
| virtual | ~IWorkbench () |
| virtual void | do_init (Gtk::Main &a_main)=0 |
| initialization function More... | |
| virtual void | shut_down ()=0 |
| virtual Glib::RefPtr< Glib::MainContext > | get_main_context ()=0 |
various getters | |
signal | |
| virtual Glib::RefPtr< Gtk::ActionGroup > | get_default_action_group ()=0 |
| virtual Gtk::Widget & | get_menubar ()=0 |
| virtual Gtk::Notebook & | get_toolbar_container ()=0 |
| virtual Gtk::Window & | get_root_window ()=0 |
| virtual void | set_title_extension (const UString &a_str)=0 |
| Set state-related information to be appended to the window title. More... | |
| virtual Glib::RefPtr< Gtk::UIManager > & | get_ui_manager ()=0 |
| virtual IPerspective * | get_perspective (const UString &a_name)=0 |
| virtual void | do_init (IConfMgrSafePtr &)=0 |
| set the configuration manager used by this interface More... | |
| virtual IConfMgrSafePtr | get_configuration_manager ()=0 |
signals | |
| virtual sigc::signal< void > & | shutting_down_signal ()=0 |
| emitted just before the workbench shuts down More... | |
Public Member Functions inherited from nemiver::common::DynModIface | |
| DynModIface (DynamicModuleSafePtr &a_dynmod) | |
| DynModIface (DynamicModule *a_dynmod) | |
| DynamicModule & | get_dynamic_module () const |
Public Member Functions inherited from nemiver::common::Object | |
| Object () | |
| Object (Object const &) | |
| Object & | operator= (Object const &) |
| virtual | ~Object () |
| void | ref () |
| void | unref () |
| void | enable_refcount (bool a_enabled=true) |
| bool | is_refcount_enabled () const |
| long | get_refcount () const |
| void | attach_object (const UString &a_key, const Object *a_object) |
| bool | get_attached_object (const UString &a_key, const Object *&a_object) |
Protected Member Functions | |
| IWorkbench (DynamicModule *a_dynmod) | |
Additional Inherited Members | |
Protected Attributes inherited from nemiver::common::Object | |
| SafePtr< ObjectPriv > | m_priv |
the interface of the Workbench. The workbench is what you see graphically when you use Nemiver. It is made of a menu bar, toolbars and a set of widgets that let you actually debug your code. The set of widgets that actually makes the debugger experience is called a perspective. The Workbench must be seen a container of perspectives. A perspective can be active or not.
An implication of a workbench being a container of perspectives is the way it manages toolbars. There can be several toolbars hosted by the workbench. The expected behaviour is that when the user switch from one perspective to another, (for example from the debugger perspective to the valgring memory checker, if one appears some day) the toolbars of the right perspective are displayed. Oh, and there can be only one perspective active at a time.
When a new perspective is added to the workbench, the later queries the former for the toolbars to display when the perspective becomes active. As a result, The workbench appends the toolbars in a Gtk::Notebook and shows the appropriate toolbars when the perspective becomes active.
|
inlineprotected |
|
inlinevirtual |
|
pure virtual |
initialization function
| a_main | the main loop created by the application. |
|
pure virtual |
set the configuration manager used by this interface
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Set state-related information to be appended to the window title.
|
pure virtual |
|
pure virtual |
emitted just before the workbench shuts down
1.8.17