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

#include <dockbook.h>

Public Member Functions

 DockBook ()
 ~DockBook ()
sigc::signal< void > & signal_empty ()
sigc::signal< void > & signal_changed ()
void add (Dockable &dockable, int position=-1)
void remove (Dockable &dockable)
void present ()
void clear ()
synfig::String get_local_contents () const
synfig::String get_contents () const
void set_contents (const synfig::String &x)
void refresh_tabs_headers ()
void refresh_tab (Dockable *)
bool tab_button_pressed (GdkEventButton *event, Dockable *dockable)
void on_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int, int, const Gtk::SelectionData &selection_data, guint, guint time)
void on_switch_page (Gtk::Widget *page, guint page_num)

Public Attributes

bool allow_empty

Friends

class DockManager
class Dockable

Constructor & Destructor Documentation

DockBook::DockBook ( )
DockBook::~DockBook ( )

References clear().

Member Function Documentation

sigc::signal<void>& studio::DockBook::signal_empty ( )
inline

Referenced by remove().

sigc::signal<void>& studio::DockBook::signal_changed ( )
inline
void DockBook::add ( Dockable dockable,
int  position = -1 
)
void DockBook::remove ( Dockable dockable)

References signal_empty().

void DockBook::present ( )
void DockBook::clear ( )

Referenced by ~DockBook().

synfig::String DockBook::get_local_contents ( ) const
synfig::String DockBook::get_contents ( ) const
void DockBook::set_contents ( const synfig::String &  x)

References add(), and studio::App::dock_manager.

void studio::DockBook::refresh_tabs_headers ( )
void DockBook::refresh_tab ( Dockable dockable)
bool DockBook::tab_button_pressed ( GdkEventButton *  event,
Dockable dockable 
)
void DockBook::on_drag_data_received ( const Glib::RefPtr< Gdk::DragContext > &  context,
int  ,
int  ,
const Gtk::SelectionData &  selection_data,
guint  ,
guint  time 
)

References add().

void DockBook::on_switch_page ( Gtk::Widget *  page,
guint  page_num 
)

Overide the default handler of the signal Gtk::Notebook::signal_switch_page(). to do some extra work in case of CanvasView Dockable type

See Also
App::set_selected_canvas_view

References studio::App::get_selected_canvas_view(), and studio::App::set_selected_canvas_view().

Friends And Related Function Documentation

friend class DockManager
friend
friend class Dockable
friend

Member Data Documentation

bool studio::DockBook::allow_empty

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