Ingen
0.5.1
|
Graph canvas widget. More...
#include <GraphCanvas.hpp>
Public Member Functions | |
GraphCanvas (App &app, SPtr< const Client::GraphModel > graph, int width, int height) | |
App & | app () |
void | build () |
void | show_human_names (bool show) |
void | show_port_names (bool show) |
bool | show_port_names () const |
void | add_plugin (SPtr< Client::PluginModel > pm) |
void | remove_plugin (const Raul::URI &uri) |
void | add_block (SPtr< const Client::BlockModel > bm) |
void | remove_block (SPtr< const Client::BlockModel > bm) |
void | add_port (SPtr< const Client::PortModel > pm) |
void | remove_port (SPtr< const Client::PortModel > pm) |
void | connection (SPtr< const Client::ArcModel > am) |
void | disconnection (SPtr< const Client::ArcModel > am) |
void | get_new_module_location (double &x, double &y) |
Try to guess a suitable location for a new module. | |
void | clear_selection () |
void | destroy_selection () |
void | copy_selection () |
void | paste () |
void | show_menu (bool position, unsigned button, uint32_t time) |
bool | on_event (GdkEvent *event) |
Graph canvas widget.