wx.propgrid.PGEditorDialogAdapter¶Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed.
You only need to derive class and implement DoShowDialog to create and show the dialog, and finally submit the value returned by the dialog via SetValue.
Class Hierarchy¶
Inheritance diagram for class PGEditorDialogAdapter:
Methods Summary¶This method is typically only used if deriving class from existing adapter with value conversion purposes. |
|
Properties Summary¶
Class API¶wx.propgrid.PGEditorDialogAdapter(Object)¶Possible constructors:
PGEditorDialogAdapter() -> None
Derive a class from this to adapt an existing editor dialog or function to be used when editor button of a property is pushed.
__init__(self)¶None
DoShowDialog(self, propGrid : PropertyGrid, property : PGProperty)¶propGrid (wx.propgrid.PropertyGrid) –
property (wx.propgrid.PGProperty) –
bool
GetValue(self)¶This method is typically only used if deriving class from existing adapter with value conversion purposes.
PGVariant
SetValue(self, value : PGVariant)¶value (PGVariant) –
None
ShowDialog(self, propGrid : PropertyGrid, property : PGProperty)¶propGrid (wx.propgrid.PropertyGrid) –
property (wx.propgrid.PGProperty) –
bool