|
synfig-studio
1.0.3
|
#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 |
| DockBook::DockBook | ( | ) |
| DockBook::~DockBook | ( | ) |
References clear().
|
inline |
Referenced by remove().
|
inline |
| void DockBook::add | ( | Dockable & | dockable, |
| int | position = -1 |
||
| ) |
| void DockBook::remove | ( | Dockable & | dockable | ) |
References signal_empty().
| void DockBook::present | ( | ) |
Referenced by studio::Dockable::present().
| void DockBook::clear | ( | ) |
Referenced by ~DockBook().
| synfig::String DockBook::get_local_contents | ( | ) | const |
References studio::Dockable::get_local_name().
| synfig::String DockBook::get_contents | ( | ) | const |
References studio::Dockable::get_name().
| 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 | ) |
References studio::Dockable::create_tab_label(), and tab_button_pressed().
Referenced by add().
| 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
References studio::App::get_selected_canvas_view(), and studio::App::set_selected_canvas_view().
|
friend |
|
friend |
| bool studio::DockBook::allow_empty |
Referenced by studio::DockManager::remove_empty_container_recursive().
1.8.1.2