phoenix_title wx.propgrid.PGArrayEditorDialog


class_hierarchy Class Hierarchy

Inheritance diagram for class PGArrayEditorDialog:

sub_classes Known Subclasses

wx.propgrid.PGArrayStringEditorDialog


method_summary Methods Summary

__init__

ArrayGet

ArrayGetCount

ArrayInsert

ArrayRemoveAt

ArraySet

ArraySwap

Create

EnableCustomNewAction

GetClassDefaultAttributes

GetDialogValue

Return value modified by dialog.

GetSelection

GetTextCtrlValidator

Override to return wx.Validator to be used with the wx.TextCtrl in dialog.

Init

IsModified

OnCustomNewAction

SetDialogValue

Set value modified by dialog.


property_summary Properties Summary

DialogValue

See GetDialogValue and SetDialogValue

Selection

See GetSelection

TextCtrlValidator

See GetTextCtrlValidator


api Class API

class wx.propgrid.PGArrayEditorDialog(Dialog)

Possible constructors:

PGArrayEditorDialog()

PGArrayEditorDialog(parent, message, caption, style=AEDIALOG_STYLE,
                    pos=DefaultPosition, sz=DefaultSize)
__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, parent, message, caption, style=AEDIALOG_STYLE, pos=DefaultPosition, sz=DefaultSize)

Parameters



ArrayGet(self, index)
Parameters

index (int) –

Return type

string

ArrayGetCount(self)
Return type

int

ArrayInsert(self, str, index)
Parameters
  • str (string) –

  • index (int) –

Return type

bool

ArrayRemoveAt(self, index)
Parameters

index (int) –

ArraySet(self, index, str)
Parameters
  • index (int) –

  • str (string) –

Return type

bool

ArraySwap(self, first, second)
Parameters
  • first (int) –

  • second (int) –

Create(self, parent, message, caption, style=AEDIALOG_STYLE, pos=DefaultPosition, sz=DefaultSize)
Parameters
Return type

bool

EnableCustomNewAction(self)
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)
IsModified(self)
Return type

bool

OnCustomNewAction(self, resString)
Parameters

resString (string) –

Return type

bool

SetDialogValue(self, value)

Set value modified by dialog.

Parameters

value (PGVariant) –

DialogValue

See GetDialogValue and SetDialogValue

Selection

See GetSelection

TextCtrlValidator

See GetTextCtrlValidator