Ingen  0.5.1
Classes | Public Member Functions | Protected Member Functions | List of all members
Ingen::GUI::LoadPluginWindow Class Reference

'Load Plugin' window. More...

#include <LoadPluginWindow.hpp>

+ Inheritance diagram for Ingen::GUI::LoadPluginWindow:
+ Collaboration diagram for Ingen::GUI::LoadPluginWindow:

Public Member Functions

 LoadPluginWindow (BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &xml)
 
void set_graph (SPtr< const Client::GraphModel > graph)
 Sets the graph controller for this window and initializes everything. More...
 
void set_plugins (SPtr< const Client::ClientStore::Plugins > plugins)
 
void add_plugin (SPtr< const Client::PluginModel > plugin)
 
void present (SPtr< const Client::GraphModel > graph, Node::Properties data)
 
- Public Member Functions inherited from Ingen::GUI::Window
 Window (BaseObjectType *cobject)
 
virtual void init_window (App &app)
 
bool on_key_press_event (GdkEventKey *event)
 

Protected Member Functions

void on_show ()
 Populates the plugin list on the first show. More...
 
bool on_key_press_event (GdkEventKey *event)
 

Additional Inherited Members

- Static Public Member Functions inherited from Ingen::GUI::Window
static bool key_press_handler (Gtk::Window *win, GdkEventKey *event)
 
- Public Attributes inherited from Ingen::GUI::Window
App_app
 

Detailed Description

'Load Plugin' window.

Loaded from XML as a derived object.

Member Function Documentation

§ set_graph()

void Ingen::GUI::LoadPluginWindow::set_graph ( SPtr< const Client::GraphModel graph)

Sets the graph controller for this window and initializes everything.

This function MUST be called before using the window in any way!

§ on_show()

void Ingen::GUI::LoadPluginWindow::on_show ( )
protected

Populates the plugin list on the first show.

This is done here instead of construction time as the list population is really expensive and bogs down creation of a graph. This is especially important when many graph notifications are sent at one time from the engine.


The documentation for this class was generated from the following files: