diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-13 09:52:54 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-13 09:52:54 -0400 |
commit | 9142d1edf588136f98edb0ce145a9dd76e898f5b (patch) | |
tree | 89ddf23a947b6caaf9e5fcc2b20864f94602373f /libs/gtkmm2ext/gtkmm2ext | |
parent | ceb0bce971026944d4cc2cc900acab7b4f68c57e (diff) |
working version of pane position mgmt for OS X
Diffstat (limited to 'libs/gtkmm2ext/gtkmm2ext')
-rw-r--r-- | libs/gtkmm2ext/gtkmm2ext/pane.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/pane.h b/libs/gtkmm2ext/gtkmm2ext/pane.h index 2fa35eb3a5..dfe2ef7ffe 100644 --- a/libs/gtkmm2ext/gtkmm2ext/pane.h +++ b/libs/gtkmm2ext/gtkmm2ext/pane.h @@ -64,6 +64,8 @@ class LIBGTKMM2EXT_API Pane : public Gtk::Container GType child_type_vfunc() const; void set_drag_cursor (Gdk::Cursor); + void set_check_divider_position (bool); + protected: bool horizontal; @@ -101,8 +103,11 @@ class LIBGTKMM2EXT_API Pane : public Gtk::Container typedef std::list<Divider*> Dividers; Dividers dividers; int divider_width; + bool check_fract; + void add_divider (); void handle_child_visibility (); + bool fract_is_ok (Dividers::size_type, float fract); }; class LIBGTKMM2EXT_API HPane : public Pane |