synfig-studio  1.0.3
Public Member Functions | Friends | List of all members
studio::Dock_Toolbox Class Reference

#include <dock_toolbox.h>

Inheritance diagram for studio::Dock_Toolbox:
studio::Dockable

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

Constructor & Destructor Documentation

Dock_Toolbox::Dock_Toolbox ( )
Dock_Toolbox::~Dock_Toolbox ( )
virtual

Member Function Documentation

void Dock_Toolbox::change_state ( const synfig::String &  statename,
bool  force = false 
)
void Dock_Toolbox::update_tools ( )
void studio::Dock_Toolbox::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.

Parameters
statea const pointer to Smach::state_base

References refresh().

Referenced by studio::StateManager::add_state().

Friends And Related Function Documentation

friend class studio::StateManager
friend

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