phoenix_title wx.propgrid.PGArrayEditorDialog


class_hierarchy Class Hierarchy

Inheritance diagram for class PGArrayEditorDialog:

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

Returns True if array was actually modified.

OnCustomNewAction

SetDialogValue

Set value modified by dialog.

SetNewButtonText

Sets tooltip text for button allowing the user to enter new string.


api Class API

class wx.propgrid.PGArrayEditorDialog(Dialog)

Possible constructors:

PGArrayEditorDialog()

Methods

__init__(self)


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)

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) –



SetNewButtonText(self, text)

Sets tooltip text for button allowing the user to enter new string.

Parameters

text (string) –

New in version 4.1/wxWidgets-3.1.3.


Properties

DialogValue

See GetDialogValue and SetDialogValue



Selection

See GetSelection



TextCtrlValidator

See GetTextCtrlValidator