NAME

Padre::Wx::Dialog

METHODS

new

build_layout

 $dialog->build_layout(
	layout          => $layout,
	width           => $width,
	top             => $top
	left            => $left, 
	element_spacing => $element_spacing,
	);
 

The layout is reference to a two dimensional array. Every element (an array) represents one line in the dialog.

Every element in the internal array is an array that describes a widget.

The first value in each widget description is the type of the widget.

The second value is an identifyer (or undef if we don't need any access to the widget).

The widget will be accessible form the dialog object using $dialog->{_widgets}{identifyer}

The rest of the values in the array depend on the widget.

Supported widgets and their parameters:

Wx::StaticText
3.: "the text",
Wx::Button
3.: button type (stock item such as Wx::wxID_OK or string "&do this")
Wx::DirPickerCtrl
3. default directory (must be '')  ???
4. title to show on the directory browser 
Wx::TextCtrl
3. default value, if any
Wx::Treebook
3. array ref for list of values