diff options
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 |