Picker Controls

Picker Controls
Controls for picking different types of data, along with a separate text control.

Functions/Procedures
Subtopics

Picker Controls

[func]
get_filedirpicker_event_path
( atom event )

Category: Picker Controls

Works for both wxFilePickerCtrl and wxDirPickerCtrl


Picker Controls

[func]
get_pickerctrl_proportion
( atom picker )

Category: Picker Controls

Returns the proportion value of the picker.


Picker Controls

[func]
get_picker_internal_margin
( atom picker )

Category: Picker Controls

Returns the margin (in pixel) between the picker and the text control. This function can be used only when picker_has_textctrl returns true.


Picker Controls

[func]
get_picker_textctrl
( atom picker )

Category: Picker Controls

Returns a pointer to the text control handled by this window or NULL if the wxPB_USE_TEXTCTRL style was not specified when this control was created. Very important: the contents of the text control could be containing an invalid representation of the entity which can be chosen through the picker (e.g. the user entered an invalid colour syntax because of a typo). Thus you should never parse the content of the textctrl to get the user's input; rather use the derived-class getter (e.g. get_picker_color, get_filepicker_path, etc).


Picker Controls

[func]
get_picker_textctrl_proportion
( atom picker )

Category: Picker Controls

Returns the margin (in pixel) between the picker and the text control. This function can be used only when picker_has_textctrl returns true.


Picker Controls

[func]
picker_has_textctrl
( atom picker )

Category: Picker Controls

Returns true if this window has a valid text control (i.e. if the wxPB_USE_TEXTCTRL style was given when creating this control).


Picker Controls

[func]
picker_is_pickerctrl_growable
( atom picker )

Category: Picker Controls

Returns true if the picker control is growable.


Picker Controls

[func]
picker_is_textctrl_growable
( atom picker )

Category: Picker Controls

Returns true if the text control is growable. This function can be used only when picker_has_textctrl returns true.


Picker Controls

[proc]
set_pickerctrl_growable
( atom picker, atom grow )

Category: Picker Controls

Sets the picker control as growable when grow is true.


Picker Controls

[proc]
set_pickerctrl_proportion
( atom picker, atom prop )

Category: Picker Controls


Picker Controls

[proc]
set_picker_internal_margin
( atom picker, atom margin )

Category: Picker Controls

Sets the margin (in pixel) between the picker and the text control. This function can be used only when picker_has_textctrl returns true.


Picker Controls

[proc]
set_picker_textctrl_growable
( atom picker, atom grow )

Category: Picker Controls

Sets the text control as growable when grow is true. This function can be used only when picker_has_textctrl returns true.


Picker Controls

[proc]
set_picker_textctrl_proportion
( atom picker, atom prop )

Category: Picker Controls

Sets the proportion value of the text control. Look at the overview of wxPickerBase for more details about this. This function can be used only when picker_has_textctrl returns true.