#include <Fl_Split.h>
Inheritance diagram for Fl_Split:
Public Methods | |
Fl_Split (int x, int y, int w, int h, const char *l=0) | |
This constructor should be used, when you use the old style widget positioning. | |
Fl_Split (Fl_Widget *_ref_, int layout_size=5) | |
This constructor should be use with the new layout design. More... | |
~Fl_Split () | |
virtual int | handle (int ev) |
void | find_neighbours () |
Creates a list with the neighbouring widget. | |
Static Public Attributes | |
Fl_Named_Style * | default_style |
This widgets is intended to be used, when you're window has a client area and some panels at left/right/top/bottom, and you wan't them to be resizable.
This widgets works both with the new style layouting, and the old style widget positioning.
In the first case you have to give the constructor the panel widget. The Fl_Split widget will than attach itself to that widget, making it resizable.
In the second case you position this widget as it would be a normal one, giving it's x, y coordinates, it's width and height. When it's dragged, it creates a list with all neighbouring widgets (so you must place the other widgets precisely), and changes the their size.
In both cases Fl_Split will block the resizing, when a neighbouring widget (or the attached, or client widget) will have 0 dimensions.
Definition at line 57 of file Fl_Split.h.
|
This constructor should be use with the new layout design.
|