diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 15:48:00 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 15:48:00 +0000 |
commit | 81b5814098882f6f3830a3f38b3a59d86c708aee (patch) | |
tree | 1c7c1a75ec60eaf8d1512157c0f131f9b7638fab | |
parent | 50aee542192e98016d44aa3f11f40bbe2e8367f6 (diff) |
add visible() method to Tearoff so we can check whether or not it is hidden
git-svn-id: svn://localhost/ardour2/branches/3.0@10935 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/tearoff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/tearoff.h b/libs/gtkmm2ext/gtkmm2ext/tearoff.h index 38cc3d2a1a..7f4358c154 100644 --- a/libs/gtkmm2ext/gtkmm2ext/tearoff.h +++ b/libs/gtkmm2ext/gtkmm2ext/tearoff.h @@ -38,6 +38,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; |