summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkmm2ext
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-07-22 15:22:23 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:22 -0500
commitfd938d95bfd37f2ae428938c8efee55e9196fd4f (patch)
treede0e084c964f46e13f8442d59a77e7ab88ef40a6 /libs/gtkmm2ext/gtkmm2ext
parent73a22be077413f47258994db06c9e17e1572976c (diff)
change/extend Tabbable API to allow for show/hide/attach/detach
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/tabbable.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/tabbable.h b/libs/gtkmm2ext/gtkmm2ext/tabbable.h
index 9d3a66adcb..e47c94f095 100644
--- a/libs/gtkmm2ext/gtkmm2ext/tabbable.h
+++ b/libs/gtkmm2ext/gtkmm2ext/tabbable.h
@@ -46,6 +46,9 @@ class LIBGTKMM2EXT_API Tabbable : public WindowProxy {
void add_to_notebook (Gtk::Notebook& notebook, const std::string& tab_title);
void make_visible ();
+ void make_invisible ();
+ void attach ();
+ void detach ();
Gtk::Widget& contents() const { return _contents; }
@@ -56,6 +59,8 @@ class LIBGTKMM2EXT_API Tabbable : public WindowProxy {
bool has_own_window () const;
bool is_tabbed () const;
+ void set_allow_hide (bool);
+
virtual void show_window ();
bool window_visible ();
@@ -83,9 +88,12 @@ class LIBGTKMM2EXT_API Tabbable : public WindowProxy {
CairoIcon tab_close_image;
void show_tab ();
+ void hide_tab ();
void tab_close_clicked ();
+ void show_own_window (bool and_pack_it);
};
+
}
#endif