phoenix_title 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 Class Hierarchy

Inheritance diagram for class PGEditorDialogAdapter:

method_summary Methods Summary

__init__

DoShowDialog

GetValue

This method is typically only used if deriving class from existing adapter with value conversion purposes.

SetValue

ShowDialog


property_summary Properties Summary

Value

See GetValue and SetValue

m_clientData

A public C++ attribute of type ````.


api Class API

class wx.propgrid.PGEditorDialogAdapter(Object)

Possible constructors:

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.


Methods

__init__(self)


DoShowDialog(self, propGrid, property)
Parameters:
Return type:

bool



GetValue(self)

This method is typically only used if deriving class from existing adapter with value conversion purposes.

Return type:

PGVariant



SetValue(self, value)
Parameters:

value (PGVariant) –



ShowDialog(self, propGrid, property)
Parameters:
Return type:

bool


Properties

Value

See GetValue and SetValue



m_clientData

A public C++ attribute of type ````.