X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdockable.h;h=7361562faf521de29b16b6070870365dfee647bf;hb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;hp=d4be6ee85710f083236001a7bfbf3a2dd93e7d7c;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dockable.h b/synfig-studio/trunk/src/gtkmm/dockable.h index d4be6ee..7361562 100644 --- a/synfig-studio/trunk/src/gtkmm/dockable.h +++ b/synfig-studio/trunk/src/gtkmm/dockable.h @@ -48,20 +48,20 @@ /* === C L A S S E S & S T R U C T S ======================================= */ namespace studio { - + class DockManager; class DockBook; - + class Dockable : public Gtk::Table { friend class DockManager; friend class DockBook; - + sigc::signal signal_stock_id_changed_; SigC::Connection prev_widget_delete_connection; protected: - + // DialogSettings dialog_settings; @@ -77,13 +77,13 @@ private: //Gtk::HBox button_box_; Gtk::HBox header_box_; //Gtk::VBox vbox_; - + //Gtk::HandleBox handle_box_; Gtk::ScrolledWindow *scrolled_; Gtk::Widget *prev_widget_; bool use_scrolled_; - + Gtk::StockID stock_id_; DockBook* parent_; @@ -96,7 +96,7 @@ public: void set_toolbar(Gtk::Toolbar& toolbar); void set_use_scrolled(bool x) { use_scrolled_=x; } - + Dockable(const synfig::String& name,const synfig::String& local_name,Gtk::StockID stock_id_=Gtk::StockID(" ")); ~Dockable(); @@ -107,31 +107,31 @@ public: const Gtk::StockID& get_stock_id()const { return stock_id_; } void set_stock_id(Gtk::StockID x) { stock_id_=x; signal_stock_id_changed()(); } - + void set_local_name(const synfig::String&); void clear(); - + Gtk::Tooltips& get_tooltips() { return tooltips_; } - + //DialogSettings& settings() { return dialog_settings; } //const DialogSettings& settings()const { return dialog_settings; } - + void add(Gtk::Widget& x); - - Gtk::ToolButton* add_button(const Gtk::StockID& stock_id, const synfig::String& tooltip=synfig::String()); - + + Gtk::ToolButton* add_button(const Gtk::StockID& stock_id, const synfig::String& tooltip=synfig::String()); + void detach(); void present(); - + void attach_dnd_to(Gtk::Widget& widget); bool clear_previous(); virtual Gtk::Widget* create_tab_label(); private: - + void on_drag_data_get(const Glib::RefPtr&, Gtk::SelectionData& selection_data, guint info, guint time); void on_drag_end(const Glib::RefPtr&context); void on_drag_begin(const Glib::RefPtr&context);