wx.propgrid.PGArrayEditorDialog¶
Class Hierarchy¶
Known Subclasses¶
wx.propgrid.PGArrayStringEditorDialog
Methods Summary¶
Return value modified by dialog. |
|
Override to return wx.Validator to be used with the wx.TextCtrl in dialog. |
|
Returns |
|
Set value modified by dialog. |
|
Sets tooltip text for button allowing the user to enter new string. |
Properties Summary¶
See |
|
See |
|
Class API¶
- class wx.propgrid.PGArrayEditorDialog(Dialog)¶
Possible constructors:
PGArrayEditorDialog() -> None
Methods¶
- __init__(self)¶
- Return type:
None
- ArrayGet(self, index)¶
- Parameters:
index (int)
- Return type:
str
- ArrayGetCount(self)¶
- Return type:
int
- ArrayInsert(self, str, index)¶
- Parameters:
str (string)
index (int)
- Return type:
bool
- ArrayRemoveAt(self, index)¶
- Parameters:
index (int)
- Return type:
None
- ArraySet(self, index, str)¶
- Parameters:
index (int)
str (string)
- Return type:
bool
- ArraySwap(self, first, second)¶
- Parameters:
first (int)
second (int)
- Return type:
None
- Create(self, parent, message, caption, style=AEDIALOG_STYLE, pos=DefaultPosition, sz=DefaultSize)¶
- EnableCustomNewAction(self)¶
- Return type:
None
- static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
- Parameters:
variant (WindowVariant)
- Return type:
VisualAttributes
- GetDialogValue(self)¶
Return value modified by dialog.
- Return type:
PGVariant
- GetSelection(self)¶
- Return type:
int
- GetTextCtrlValidator(self)¶
Override to return wx.Validator to be used with the wx.TextCtrl in dialog.
Note that the validator is used in the standard way, ie. it immediately prevents user from entering invalid input.
- Return type:
Validator
Note
Dialog frees the validator.
- Init(self)¶
- Return type:
None
- IsModified(self)¶
Returns
True
if array was actually modified.- Return type:
bool
- OnCustomNewAction(self, resString)¶
- Parameters:
resString (string)
- Return type:
bool
- SetDialogValue(self, value)¶
Set value modified by dialog.
- Parameters:
value (PGVariant)
- Return type:
None
- SetNewButtonText(self, text)¶
Sets tooltip text for button allowing the user to enter new string.
- Parameters:
text (string)
- Return type:
None
Added in version 4.1/wxWidgets-3.1.3.
Properties¶
- DialogValue¶
See
GetDialogValue
andSetDialogValue
- Selection¶
See
GetSelection
- TextCtrlValidator¶