add API to query Gtk::ComboBoxText entries
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / tearoff.h
index 38cc3d2a1a66d5aedfafdcf2a96e24a4c2673123..f6742ea5d619080b32c09ac407325b295832e0ce 100644 (file)
 #include <gtkmm/box.h>
 #include <gtkmm/eventbox.h>
 
+#include "gtkmm2ext/visibility.h"
+
 class XMLNode;
 
 namespace Gtkmm2ext {
 
-class TearOff : public Gtk::HBox
+class LIBGTKMM2EXT_API TearOff : public Gtk::HBox
 {
   public:
        TearOff (Gtk::Widget& contents, bool allow_resize = false);
@@ -38,6 +40,7 @@ class TearOff : public Gtk::HBox
        void set_visible (bool yn, bool force = false);
        void set_can_be_torn_off (bool);
        bool can_be_torn_off () const { return _can_be_torn_off; }
+       bool visible () const { return _visible; }
 
        sigc::signal<void> Detach;
        sigc::signal<void> Attach;