GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.PickerBase — wxPython 4.3.2 Docs
|
Returns the margin (in pixel) between the picker and the text control. |
|
Returns the native implementation of the real picker control. |
|
Returns the proportion value of the picker. |
|
Returns a pointer to the text control handled by this window or nullptr if the |
|
Returns the proportion value of the text control. |
|
Returns |
|
Returns |
|
Returns |
|
Sets the margin (in pixel) between the picker and the text control. |
|
Sets the picker control as growable when |
|
Sets the proportion value of the picker. |
|
Sets the text control as growable when |
|
Sets the proportion value of the text control. |
|
Properties Summary¶See |
|
See |
|
See |
|
Class API¶Possible constructors:
PickerBase() -> None
Base abstract class for all pickers which support an auxiliary text control.
None
parent (wx.Window)
id (wx.WindowID)
text (string)
pos (wx.Point)
size (wx.Size)
style (long)
validator (wx.Validator)
name (string)
bool
Returns the margin (in pixel) between the picker and the text control.
This function can be used only when HasTextCtrl returns True.
int
Returns the native implementation of the real picker control.
Note
The returned control in the generic implementation of wx.FilePickerCtrl, wx.DirPickerCtrl, wx.FontPickerCtrl and wx.ColourPickerCtrl is a specialized wx.Button class so that you can change its label doing, e.g.:
if wx.Platform == '__WXMSW__': # wxMSW is one of the platforms where the generic implementation # of wx.FilePickerCtrl is used... pButt = myFilePickerCtrl.GetPickerCtrl() if pButt is not None: pButt.SetLabel('Custom browse string')
Returns the proportion value of the picker.
int
style (long)
int
Returns a pointer to the text control handled by this window or nullptr if the PB_USE_TEXTCTRL style was not specified when this control was created.
Note
The contents of the text control could be an invalid representation of the entity which can be chosen through the picker (e.g. when the user enters 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. wx.ColourPickerCtrl.GetColour , wx.FilePickerCtrl.GetPath , etc).
Returns the proportion value of the text control.
This function can be used only when HasTextCtrl returns True.
int
style (long)
int
Returns True if this window has a valid text control (i.e. if the PB_USE_TEXTCTRL style was given when creating this control).
bool
Returns True if the picker control is growable.
bool
Returns True if the text control is growable.
This function can be used only when HasTextCtrl returns True.
bool
None
Sets the margin (in pixel) between the picker and the text control.
This function can be used only when HasTextCtrl returns True.
margin (int)
None
Sets the picker control as growable when grow is True.
grow (bool)
None
Sets the proportion value of the picker.
Look at the detailed description of wx.PickerBase for more info.
prop (int)
None
Sets the text control as growable when grow is True.
This function can be used only when HasTextCtrl returns True.
grow (bool)
None
Sets the proportion value of the text control.
Look at the detailed description of wx.PickerBase for more info.
This function can be used only when HasTextCtrl returns True.
prop (int)
None
None
None
See GetInternalMargin and SetInternalMargin
See GetPickerCtrl
See GetTextCtrl