|
Ingen
0.5.1
|
Manager/Factory for all windows. More...
#include <WindowFactory.hpp>
Public Types | |
| typedef Node::Properties | Properties |
Public Member Functions | |
| WindowFactory (App &app) | |
| size_t | num_open_graph_windows () |
| Returns the number of Graph windows currently visible. | |
| GraphBox * | graph_box (SPtr< const Client::GraphModel > graph) |
| GraphWindow * | graph_window (SPtr< const Client::GraphModel > graph) |
| GraphWindow * | parent_graph_window (SPtr< const Client::BlockModel > block) |
| void | present_graph (SPtr< const Client::GraphModel > model, GraphWindow *preferred=NULL, SPtr< GraphView > view=SPtr< GraphView >()) |
| Present a GraphWindow for a Graph. More... | |
| void | present_load_plugin (SPtr< const Client::GraphModel > graph, Properties data=Properties()) |
| void | present_load_graph (SPtr< const Client::GraphModel > graph, Properties data=Properties()) |
| void | present_load_subgraph (SPtr< const Client::GraphModel > graph, Properties data=Properties()) |
| void | present_new_subgraph (SPtr< const Client::GraphModel > graph, Properties data=Properties()) |
| void | present_rename (SPtr< const Client::ObjectModel > object) |
| void | present_properties (SPtr< const Client::ObjectModel > object) |
| bool | remove_graph_window (GraphWindow *win, GdkEventAny *ignored=NULL) |
| void | set_main_box (GraphBox *box) |
| void | clear () |
Manager/Factory for all windows.
This serves as a nice centralized spot for all window management issues, as well as an enumeration of all windows (the goal being to reduce that number as much as possible).
| void Ingen::GUI::WindowFactory::present_graph | ( | SPtr< const Client::GraphModel > | model, |
| GraphWindow * | preferred = NULL, |
||
| SPtr< GraphView > | view = SPtr<GraphView>() |
||
| ) |
Present a GraphWindow for a Graph.
If preferred is not NULL, it will be set to display graph if the graph does not already have a visible window, otherwise that window will be presented and preferred left unmodified.
References Ingen::GUI::App::quit(), and Ingen::GUI::GraphBox::set_graph().
1.8.12