Pane(tile) manager for views.
Creates a new instance of PaneView and makes it a child of another View("parent") PaneView instance automatically follows size on parent View.
parent |
The instance of View new PaneView will become a child of. |
orientation |
\horizontal or \vertical |
orientation |
\horizontal or \vertical |
num_of_panes |
number of panes to create (default:2) |
partition |
\equal(default) or array(size of num_of_panes) of relative sizes (eg. [1,3,1]) |
handle_size |
size in pixels of inter-pane space (default:10) |
handle_line_size |
size in pixels of inter-pane visual guide line (default:2) |
handle_line_color |
color of inter-pane visual guide line (default: Color.gray(0.5)) returns: An PaneView |
Shortcut - creates vertical PaneView from a list of children
children |
List of Layouts/Views-derived instances. returns: An PaneView |
Shortcut - creates horizontal PaneView from a list of children
children |
List of Layouts/Views-derived instances. returns: An PaneView |
returns instance of View which holds panes
returns instance of View which holds panes
returns array of panes (instances of View)
returns array of inter-pane spaces (instances of View)