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

#include <dockmanager.h>

Public Member Functions

 DockManager ()
 ~DockManager ()
DockDialogfind_dock_dialog (int id)
const DockDialogfind_dock_dialog (int id) const
sigc::signal< void, Dockable * > & signal_dockable_registered ()
 Connect to that signal to get the info a dock has been registred.
sigc::signal< void, Dockable * > & signal_dockable_unregistered ()
 Connect to that signal to get the info that a dock has been unregistred.
void register_dockable (Dockable &x)
bool unregister_dockable (Dockable &x)
Dockablefind_dockable (const synfig::String &x)
void present (synfig::String x)
void show_all_dock_dialogs ()
std::string save_widget_to_string (Gtk::Widget *widget)
Gtk::Widget * load_widget_from_string (const std::string &x)
std::string save_layout_to_string ()
void load_layout_from_string (const std::string &x)
void update_window_titles ()

Static Public Member Functions

static std::string layout_from_template (const std::string &tpl, float dx, float dy, float sx, float sy)
static bool swap_widgets (Gtk::Widget &widget1, Gtk::Widget &widget2)
static void remove_widget_recursive (Gtk::Widget &widget)
static void remove_widget_by_pointer_recursive (Gtk::Widget *widget)
static void remove_empty_container_recursive (Gtk::Container &container)
static void remove_empty_container_by_pointer_recursive (Gtk::Container *container)
static bool add_widget (Gtk::Widget &dest_widget, Gtk::Widget &src_widget, bool vertical, bool first)
static bool add_dockable (Gtk::Widget &dest_widget, Dockable &dockable, bool vertical, bool first)

Friends

class Dockable
class DockBook
class DockDialog
class DockSettings

Constructor & Destructor Documentation

DockManager::DockManager ( )
DockManager::~DockManager ( )

Member Function Documentation

DockDialog & DockManager::find_dock_dialog ( int  id)

References DockDialog.

const DockDialog & DockManager::find_dock_dialog ( int  id) const
sigc::signal<void,Dockable*>& studio::DockManager::signal_dockable_registered ( )
inline

Connect to that signal to get the info a dock has been registred.

See Also
studio::DockManager::register_dockable

Referenced by register_dockable().

sigc::signal<void,Dockable*>& studio::DockManager::signal_dockable_unregistered ( )
inline

Connect to that signal to get the info that a dock has been unregistred.

See Also
studio::DockManager::unregister_dockable

Referenced by unregister_dockable().

void DockManager::register_dockable ( Dockable x)
bool DockManager::unregister_dockable ( Dockable x)
Dockable & DockManager::find_dockable ( const synfig::String &  x)

Referenced by present().

void DockManager::present ( synfig::String  x)
void DockManager::show_all_dock_dialogs ( )
std::string DockManager::save_widget_to_string ( Gtk::Widget *  widget)
Gtk::Widget * DockManager::load_widget_from_string ( const std::string &  x)
std::string DockManager::save_layout_to_string ( )
void DockManager::load_layout_from_string ( const std::string &  x)
void DockManager::update_window_titles ( )
std::string DockManager::layout_from_template ( const std::string &  tpl,
float  dx,
float  dy,
float  sx,
float  sy 
)
static
bool DockManager::swap_widgets ( Gtk::Widget &  widget1,
Gtk::Widget &  widget2 
)
static

Referenced by add_widget().

void DockManager::remove_widget_recursive ( Gtk::Widget &  widget)
static
static void studio::DockManager::remove_widget_by_pointer_recursive ( Gtk::Widget *  widget)
inlinestatic
void DockManager::remove_empty_container_recursive ( Gtk::Container &  container)
static
static void studio::DockManager::remove_empty_container_by_pointer_recursive ( Gtk::Container *  container)
inlinestatic
bool DockManager::add_widget ( Gtk::Widget &  dest_widget,
Gtk::Widget &  src_widget,
bool  vertical,
bool  first 
)
static

References remove_widget_recursive(), and swap_widgets().

Referenced by add_dockable().

bool DockManager::add_dockable ( Gtk::Widget &  dest_widget,
Dockable dockable,
bool  vertical,
bool  first 
)
static

Friends And Related Function Documentation

friend class Dockable
friend
friend class DockBook
friend

Referenced by add_dockable().

friend class DockDialog
friend

Referenced by find_dock_dialog().

friend class DockSettings
friend

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