synfig-studio
1.0.3
|
#include <dock_toolbox.h>
Public Member Functions | |
void | change_state (const synfig::String &statename, bool force=false) |
void | update_tools () |
void | refresh () |
void | set_active_state (const synfig::String &statename) |
void | add_state (const Smach::state_base *state) |
Add and connect a toogle button to the toolbox defined by a state. | |
Dock_Toolbox () | |
virtual | ~Dock_Toolbox () |
Public Member Functions inherited from studio::Dockable | |
void | set_toolbar (Gtk::Toolbar &toolbar) |
void | set_use_scrolled (bool x) |
Dockable (const synfig::String &name, const synfig::String &local_name, Gtk::StockID stock_id_=Gtk::StockID(" ")) | |
~Dockable () | |
sigc::signal< void > & | signal_stock_id_changed () |
const synfig::String & | get_name () const |
const synfig::String & | get_local_name () const |
const Gtk::StockID & | get_stock_id () const |
void | set_stock_id (Gtk::StockID x) |
void | set_local_name (const synfig::String &) |
void | clear () |
void | add (Gtk::Widget &x) |
Gtk::ToolButton * | add_button (const Gtk::StockID &stock_id, const synfig::String &tooltip=synfig::String()) |
virtual void | present () |
void | attach_dnd_to (Gtk::Widget &widget) |
bool | clear_previous () |
virtual Gtk::Widget * | create_tab_label () |
Friends | |
class | studio::StateManager |
Dock_Toolbox::Dock_Toolbox | ( | ) |
|
virtual |
References studio::App::dock_toolbox.
void Dock_Toolbox::change_state | ( | const synfig::String & | statename, |
bool | force = false |
||
) |
References studio::App::get_selected_canvas_view().
void Dock_Toolbox::update_tools | ( | ) |
References studio::App::get_selected_canvas_view(), studio::App::get_selected_instance(), and set_active_state().
Referenced by Dock_Toolbox(), and refresh().
|
inline |
References update_tools().
Referenced by add_state().
void Dock_Toolbox::set_active_state | ( | const synfig::String & | statename | ) |
References synfigapp::Main::set_state().
Referenced by update_tools().
void Dock_Toolbox::add_state | ( | const Smach::state_base * | state | ) |
Add and connect a toogle button to the toolbox defined by a state.
state | a const pointer to Smach::state_base |
References refresh().
Referenced by studio::StateManager::add_state().
|
friend |