1
# This file was created automatically by SWIG 1.3.29.
2
# Don't modify this file, modify the SWIG interface instead.
5
The `PropertyGrid` provides a specialized grid for editing
6
properties such as strings, numbers, colours, and string lists.
11
new_instancemethod = new.instancemethod
12
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
13
if (name == "thisown"): return self.this.own(value)
15
if type(value).__name__ == 'PySwigObject':
16
self.__dict__[name] = value
18
method = class_type.__swig_setmethods__.get(name,None)
19
if method: return method(self,value)
20
if (not static) or hasattr(self,name):
21
self.__dict__[name] = value
23
raise AttributeError("You cannot add attributes to %s" % self)
25
def _swig_setattr(self,class_type,name,value):
26
return _swig_setattr_nondynamic(self,class_type,name,value,0)
28
def _swig_getattr(self,class_type,name):
29
if (name == "thisown"): return self.this.own()
30
method = class_type.__swig_getmethods__.get(name,None)
31
if method: return method(self)
32
raise AttributeError,name
35
try: strthis = "proxy of " + self.this.__repr__()
37
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
41
_object = types.ObjectType
43
except AttributeError:
49
def _swig_setattr_nondynamic_method(set):
50
def set_attr(self,name,value):
51
if (name == "thisown"): return self.this.own(value)
52
if hasattr(self,name) or (name == "this"):
55
raise AttributeError("You cannot add attributes to %s" % self)
62
__docfilter__ = wx.__DocFilter(globals())
63
PG_XBEFORETEXT = _propgrid.PG_XBEFORETEXT
64
PG_XBEFOREWIDGET = _propgrid.PG_XBEFOREWIDGET
65
PG_TEXTCTRLXADJUST = _propgrid.PG_TEXTCTRLXADJUST
66
PG_ICON_WIDTH = _propgrid.PG_ICON_WIDTH
67
PG_USE_RENDERER_NATIVE = _propgrid.PG_USE_RENDERER_NATIVE
68
PG_SUPPORT_TOOLTIPS = _propgrid.PG_SUPPORT_TOOLTIPS
69
PG_CUSTOM_IMAGE_WIDTH = _propgrid.PG_CUSTOM_IMAGE_WIDTH
70
PG_NO_CHILD_EVT_MOTION = _propgrid.PG_NO_CHILD_EVT_MOTION
71
PG_NAT_BUTTON_BORDER_ANY = _propgrid.PG_NAT_BUTTON_BORDER_ANY
72
PG_NAT_BUTTON_BORDER_X = _propgrid.PG_NAT_BUTTON_BORDER_X
73
PG_NAT_BUTTON_BORDER_Y = _propgrid.PG_NAT_BUTTON_BORDER_Y
74
PG_REFRESH_CONTROLS = _propgrid.PG_REFRESH_CONTROLS
75
PG_CONTROL_MARGIN = _propgrid.PG_CONTROL_MARGIN
76
CC_CUSTOM_IMAGE_MARGIN1 = _propgrid.CC_CUSTOM_IMAGE_MARGIN1
77
CC_CUSTOM_IMAGE_MARGIN2 = _propgrid.CC_CUSTOM_IMAGE_MARGIN2
78
DEFAULT_IMAGE_OFFSET_INCREMENT = _propgrid.DEFAULT_IMAGE_OFFSET_INCREMENT
79
PG_DRAG_MARGIN = _propgrid.PG_DRAG_MARGIN
80
PG_SPLITTERX_DETECTMARGIN1 = _propgrid.PG_SPLITTERX_DETECTMARGIN1
81
PG_SPLITTERX_DETECTMARGIN2 = _propgrid.PG_SPLITTERX_DETECTMARGIN2
82
PG_SMALL_SCREEN = _propgrid.PG_SMALL_SCREEN
83
PG_COMPATIBILITY_1_4 = _propgrid.PG_COMPATIBILITY_1_4
84
PG_INCLUDE_ADVPROPS = _propgrid.PG_INCLUDE_ADVPROPS
85
PG_INCLUDE_CHECKBOX = _propgrid.PG_INCLUDE_CHECKBOX
86
PG_KEEP_STRUCTURE = _propgrid.PG_KEEP_STRUCTURE
87
PG_RECURSE = _propgrid.PG_RECURSE
88
PG_INC_ATTRIBUTES = _propgrid.PG_INC_ATTRIBUTES
89
PG_RECURSE_STARTS = _propgrid.PG_RECURSE_STARTS
90
PG_FORCE = _propgrid.PG_FORCE
91
PG_SORT_TOP_LEVEL_ONLY = _propgrid.PG_SORT_TOP_LEVEL_ONLY
92
PG_DONT_RECURSE = _propgrid.PG_DONT_RECURSE
93
PG_FULL_VALUE = _propgrid.PG_FULL_VALUE
94
PG_REPORT_ERROR = _propgrid.PG_REPORT_ERROR
95
PG_PROPERTY_SPECIFIC = _propgrid.PG_PROPERTY_SPECIFIC
96
PG_EDITABLE_VALUE = _propgrid.PG_EDITABLE_VALUE
97
PG_COMPOSITE_FRAGMENT = _propgrid.PG_COMPOSITE_FRAGMENT
98
PG_UNEDITABLE_COMPOSITE_FRAGMENT = _propgrid.PG_UNEDITABLE_COMPOSITE_FRAGMENT
99
PG_VALUE_IS_CURRENT = _propgrid.PG_VALUE_IS_CURRENT
100
PG_PROGRAMMATIC_VALUE = _propgrid.PG_PROGRAMMATIC_VALUE
101
PG_SETVAL_REFRESH_EDITOR = _propgrid.PG_SETVAL_REFRESH_EDITOR
102
PG_SETVAL_AGGREGATED = _propgrid.PG_SETVAL_AGGREGATED
103
PG_SETVAL_FROM_PARENT = _propgrid.PG_SETVAL_FROM_PARENT
104
PG_SETVAL_BY_USER = _propgrid.PG_SETVAL_BY_USER
105
class PGPaintData(object):
106
"""Proxy of C++ PGPaintData class"""
107
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
108
def __init__(self): raise AttributeError, "No constructor defined"
109
__repr__ = _swig_repr
110
m_parent = property(_propgrid.PGPaintData_m_parent_get, _propgrid.PGPaintData_m_parent_set)
111
m_choiceItem = property(_propgrid.PGPaintData_m_choiceItem_get, _propgrid.PGPaintData_m_choiceItem_set)
112
m_drawnWidth = property(_propgrid.PGPaintData_m_drawnWidth_get, _propgrid.PGPaintData_m_drawnWidth_set)
113
m_drawnHeight = property(_propgrid.PGPaintData_m_drawnHeight_get, _propgrid.PGPaintData_m_drawnHeight_set)
114
_propgrid.PGPaintData_swigregister(PGPaintData)
116
PG_CUSTOM_IMAGE_SPACINGY = _propgrid.PG_CUSTOM_IMAGE_SPACINGY
117
PG_CAPRECTXMARGIN = _propgrid.PG_CAPRECTXMARGIN
118
PG_CAPRECTYMARGIN = _propgrid.PG_CAPRECTYMARGIN
119
class PGCell(_core.Object):
120
"""Proxy of C++ PGCell class"""
121
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
122
__repr__ = _swig_repr
123
def __init__(self, *args):
125
__init__(self) -> PGCell
126
__init__(self, PGCell other) -> PGCell
127
__init__(self, String text, Bitmap bitmap=wxNullBitmap, Colour fgCol=wxNullColour,
128
Colour bgCol=wxNullColour) -> PGCell
130
_propgrid.PGCell_swiginit(self,_propgrid.new_PGCell(*args))
131
__swig_destroy__ = _propgrid.delete_PGCell
132
__del__ = lambda self : None;
138
return _propgrid.PGCell_GetData(*args)
140
def HasText(*args, **kwargs):
141
"""HasText(self) -> bool"""
142
return _propgrid.PGCell_HasText(*args, **kwargs)
144
def SetEmptyData(*args, **kwargs):
145
"""SetEmptyData(self)"""
146
return _propgrid.PGCell_SetEmptyData(*args, **kwargs)
148
def MergeFrom(*args, **kwargs):
149
"""MergeFrom(self, PGCell srcCell)"""
150
return _propgrid.PGCell_MergeFrom(*args, **kwargs)
152
def SetText(*args, **kwargs):
153
"""SetText(self, String text)"""
154
return _propgrid.PGCell_SetText(*args, **kwargs)
156
def SetBitmap(*args, **kwargs):
157
"""SetBitmap(self, Bitmap bitmap)"""
158
return _propgrid.PGCell_SetBitmap(*args, **kwargs)
160
def SetFgCol(*args, **kwargs):
161
"""SetFgCol(self, Colour col)"""
162
return _propgrid.PGCell_SetFgCol(*args, **kwargs)
164
def SetFont(*args, **kwargs):
165
"""SetFont(self, Font font)"""
166
return _propgrid.PGCell_SetFont(*args, **kwargs)
168
def SetBgCol(*args, **kwargs):
169
"""SetBgCol(self, Colour col)"""
170
return _propgrid.PGCell_SetBgCol(*args, **kwargs)
172
def GetText(*args, **kwargs):
173
"""GetText(self) -> String"""
174
return _propgrid.PGCell_GetText(*args, **kwargs)
176
def GetBitmap(*args, **kwargs):
177
"""GetBitmap(self) -> Bitmap"""
178
return _propgrid.PGCell_GetBitmap(*args, **kwargs)
180
def GetFgCol(*args, **kwargs):
181
"""GetFgCol(self) -> Colour"""
182
return _propgrid.PGCell_GetFgCol(*args, **kwargs)
184
def GetFont(*args, **kwargs):
185
"""GetFont(self) -> Font"""
186
return _propgrid.PGCell_GetFont(*args, **kwargs)
188
def GetBgCol(*args, **kwargs):
189
"""GetBgCol(self) -> Colour"""
190
return _propgrid.PGCell_GetBgCol(*args, **kwargs)
192
def IsInvalid(*args, **kwargs):
193
"""IsInvalid(self) -> bool"""
194
return _propgrid.PGCell_IsInvalid(*args, **kwargs)
196
_propgrid.PGCell_swigregister(PGCell)
198
PG_PROP_MODIFIED = _propgrid.PG_PROP_MODIFIED
199
PG_PROP_DISABLED = _propgrid.PG_PROP_DISABLED
200
PG_PROP_HIDDEN = _propgrid.PG_PROP_HIDDEN
201
PG_PROP_CUSTOMIMAGE = _propgrid.PG_PROP_CUSTOMIMAGE
202
PG_PROP_NOEDITOR = _propgrid.PG_PROP_NOEDITOR
203
PG_PROP_COLLAPSED = _propgrid.PG_PROP_COLLAPSED
204
PG_PROP_INVALID_VALUE = _propgrid.PG_PROP_INVALID_VALUE
205
PG_PROP_WAS_MODIFIED = _propgrid.PG_PROP_WAS_MODIFIED
206
PG_PROP_AGGREGATE = _propgrid.PG_PROP_AGGREGATE
207
PG_PROP_CHILDREN_ARE_COPIES = _propgrid.PG_PROP_CHILDREN_ARE_COPIES
208
PG_PROP_PROPERTY = _propgrid.PG_PROP_PROPERTY
209
PG_PROP_CATEGORY = _propgrid.PG_PROP_CATEGORY
210
PG_PROP_MISC_PARENT = _propgrid.PG_PROP_MISC_PARENT
211
PG_PROP_READONLY = _propgrid.PG_PROP_READONLY
212
PG_PROP_COMPOSED_VALUE = _propgrid.PG_PROP_COMPOSED_VALUE
213
PG_PROP_USES_COMMON_VALUE = _propgrid.PG_PROP_USES_COMMON_VALUE
214
PG_PROP_AUTO_UNSPECIFIED = _propgrid.PG_PROP_AUTO_UNSPECIFIED
215
PG_PROP_CLASS_SPECIFIC_1 = _propgrid.PG_PROP_CLASS_SPECIFIC_1
216
PG_PROP_CLASS_SPECIFIC_2 = _propgrid.PG_PROP_CLASS_SPECIFIC_2
217
PG_PROP_BEING_DELETED = _propgrid.PG_PROP_BEING_DELETED
218
class PGChoices(object):
219
"""Proxy of C++ PGChoices class"""
220
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
221
__repr__ = _swig_repr
222
def __init__(self, *args):
224
__init__(self) -> PGChoices
225
__init__(self, PGChoices a) -> PGChoices
226
__init__(self, wxChar labels, long values=None) -> PGChoices
227
__init__(self, wxArrayString labels, wxArrayInt values=wxArrayInt()) -> PGChoices
228
__init__(self, data) -> PGChoices
230
_propgrid.PGChoices_swiginit(self,_propgrid.new_PGChoices(*args))
231
__swig_destroy__ = _propgrid.delete_PGChoices
232
__del__ = lambda self : None;
235
Add(self, wxChar labels, ValArrItem values=None)
236
Add(self, wxArrayString arr, wxArrayInt arrint=wxArrayInt())
237
Add(self, String label, int value=INT_MAX)
238
Add(self, String label, Bitmap bitmap, int value=INT_MAX)
241
return _propgrid.PGChoices_Add(*args)
243
def AddAsSorted(*args, **kwargs):
244
"""AddAsSorted(self, String label, int value=INT_MAX)"""
245
return _propgrid.PGChoices_AddAsSorted(*args, **kwargs)
247
def Assign(*args, **kwargs):
248
"""Assign(self, PGChoices a)"""
249
return _propgrid.PGChoices_Assign(*args, **kwargs)
251
def AssignData(*args, **kwargs):
252
"""AssignData(self, data)"""
253
return _propgrid.PGChoices_AssignData(*args, **kwargs)
255
def Clear(*args, **kwargs):
257
return _propgrid.PGChoices_Clear(*args, **kwargs)
259
def Copy(*args, **kwargs):
260
"""Copy(self) -> PGChoices"""
261
return _propgrid.PGChoices_Copy(*args, **kwargs)
263
def EnsureData(*args, **kwargs):
264
"""EnsureData(self)"""
265
return _propgrid.PGChoices_EnsureData(*args, **kwargs)
267
def GetId(*args, **kwargs):
268
"""GetId(self) -> PGChoicesId"""
269
return _propgrid.PGChoices_GetId(*args, **kwargs)
271
def GetLabel(*args, **kwargs):
272
"""GetLabel(self, int ind) -> String"""
273
return _propgrid.PGChoices_GetLabel(*args, **kwargs)
275
def GetCount(*args, **kwargs):
276
"""GetCount(self) -> int"""
277
return _propgrid.PGChoices_GetCount(*args, **kwargs)
279
def GetValue(*args, **kwargs):
280
"""GetValue(self, int ind) -> int"""
281
return _propgrid.PGChoices_GetValue(*args, **kwargs)
283
def GetValuesForStrings(*args, **kwargs):
284
"""GetValuesForStrings(self, wxArrayString strings) -> wxArrayInt"""
285
return _propgrid.PGChoices_GetValuesForStrings(*args, **kwargs)
287
def GetIndicesForStrings(*args, **kwargs):
288
"""GetIndicesForStrings(self, wxArrayString strings, wxArrayString unmatched=None) -> wxArrayInt"""
289
return _propgrid.PGChoices_GetIndicesForStrings(*args, **kwargs)
293
Index(self, String str) -> int
294
Index(self, int val) -> int
296
return _propgrid.PGChoices_Index(*args)
300
Insert(self, String label, int index, int value=INT_MAX)
301
Insert(self, entry, int index)
303
return _propgrid.PGChoices_Insert(*args)
305
def IsOk(*args, **kwargs):
306
"""IsOk(self) -> bool"""
307
return _propgrid.PGChoices_IsOk(*args, **kwargs)
314
return _propgrid.PGChoices_Item(*args)
316
def RemoveAt(*args, **kwargs):
317
"""RemoveAt(self, size_t nIndex, size_t count=1)"""
318
return _propgrid.PGChoices_RemoveAt(*args, **kwargs)
322
Set(self, wxChar labels, long values=None)
323
Set(self, wxArrayString labels, wxArrayInt values=wxArrayInt())
325
return _propgrid.PGChoices_Set(*args)
327
def AllocExclusive(*args, **kwargs):
328
"""AllocExclusive(self)"""
329
return _propgrid.PGChoices_AllocExclusive(*args, **kwargs)
331
def GetData(*args, **kwargs):
333
return _propgrid.PGChoices_GetData(*args, **kwargs)
335
def GetDataPtr(*args, **kwargs):
336
"""GetDataPtr(self)"""
337
return _propgrid.PGChoices_GetDataPtr(*args, **kwargs)
339
def ExtractData(*args, **kwargs):
340
"""ExtractData(self)"""
341
return _propgrid.PGChoices_ExtractData(*args, **kwargs)
343
def GetLabels(*args, **kwargs):
344
"""GetLabels(self) -> wxArrayString"""
345
return _propgrid.PGChoices_GetLabels(*args, **kwargs)
347
_propgrid.PGChoices_swigregister(PGChoices)
349
class PGProperty(_core.Object):
350
"""Proxy of C++ PGProperty class"""
351
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
352
__repr__ = _swig_repr
353
def __init__(self, *args):
355
__init__(self) -> PGProperty
356
__init__(self, String label, String name) -> PGProperty
358
_propgrid.PGProperty_swiginit(self,_propgrid.new_PGProperty(*args))
359
__swig_destroy__ = _propgrid.delete_PGProperty
360
__del__ = lambda self : None;
361
def OnSetValue(*args, **kwargs):
362
"""OnSetValue(self)"""
363
return _propgrid.PGProperty_OnSetValue(*args, **kwargs)
365
def DoGetValue(*args, **kwargs):
366
"""DoGetValue(self) -> wxVariant"""
367
return _propgrid.PGProperty_DoGetValue(*args, **kwargs)
369
def ValueToString(*args, **kwargs):
370
"""ValueToString(self, wxVariant value, int argFlags=0) -> String"""
371
return _propgrid.PGProperty_ValueToString(*args, **kwargs)
373
def SetValueFromString(*args, **kwargs):
374
"""SetValueFromString(self, String text, int flags=PG_PROGRAMMATIC_VALUE) -> bool"""
375
return _propgrid.PGProperty_SetValueFromString(*args, **kwargs)
377
def SetValueFromInt(*args, **kwargs):
378
"""SetValueFromInt(self, long value, int flags=0) -> bool"""
379
return _propgrid.PGProperty_SetValueFromInt(*args, **kwargs)
381
def OnMeasureImage(*args, **kwargs):
382
"""OnMeasureImage(self, int item=-1) -> Size"""
383
return _propgrid.PGProperty_OnMeasureImage(*args, **kwargs)
385
def OnEvent(*args, **kwargs):
386
"""OnEvent(self, PropertyGrid propgrid, Window wnd_primary, Event event) -> bool"""
387
return _propgrid.PGProperty_OnEvent(*args, **kwargs)
389
def ChildChanged(*args, **kwargs):
390
"""ChildChanged(self, wxVariant thisValue, int childIndex, wxVariant childValue) -> wxVariant"""
391
return _propgrid.PGProperty_ChildChanged(*args, **kwargs)
393
def DoGetEditorClass(*args, **kwargs):
394
"""DoGetEditorClass(self) -> PGEditor"""
395
return _propgrid.PGProperty_DoGetEditorClass(*args, **kwargs)
397
def DoGetValidator(*args, **kwargs):
398
"""DoGetValidator(self) -> Validator"""
399
return _propgrid.PGProperty_DoGetValidator(*args, **kwargs)
401
def OnCustomPaint(*args, **kwargs):
402
"""OnCustomPaint(self, DC dc, Rect rect, PGPaintData paintdata)"""
403
return _propgrid.PGProperty_OnCustomPaint(*args, **kwargs)
405
def GetCellRenderer(*args, **kwargs):
406
"""GetCellRenderer(self, int column)"""
407
return _propgrid.PGProperty_GetCellRenderer(*args, **kwargs)
409
def GetChoiceSelection(*args, **kwargs):
410
"""GetChoiceSelection(self) -> int"""
411
return _propgrid.PGProperty_GetChoiceSelection(*args, **kwargs)
413
def RefreshChildren(*args, **kwargs):
414
"""RefreshChildren(self)"""
415
return _propgrid.PGProperty_RefreshChildren(*args, **kwargs)
417
def DoSetAttribute(*args, **kwargs):
418
"""DoSetAttribute(self, String name, wxVariant value) -> bool"""
419
return _propgrid.PGProperty_DoSetAttribute(*args, **kwargs)
421
def DoGetAttribute(*args, **kwargs):
422
"""DoGetAttribute(self, String name) -> wxVariant"""
423
return _propgrid.PGProperty_DoGetAttribute(*args, **kwargs)
425
def GetEditorDialog(*args, **kwargs):
426
"""GetEditorDialog(self) -> PGEditorDialogAdapter"""
427
return _propgrid.PGProperty_GetEditorDialog(*args, **kwargs)
429
def OnValidationFailure(*args, **kwargs):
430
"""OnValidationFailure(self, wxVariant pendingValue)"""
431
return _propgrid.PGProperty_OnValidationFailure(*args, **kwargs)
433
def AddChoice(*args, **kwargs):
434
"""AddChoice(self, String label, int value=INT_MAX) -> int"""
435
return _propgrid.PGProperty_AddChoice(*args, **kwargs)
437
def AreChildrenComponents(*args, **kwargs):
438
"""AreChildrenComponents(self) -> bool"""
439
return _propgrid.PGProperty_AreChildrenComponents(*args, **kwargs)
441
def DeleteChildren(*args, **kwargs):
442
"""DeleteChildren(self)"""
443
return _propgrid.PGProperty_DeleteChildren(*args, **kwargs)
445
def DeleteChoice(*args, **kwargs):
446
"""DeleteChoice(self, int index)"""
447
return _propgrid.PGProperty_DeleteChoice(*args, **kwargs)
449
def Enable(*args, **kwargs):
450
"""Enable(self, bool enable=True)"""
451
return _propgrid.PGProperty_Enable(*args, **kwargs)
453
def EnableCommonValue(*args, **kwargs):
454
"""EnableCommonValue(self, bool enable=True)"""
455
return _propgrid.PGProperty_EnableCommonValue(*args, **kwargs)
457
def GenerateComposedValue(*args, **kwargs):
458
"""GenerateComposedValue(self) -> String"""
459
return _propgrid.PGProperty_GenerateComposedValue(*args, **kwargs)
461
def GetLabel(*args, **kwargs):
462
"""GetLabel(self) -> String"""
463
return _propgrid.PGProperty_GetLabel(*args, **kwargs)
465
def GetName(*args, **kwargs):
466
"""GetName(self) -> String"""
467
return _propgrid.PGProperty_GetName(*args, **kwargs)
469
def GetBaseName(*args, **kwargs):
470
"""GetBaseName(self) -> String"""
471
return _propgrid.PGProperty_GetBaseName(*args, **kwargs)
473
def GetChoices(*args, **kwargs):
474
"""GetChoices(self) -> PGChoices"""
475
return _propgrid.PGProperty_GetChoices(*args, **kwargs)
477
def GetY(*args, **kwargs):
478
"""GetY(self) -> int"""
479
return _propgrid.PGProperty_GetY(*args, **kwargs)
481
def GetValue(*args, **kwargs):
482
"""GetValue(self) -> wxVariant"""
483
return _propgrid.PGProperty_GetValue(*args, **kwargs)
485
def GetValuePlain(*args, **kwargs):
486
"""GetValuePlain(self) -> wxVariant"""
487
return _propgrid.PGProperty_GetValuePlain(*args, **kwargs)
489
def GetValueAsString(*args, **kwargs):
490
"""GetValueAsString(self, int argFlags=0) -> String"""
491
return _propgrid.PGProperty_GetValueAsString(*args, **kwargs)
495
GetCell(self, int column) -> PGCell
496
GetCell(self, int column) -> PGCell
498
return _propgrid.PGProperty_GetCell(*args)
500
def GetOrCreateCell(*args, **kwargs):
501
"""GetOrCreateCell(self, int column) -> PGCell"""
502
return _propgrid.PGProperty_GetOrCreateCell(*args, **kwargs)
504
def GetDisplayedCommonValueCount(*args, **kwargs):
505
"""GetDisplayedCommonValueCount(self) -> int"""
506
return _propgrid.PGProperty_GetDisplayedCommonValueCount(*args, **kwargs)
508
def GetDisplayedString(*args, **kwargs):
509
"""GetDisplayedString(self) -> String"""
510
return _propgrid.PGProperty_GetDisplayedString(*args, **kwargs)
512
def GetHintText(*args, **kwargs):
513
"""GetHintText(self) -> String"""
514
return _propgrid.PGProperty_GetHintText(*args, **kwargs)
516
def GetGrid(*args, **kwargs):
517
"""GetGrid(self) -> PropertyGrid"""
518
return _propgrid.PGProperty_GetGrid(*args, **kwargs)
520
def GetGridIfDisplayed(*args, **kwargs):
521
"""GetGridIfDisplayed(self) -> PropertyGrid"""
522
return _propgrid.PGProperty_GetGridIfDisplayed(*args, **kwargs)
524
def GetMainParent(*args, **kwargs):
525
"""GetMainParent(self) -> PGProperty"""
526
return _propgrid.PGProperty_GetMainParent(*args, **kwargs)
528
def GetParent(*args, **kwargs):
529
"""GetParent(self) -> PGProperty"""
530
return _propgrid.PGProperty_GetParent(*args, **kwargs)
532
def IsTextEditable(*args, **kwargs):
533
"""IsTextEditable(self) -> bool"""
534
return _propgrid.PGProperty_IsTextEditable(*args, **kwargs)
536
def IsValueUnspecified(*args, **kwargs):
537
"""IsValueUnspecified(self) -> bool"""
538
return _propgrid.PGProperty_IsValueUnspecified(*args, **kwargs)
540
def HasFlag(*args, **kwargs):
541
"""HasFlag(self, int flag) -> FlagType"""
542
return _propgrid.PGProperty_HasFlag(*args, **kwargs)
544
def GetAttributes(*args, **kwargs):
545
"""GetAttributes(self)"""
546
return _propgrid.PGProperty_GetAttributes(*args, **kwargs)
548
def GetAttributesAsList(*args, **kwargs):
549
"""GetAttributesAsList(self) -> wxVariant"""
550
return _propgrid.PGProperty_GetAttributesAsList(*args, **kwargs)
552
def GetFlags(*args, **kwargs):
553
"""GetFlags(self) -> FlagType"""
554
return _propgrid.PGProperty_GetFlags(*args, **kwargs)
556
def GetEditorClass(*args, **kwargs):
557
"""GetEditorClass(self) -> PGEditor"""
558
return _propgrid.PGProperty_GetEditorClass(*args, **kwargs)
560
def GetValueType(*args, **kwargs):
561
"""GetValueType(self) -> String"""
562
return _propgrid.PGProperty_GetValueType(*args, **kwargs)
564
def GetColumnEditor(*args, **kwargs):
565
"""GetColumnEditor(self, int column) -> PGEditor"""
566
return _propgrid.PGProperty_GetColumnEditor(*args, **kwargs)
568
def GetCommonValue(*args, **kwargs):
569
"""GetCommonValue(self) -> int"""
570
return _propgrid.PGProperty_GetCommonValue(*args, **kwargs)
572
def HasVisibleChildren(*args, **kwargs):
573
"""HasVisibleChildren(self) -> bool"""
574
return _propgrid.PGProperty_HasVisibleChildren(*args, **kwargs)
576
def InsertChild(*args, **kwargs):
577
"""InsertChild(self, int index, PGProperty childProperty) -> PGProperty"""
578
return _propgrid.PGProperty_InsertChild(*args, **kwargs)
580
def InsertChoice(*args, **kwargs):
581
"""InsertChoice(self, String label, int index, int value=INT_MAX) -> int"""
582
return _propgrid.PGProperty_InsertChoice(*args, **kwargs)
584
def IsCategory(*args, **kwargs):
585
"""IsCategory(self) -> bool"""
586
return _propgrid.PGProperty_IsCategory(*args, **kwargs)
588
def IsRoot(*args, **kwargs):
589
"""IsRoot(self) -> bool"""
590
return _propgrid.PGProperty_IsRoot(*args, **kwargs)
592
def IsSubProperty(*args, **kwargs):
593
"""IsSubProperty(self) -> bool"""
594
return _propgrid.PGProperty_IsSubProperty(*args, **kwargs)
596
def GetLastVisibleSubItem(*args, **kwargs):
597
"""GetLastVisibleSubItem(self) -> PGProperty"""
598
return _propgrid.PGProperty_GetLastVisibleSubItem(*args, **kwargs)
600
def GetDefaultValue(*args, **kwargs):
601
"""GetDefaultValue(self) -> wxVariant"""
602
return _propgrid.PGProperty_GetDefaultValue(*args, **kwargs)
604
def GetMaxLength(*args, **kwargs):
605
"""GetMaxLength(self) -> int"""
606
return _propgrid.PGProperty_GetMaxLength(*args, **kwargs)
608
def AreAllChildrenSpecified(*args, **kwargs):
609
"""AreAllChildrenSpecified(self, wxVariant pendingList=None) -> bool"""
610
return _propgrid.PGProperty_AreAllChildrenSpecified(*args, **kwargs)
612
def UpdateParentValues(*args, **kwargs):
613
"""UpdateParentValues(self) -> PGProperty"""
614
return _propgrid.PGProperty_UpdateParentValues(*args, **kwargs)
616
def UsesAutoUnspecified(*args, **kwargs):
617
"""UsesAutoUnspecified(self) -> bool"""
618
return _propgrid.PGProperty_UsesAutoUnspecified(*args, **kwargs)
620
def GetValueImage(*args, **kwargs):
621
"""GetValueImage(self) -> Bitmap"""
622
return _propgrid.PGProperty_GetValueImage(*args, **kwargs)
624
def GetAttribute(*args):
626
GetAttribute(self, String name) -> wxVariant
627
GetAttribute(self, String name, String defVal) -> String
629
return _propgrid.PGProperty_GetAttribute(*args)
631
def GetAttributeAsLong(*args, **kwargs):
632
"""GetAttributeAsLong(self, String name, long defVal) -> long"""
633
return _propgrid.PGProperty_GetAttributeAsLong(*args, **kwargs)
635
def GetAttributeAsDouble(*args, **kwargs):
636
"""GetAttributeAsDouble(self, String name, double defVal) -> double"""
637
return _propgrid.PGProperty_GetAttributeAsDouble(*args, **kwargs)
639
def GetDepth(*args, **kwargs):
640
"""GetDepth(self) -> int"""
641
return _propgrid.PGProperty_GetDepth(*args, **kwargs)
643
def GetFlagsAsString(*args, **kwargs):
644
"""GetFlagsAsString(self, FlagType flagsMask) -> String"""
645
return _propgrid.PGProperty_GetFlagsAsString(*args, **kwargs)
647
def GetIndexInParent(*args, **kwargs):
648
"""GetIndexInParent(self) -> int"""
649
return _propgrid.PGProperty_GetIndexInParent(*args, **kwargs)
651
def Hide(*args, **kwargs):
652
"""Hide(self, bool hide, int flags=PG_RECURSE) -> bool"""
653
return _propgrid.PGProperty_Hide(*args, **kwargs)
655
def IsExpanded(*args, **kwargs):
656
"""IsExpanded(self) -> bool"""
657
return _propgrid.PGProperty_IsExpanded(*args, **kwargs)
659
def IsVisible(*args, **kwargs):
660
"""IsVisible(self) -> bool"""
661
return _propgrid.PGProperty_IsVisible(*args, **kwargs)
663
def IsEnabled(*args, **kwargs):
664
"""IsEnabled(self) -> bool"""
665
return _propgrid.PGProperty_IsEnabled(*args, **kwargs)
667
def RecreateEditor(*args, **kwargs):
668
"""RecreateEditor(self) -> bool"""
669
return _propgrid.PGProperty_RecreateEditor(*args, **kwargs)
671
def RefreshEditor(*args, **kwargs):
672
"""RefreshEditor(self)"""
673
return _propgrid.PGProperty_RefreshEditor(*args, **kwargs)
675
def SetAttribute(*args, **kwargs):
676
"""SetAttribute(self, String name, wxVariant value)"""
677
return _propgrid.PGProperty_SetAttribute(*args, **kwargs)
679
def SetAttributes(*args, **kwargs):
680
"""SetAttributes(self, attributes)"""
681
return _propgrid.PGProperty_SetAttributes(*args, **kwargs)
683
def SetAutoUnspecified(*args, **kwargs):
684
"""SetAutoUnspecified(self, bool enable=True)"""
685
return _propgrid.PGProperty_SetAutoUnspecified(*args, **kwargs)
687
def SetBackgroundColour(*args, **kwargs):
688
"""SetBackgroundColour(self, Colour colour, int flags=PG_RECURSE)"""
689
return _propgrid.PGProperty_SetBackgroundColour(*args, **kwargs)
691
def SetTextColour(*args, **kwargs):
692
"""SetTextColour(self, Colour colour, int flags=PG_RECURSE)"""
693
return _propgrid.PGProperty_SetTextColour(*args, **kwargs)
695
def SetDefaultValue(*args, **kwargs):
696
"""SetDefaultValue(self, wxVariant value)"""
697
return _propgrid.PGProperty_SetDefaultValue(*args, **kwargs)
699
def SetEditor(*args, **kwargs):
700
"""SetEditor(self, String editorName)"""
701
return _propgrid.PGProperty_SetEditor(*args, **kwargs)
703
def SetCell(*args, **kwargs):
704
"""SetCell(self, int column, PGCell cell)"""
705
return _propgrid.PGProperty_SetCell(*args, **kwargs)
707
def SetCommonValue(*args, **kwargs):
708
"""SetCommonValue(self, int commonValue)"""
709
return _propgrid.PGProperty_SetCommonValue(*args, **kwargs)
711
def SetFlagsFromString(*args, **kwargs):
712
"""SetFlagsFromString(self, String str)"""
713
return _propgrid.PGProperty_SetFlagsFromString(*args, **kwargs)
715
def SetModifiedStatus(*args, **kwargs):
716
"""SetModifiedStatus(self, bool modified)"""
717
return _propgrid.PGProperty_SetModifiedStatus(*args, **kwargs)
719
def SetValueInEvent(*args, **kwargs):
720
"""SetValueInEvent(self, wxVariant value)"""
721
return _propgrid.PGProperty_SetValueInEvent(*args, **kwargs)
723
def SetValue(*args, **kwargs):
724
"""SetValue(self, wxVariant value, wxVariant pList=None, int flags=PG_SETVAL_REFRESH_EDITOR)"""
725
return _propgrid.PGProperty_SetValue(*args, **kwargs)
727
def SetValueImage(*args, **kwargs):
728
"""SetValueImage(self, Bitmap bmp)"""
729
return _propgrid.PGProperty_SetValueImage(*args, **kwargs)
731
def SetChoiceSelection(*args, **kwargs):
732
"""SetChoiceSelection(self, int newValue)"""
733
return _propgrid.PGProperty_SetChoiceSelection(*args, **kwargs)
735
def SetExpanded(*args, **kwargs):
736
"""SetExpanded(self, bool expanded)"""
737
return _propgrid.PGProperty_SetExpanded(*args, **kwargs)
739
def ChangeFlag(*args, **kwargs):
740
"""ChangeFlag(self, int flag, bool set)"""
741
return _propgrid.PGProperty_ChangeFlag(*args, **kwargs)
743
def SetFlagRecursively(*args, **kwargs):
744
"""SetFlagRecursively(self, int flag, bool set)"""
745
return _propgrid.PGProperty_SetFlagRecursively(*args, **kwargs)
747
def SetHelpString(*args, **kwargs):
748
"""SetHelpString(self, String helpString)"""
749
return _propgrid.PGProperty_SetHelpString(*args, **kwargs)
751
def SetLabel(*args, **kwargs):
752
"""SetLabel(self, String label)"""
753
return _propgrid.PGProperty_SetLabel(*args, **kwargs)
755
def SetName(*args, **kwargs):
756
"""SetName(self, String newName)"""
757
return _propgrid.PGProperty_SetName(*args, **kwargs)
759
def SetParentalType(*args, **kwargs):
760
"""SetParentalType(self, int flag)"""
761
return _propgrid.PGProperty_SetParentalType(*args, **kwargs)
763
def SetValueToUnspecified(*args, **kwargs):
764
"""SetValueToUnspecified(self)"""
765
return _propgrid.PGProperty_SetValueToUnspecified(*args, **kwargs)
767
def SetValuePlain(*args, **kwargs):
768
"""SetValuePlain(self, wxVariant value)"""
769
return _propgrid.PGProperty_SetValuePlain(*args, **kwargs)
771
def SetValidator(*args, **kwargs):
772
"""SetValidator(self, Validator validator)"""
773
return _propgrid.PGProperty_SetValidator(*args, **kwargs)
775
def GetValidator(*args, **kwargs):
776
"""GetValidator(self) -> Validator"""
777
return _propgrid.PGProperty_GetValidator(*args, **kwargs)
779
def SetMaxLength(*args, **kwargs):
780
"""SetMaxLength(self, int maxLen) -> bool"""
781
return _propgrid.PGProperty_SetMaxLength(*args, **kwargs)
783
def SetWasModified(*args, **kwargs):
784
"""SetWasModified(self, bool set=True)"""
785
return _propgrid.PGProperty_SetWasModified(*args, **kwargs)
787
def GetHelpString(*args, **kwargs):
788
"""GetHelpString(self) -> String"""
789
return _propgrid.PGProperty_GetHelpString(*args, **kwargs)
791
def IsSomeParent(*args, **kwargs):
792
"""IsSomeParent(self, PGProperty candidate_parent) -> bool"""
793
return _propgrid.PGProperty_IsSomeParent(*args, **kwargs)
795
def AdaptListToValue(*args, **kwargs):
796
"""AdaptListToValue(self, wxVariant list, wxVariant value)"""
797
return _propgrid.PGProperty_AdaptListToValue(*args, **kwargs)
799
def AddPrivateChild(*args, **kwargs):
800
"""AddPrivateChild(self, PGProperty prop)"""
801
return _propgrid.PGProperty_AddPrivateChild(*args, **kwargs)
803
def AppendChild(*args, **kwargs):
804
"""AppendChild(self, PGProperty prop) -> PGProperty"""
805
return _propgrid.PGProperty_AppendChild(*args, **kwargs)
807
def GetChildrenHeight(*args, **kwargs):
808
"""GetChildrenHeight(self, int lh, int iMax=-1) -> int"""
809
return _propgrid.PGProperty_GetChildrenHeight(*args, **kwargs)
811
def GetChildCount(*args, **kwargs):
812
"""GetChildCount(self) -> int"""
813
return _propgrid.PGProperty_GetChildCount(*args, **kwargs)
815
def Item(*args, **kwargs):
816
"""Item(self, int i) -> PGProperty"""
817
return _propgrid.PGProperty_Item(*args, **kwargs)
819
def Last(*args, **kwargs):
820
"""Last(self) -> PGProperty"""
821
return _propgrid.PGProperty_Last(*args, **kwargs)
823
def Index(*args, **kwargs):
824
"""Index(self, PGProperty p) -> int"""
825
return _propgrid.PGProperty_Index(*args, **kwargs)
827
def FixIndicesOfChildren(*args, **kwargs):
828
"""FixIndicesOfChildren(self, int starthere=0)"""
829
return _propgrid.PGProperty_FixIndicesOfChildren(*args, **kwargs)
831
def GetImageOffset(*args, **kwargs):
832
"""GetImageOffset(self, int imageWidth) -> int"""
833
return _propgrid.PGProperty_GetImageOffset(*args, **kwargs)
835
def GetItemAtY(*args, **kwargs):
836
"""GetItemAtY(self, int y) -> PGProperty"""
837
return _propgrid.PGProperty_GetItemAtY(*args, **kwargs)
839
def GetPropertyByName(*args, **kwargs):
840
"""GetPropertyByName(self, String name) -> PGProperty"""
841
return _propgrid.PGProperty_GetPropertyByName(*args, **kwargs)
843
def SetPyChoices(*args):
845
SetPyChoices(self, PGChoices chs) -> bool
846
SetPyChoices(self, wxArrayString labels, wxArrayInt values=wxArrayInt()) -> bool
848
return _propgrid.PGProperty_SetPyChoices(*args)
850
def PyBase_StringToValue(*args, **kwargs):
851
"""PyBase_StringToValue(self, String text, int argFlags=0) -> wxPGVariantAndBool"""
852
return _propgrid.PGProperty_PyBase_StringToValue(*args, **kwargs)
854
def PyBase_IntToValue(*args, **kwargs):
855
"""PyBase_IntToValue(self, wxVariant value, int number, int argFlags=0) -> wxPGVariantAndBool"""
856
return _propgrid.PGProperty_PyBase_IntToValue(*args, **kwargs)
858
m_value = property(GetValuePlain,SetValuePlain)
859
def GetPyClientData(*args, **kwargs):
861
GetPyClientData(self) -> PyObject
863
Returns the client data object for a property
865
return _propgrid.PGProperty_GetPyClientData(*args, **kwargs)
867
def SetPyClientData(*args, **kwargs):
869
SetPyClientData(self, PyObject clientData)
871
Associate the given client data.
873
return _propgrid.PGProperty_SetPyClientData(*args, **kwargs)
875
SetChoices = SetPyChoices
876
StringToValue = PyBase_StringToValue
877
IntToValue = PyBase_IntToValue
878
GetClientObject = GetPyClientData
879
SetClientObject = SetPyClientData
880
GetClientData = GetPyClientData
881
SetClientData = SetPyClientData
883
_propgrid.PGProperty_swigregister(PGProperty)
885
class PropertyGridHitTestResult(object):
886
"""Proxy of C++ PropertyGridHitTestResult class"""
887
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
888
__repr__ = _swig_repr
889
def __init__(self, *args, **kwargs):
890
"""__init__(self) -> PropertyGridHitTestResult"""
891
_propgrid.PropertyGridHitTestResult_swiginit(self,_propgrid.new_PropertyGridHitTestResult(*args, **kwargs))
892
__swig_destroy__ = _propgrid.delete_PropertyGridHitTestResult
893
__del__ = lambda self : None;
894
def GetColumn(*args, **kwargs):
895
"""GetColumn(self) -> int"""
896
return _propgrid.PropertyGridHitTestResult_GetColumn(*args, **kwargs)
898
def GetProperty(*args, **kwargs):
899
"""GetProperty(self) -> PGProperty"""
900
return _propgrid.PropertyGridHitTestResult_GetProperty(*args, **kwargs)
902
def GetSplitter(*args, **kwargs):
903
"""GetSplitter(self) -> int"""
904
return _propgrid.PropertyGridHitTestResult_GetSplitter(*args, **kwargs)
906
def GetSplitterHitOffset(*args, **kwargs):
907
"""GetSplitterHitOffset(self) -> int"""
908
return _propgrid.PropertyGridHitTestResult_GetSplitterHitOffset(*args, **kwargs)
910
_propgrid.PropertyGridHitTestResult_swigregister(PropertyGridHitTestResult)
912
PG_ITERATE_PROPERTIES = _propgrid.PG_ITERATE_PROPERTIES
913
PG_ITERATE_HIDDEN = _propgrid.PG_ITERATE_HIDDEN
914
PG_ITERATE_FIXED_CHILDREN = _propgrid.PG_ITERATE_FIXED_CHILDREN
915
PG_ITERATE_CATEGORIES = _propgrid.PG_ITERATE_CATEGORIES
916
PG_ITERATE_ALL_PARENTS = _propgrid.PG_ITERATE_ALL_PARENTS
917
PG_ITERATE_ALL_PARENTS_RECURSIVELY = _propgrid.PG_ITERATE_ALL_PARENTS_RECURSIVELY
918
PG_ITERATOR_FLAGS_ALL = _propgrid.PG_ITERATOR_FLAGS_ALL
919
PG_ITERATOR_MASK_OP_ITEM = _propgrid.PG_ITERATOR_MASK_OP_ITEM
920
PG_ITERATOR_MASK_OP_PARENT = _propgrid.PG_ITERATOR_MASK_OP_PARENT
921
PG_ITERATE_VISIBLE = _propgrid.PG_ITERATE_VISIBLE
922
PG_ITERATE_ALL = _propgrid.PG_ITERATE_ALL
923
PG_ITERATE_NORMAL = _propgrid.PG_ITERATE_NORMAL
924
PG_ITERATE_DEFAULT = _propgrid.PG_ITERATE_DEFAULT
925
class PropertyGridIteratorBase(object):
926
"""Proxy of C++ PropertyGridIteratorBase class"""
927
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
928
__repr__ = _swig_repr
929
def __init__(self, *args, **kwargs):
930
"""__init__(self) -> PropertyGridIteratorBase"""
931
_propgrid.PropertyGridIteratorBase_swiginit(self,_propgrid.new_PropertyGridIteratorBase(*args, **kwargs))
932
def Assign(*args, **kwargs):
933
"""Assign(self, PropertyGridIteratorBase it)"""
934
return _propgrid.PropertyGridIteratorBase_Assign(*args, **kwargs)
936
def AtEnd(*args, **kwargs):
937
"""AtEnd(self) -> bool"""
938
return _propgrid.PropertyGridIteratorBase_AtEnd(*args, **kwargs)
940
def GetProperty(*args, **kwargs):
941
"""GetProperty(self) -> PGProperty"""
942
return _propgrid.PropertyGridIteratorBase_GetProperty(*args, **kwargs)
946
Init(self, state, int flags, PGProperty property, int dir=1)
947
Init(self, state, int flags, int startPos=TOP, int dir=0)
949
return _propgrid.PropertyGridIteratorBase_Init(*args)
951
def Next(*args, **kwargs):
952
"""Next(self, bool iterateChildren=True)"""
953
return _propgrid.PropertyGridIteratorBase_Next(*args, **kwargs)
955
def Prev(*args, **kwargs):
957
return _propgrid.PropertyGridIteratorBase_Prev(*args, **kwargs)
959
def SetBaseParent(*args, **kwargs):
960
"""SetBaseParent(self, PGProperty baseParent)"""
961
return _propgrid.PropertyGridIteratorBase_SetBaseParent(*args, **kwargs)
963
_propgrid.PropertyGridIteratorBase_swigregister(PropertyGridIteratorBase)
965
class PropertyGridIterator(PropertyGridIteratorBase):
966
"""Proxy of C++ PropertyGridIterator class"""
967
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
968
__repr__ = _swig_repr
969
def __init__(self, *args):
971
__init__(self, state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
972
int dir=1) -> PropertyGridIterator
973
__init__(self, state, int flags, int startPos, int dir=0) -> PropertyGridIterator
974
__init__(self) -> PropertyGridIterator
975
__init__(self, PropertyGridIterator it) -> PropertyGridIterator
977
_propgrid.PropertyGridIterator_swiginit(self,_propgrid.new_PropertyGridIterator(*args))
978
__swig_destroy__ = _propgrid.delete_PropertyGridIterator
979
__del__ = lambda self : None;
980
def __ref__(*args, **kwargs):
981
"""__ref__(self) -> PGProperty"""
982
return _propgrid.PropertyGridIterator___ref__(*args, **kwargs)
984
def OneStep(*args, **kwargs):
986
OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
987
int dir=1) -> PGProperty
989
return _propgrid.PropertyGridIterator_OneStep(*args, **kwargs)
991
OneStep = staticmethod(OneStep)
992
_propgrid.PropertyGridIterator_swigregister(PropertyGridIterator)
994
def PropertyGridIterator_OneStep(*args, **kwargs):
996
PropertyGridIterator_OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
997
int dir=1) -> PGProperty
999
return _propgrid.PropertyGridIterator_OneStep(*args, **kwargs)
1001
class PropertyGridConstIterator(PropertyGridIteratorBase):
1002
"""Proxy of C++ PropertyGridConstIterator class"""
1003
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1004
__repr__ = _swig_repr
1005
__swig_destroy__ = _propgrid.delete_PropertyGridConstIterator
1006
__del__ = lambda self : None;
1007
def __ref__(*args, **kwargs):
1008
"""__ref__(self) -> PGProperty"""
1009
return _propgrid.PropertyGridConstIterator___ref__(*args, **kwargs)
1011
def OneStep(*args, **kwargs):
1013
OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
1014
int dir=1) -> PGProperty
1016
return _propgrid.PropertyGridConstIterator_OneStep(*args, **kwargs)
1018
OneStep = staticmethod(OneStep)
1019
def __init__(self, *args):
1021
__init__(self, state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
1022
int dir=1) -> PropertyGridConstIterator
1023
__init__(self, state, int flags, int startPos, int dir=0) -> PropertyGridConstIterator
1024
__init__(self) -> PropertyGridConstIterator
1025
__init__(self, PropertyGridConstIterator it) -> PropertyGridConstIterator
1026
__init__(self, PropertyGridIterator other) -> PropertyGridConstIterator
1028
_propgrid.PropertyGridConstIterator_swiginit(self,_propgrid.new_PropertyGridConstIterator(*args))
1029
_propgrid.PropertyGridConstIterator_swigregister(PropertyGridConstIterator)
1031
def PropertyGridConstIterator_OneStep(*args, **kwargs):
1033
PropertyGridConstIterator_OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None,
1034
int dir=1) -> PGProperty
1036
return _propgrid.PropertyGridConstIterator_OneStep(*args, **kwargs)
1038
class PGVIteratorBase(_core.RefCounter):
1039
"""Proxy of C++ PGVIteratorBase class"""
1040
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1041
def __init__(self): raise AttributeError, "No constructor defined"
1042
__repr__ = _swig_repr
1043
def Next(*args, **kwargs):
1045
return _propgrid.PGVIteratorBase_Next(*args, **kwargs)
1047
_propgrid.PGVIteratorBase_swigregister(PGVIteratorBase)
1049
class PGVIterator(object):
1050
"""Proxy of C++ PGVIterator class"""
1051
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1052
__repr__ = _swig_repr
1053
__swig_destroy__ = _propgrid.delete_PGVIterator
1054
__del__ = lambda self : None;
1055
def UnRef(*args, **kwargs):
1057
return _propgrid.PGVIterator_UnRef(*args, **kwargs)
1059
def __init__(self, *args):
1061
__init__(self) -> PGVIterator
1062
__init__(self, PGVIteratorBase obj) -> PGVIterator
1063
__init__(self, PGVIterator it) -> PGVIterator
1065
_propgrid.PGVIterator_swiginit(self,_propgrid.new_PGVIterator(*args))
1066
def Next(*args, **kwargs):
1068
return _propgrid.PGVIterator_Next(*args, **kwargs)
1070
def AtEnd(*args, **kwargs):
1071
"""AtEnd(self) -> bool"""
1072
return _propgrid.PGVIterator_AtEnd(*args, **kwargs)
1074
def GetProperty(*args, **kwargs):
1075
"""GetProperty(self) -> PGProperty"""
1076
return _propgrid.PGVIterator_GetProperty(*args, **kwargs)
1078
_propgrid.PGVIterator_swigregister(PGVIterator)
1081
def PGTypeOperationFailed(*args, **kwargs):
1082
"""PGTypeOperationFailed(PGProperty p, String typestr, String op)"""
1083
return _propgrid.PGTypeOperationFailed(*args, **kwargs)
1085
def PGGetFailed(*args, **kwargs):
1086
"""PGGetFailed(PGProperty p, String typestr)"""
1087
return _propgrid.PGGetFailed(*args, **kwargs)
1088
class PropertyGridInterface(object):
1089
"""Proxy of C++ PropertyGridInterface class"""
1090
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1091
def __init__(self): raise AttributeError, "No constructor defined"
1092
__repr__ = _swig_repr
1093
__swig_destroy__ = _propgrid.delete_PropertyGridInterface
1094
__del__ = lambda self : None;
1095
def Append(*args, **kwargs):
1096
"""Append(self, PGProperty property) -> PGProperty"""
1097
return _propgrid.PropertyGridInterface_Append(*args, **kwargs)
1099
def AppendIn(*args, **kwargs):
1100
"""AppendIn(self, PGPropArg id, PGProperty newproperty) -> PGProperty"""
1101
return _propgrid.PropertyGridInterface_AppendIn(*args, **kwargs)
1103
def BeginAddChildren(*args, **kwargs):
1104
"""BeginAddChildren(self, PGPropArg id)"""
1105
return _propgrid.PropertyGridInterface_BeginAddChildren(*args, **kwargs)
1107
def Clear(*args, **kwargs):
1109
return _propgrid.PropertyGridInterface_Clear(*args, **kwargs)
1111
def ClearSelection(*args, **kwargs):
1112
"""ClearSelection(self, bool validation=False) -> bool"""
1113
return _propgrid.PropertyGridInterface_ClearSelection(*args, **kwargs)
1115
def ClearModifiedStatus(*args, **kwargs):
1116
"""ClearModifiedStatus(self)"""
1117
return _propgrid.PropertyGridInterface_ClearModifiedStatus(*args, **kwargs)
1119
def Collapse(*args, **kwargs):
1120
"""Collapse(self, PGPropArg id) -> bool"""
1121
return _propgrid.PropertyGridInterface_Collapse(*args, **kwargs)
1123
def CollapseAll(*args, **kwargs):
1124
"""CollapseAll(self) -> bool"""
1125
return _propgrid.PropertyGridInterface_CollapseAll(*args, **kwargs)
1127
def ChangePropertyValue(*args, **kwargs):
1128
"""ChangePropertyValue(self, PGPropArg id, wxVariant newValue) -> bool"""
1129
return _propgrid.PropertyGridInterface_ChangePropertyValue(*args, **kwargs)
1131
def DeleteProperty(*args, **kwargs):
1132
"""DeleteProperty(self, PGPropArg id)"""
1133
return _propgrid.PropertyGridInterface_DeleteProperty(*args, **kwargs)
1135
def RemoveProperty(*args, **kwargs):
1136
"""RemoveProperty(self, PGPropArg id) -> PGProperty"""
1137
return _propgrid.PropertyGridInterface_RemoveProperty(*args, **kwargs)
1139
def DisableProperty(*args, **kwargs):
1140
"""DisableProperty(self, PGPropArg id) -> bool"""
1141
return _propgrid.PropertyGridInterface_DisableProperty(*args, **kwargs)
1143
def EditorValidate(*args, **kwargs):
1144
"""EditorValidate(self) -> bool"""
1145
return _propgrid.PropertyGridInterface_EditorValidate(*args, **kwargs)
1147
def EnableProperty(*args, **kwargs):
1148
"""EnableProperty(self, PGPropArg id, bool enable=True) -> bool"""
1149
return _propgrid.PropertyGridInterface_EnableProperty(*args, **kwargs)
1151
def EndAddChildren(*args, **kwargs):
1152
"""EndAddChildren(self, PGPropArg id)"""
1153
return _propgrid.PropertyGridInterface_EndAddChildren(*args, **kwargs)
1155
def Expand(*args, **kwargs):
1156
"""Expand(self, PGPropArg id) -> bool"""
1157
return _propgrid.PropertyGridInterface_Expand(*args, **kwargs)
1159
def ExpandAll(*args, **kwargs):
1160
"""ExpandAll(self, bool expand=True) -> bool"""
1161
return _propgrid.PropertyGridInterface_ExpandAll(*args, **kwargs)
1163
def GetFirstChild(*args, **kwargs):
1164
"""GetFirstChild(self, PGPropArg id) -> PGProperty"""
1165
return _propgrid.PropertyGridInterface_GetFirstChild(*args, **kwargs)
1167
def GetIterator(*args):
1169
GetIterator(self, int flags=PG_ITERATE_DEFAULT, PGProperty firstProp=None) -> PropertyGridIterator
1170
GetIterator(self, int flags=PG_ITERATE_DEFAULT, PGProperty firstProp=None) -> PropertyGridConstIterator
1171
GetIterator(self, int flags, int startPos) -> PropertyGridIterator
1172
GetIterator(self, int flags, int startPos) -> PropertyGridConstIterator
1174
return _propgrid.PropertyGridInterface_GetIterator(*args)
1176
def GetFirst(*args):
1178
GetFirst(self, int flags=PG_ITERATE_ALL) -> PGProperty
1179
GetFirst(self, int flags=PG_ITERATE_ALL) -> PGProperty
1181
return _propgrid.PropertyGridInterface_GetFirst(*args)
1183
def GetProperty(*args, **kwargs):
1184
"""GetProperty(self, String name) -> PGProperty"""
1185
return _propgrid.PropertyGridInterface_GetProperty(*args, **kwargs)
1187
def GetPropertyAttributes(*args, **kwargs):
1188
"""GetPropertyAttributes(self, PGPropArg id)"""
1189
return _propgrid.PropertyGridInterface_GetPropertyAttributes(*args, **kwargs)
1191
def GetPropertiesWithFlag(*args, **kwargs):
1193
GetPropertiesWithFlag(self, wxArrayPGProperty targetArr, FlagType flags, bool inverse=False,
1194
int iterFlags=wxPG_ITERATE_PROPERTIES|wxPG_ITERATE_HIDDEN|wxPG_ITERATE_CATEGORIES)
1196
return _propgrid.PropertyGridInterface_GetPropertiesWithFlag(*args, **kwargs)
1198
def GetPropertyAttribute(*args, **kwargs):
1199
"""GetPropertyAttribute(self, PGPropArg id, String attrName) -> wxVariant"""
1200
return _propgrid.PropertyGridInterface_GetPropertyAttribute(*args, **kwargs)
1202
def GetPropertyCategory(*args, **kwargs):
1203
"""GetPropertyCategory(self, PGPropArg id)"""
1204
return _propgrid.PropertyGridInterface_GetPropertyCategory(*args, **kwargs)
1206
def GetPropertyByLabel(*args, **kwargs):
1207
"""GetPropertyByLabel(self, String label) -> PGProperty"""
1208
return _propgrid.PropertyGridInterface_GetPropertyByLabel(*args, **kwargs)
1210
def GetPropertyByName(*args):
1212
GetPropertyByName(self, String name) -> PGProperty
1213
GetPropertyByName(self, String name, String subname) -> PGProperty
1215
return _propgrid.PropertyGridInterface_GetPropertyByName(*args)
1217
def GetPropertyEditor(*args, **kwargs):
1218
"""GetPropertyEditor(self, PGPropArg id) -> PGEditor"""
1219
return _propgrid.PropertyGridInterface_GetPropertyEditor(*args, **kwargs)
1221
def GetPropertyHelpString(*args, **kwargs):
1222
"""GetPropertyHelpString(self, PGPropArg id) -> String"""
1223
return _propgrid.PropertyGridInterface_GetPropertyHelpString(*args, **kwargs)
1225
def GetPropertyImage(*args, **kwargs):
1226
"""GetPropertyImage(self, PGPropArg id) -> Bitmap"""
1227
return _propgrid.PropertyGridInterface_GetPropertyImage(*args, **kwargs)
1229
def GetPropertyLabel(*args, **kwargs):
1230
"""GetPropertyLabel(self, PGPropArg id) -> String"""
1231
return _propgrid.PropertyGridInterface_GetPropertyLabel(*args, **kwargs)
1233
def GetPropertyName(*args, **kwargs):
1234
"""GetPropertyName(self, PGProperty property) -> String"""
1235
return _propgrid.PropertyGridInterface_GetPropertyName(*args, **kwargs)
1237
def GetPropertyParent(*args, **kwargs):
1238
"""GetPropertyParent(self, PGPropArg id) -> PGProperty"""
1239
return _propgrid.PropertyGridInterface_GetPropertyParent(*args, **kwargs)
1241
def GetPropertyValidator(*args, **kwargs):
1242
"""GetPropertyValidator(self, PGPropArg id) -> Validator"""
1243
return _propgrid.PropertyGridInterface_GetPropertyValidator(*args, **kwargs)
1245
def GetPropertyValue(*args, **kwargs):
1246
"""GetPropertyValue(self, PGPropArg id) -> wxVariant"""
1247
return _propgrid.PropertyGridInterface_GetPropertyValue(*args, **kwargs)
1249
def GetPropertyValueAsString(*args, **kwargs):
1250
"""GetPropertyValueAsString(self, PGPropArg id) -> String"""
1251
return _propgrid.PropertyGridInterface_GetPropertyValueAsString(*args, **kwargs)
1253
def GetPropertyValueAsLong(*args, **kwargs):
1254
"""GetPropertyValueAsLong(self, PGPropArg id) -> long"""
1255
return _propgrid.PropertyGridInterface_GetPropertyValueAsLong(*args, **kwargs)
1257
def GetPropertyValueAsULong(*args, **kwargs):
1258
"""GetPropertyValueAsULong(self, PGPropArg id) -> long"""
1259
return _propgrid.PropertyGridInterface_GetPropertyValueAsULong(*args, **kwargs)
1261
def GetPropertyValueAsBool(*args, **kwargs):
1262
"""GetPropertyValueAsBool(self, PGPropArg id) -> bool"""
1263
return _propgrid.PropertyGridInterface_GetPropertyValueAsBool(*args, **kwargs)
1265
def GetPropertyValueAsDouble(*args, **kwargs):
1266
"""GetPropertyValueAsDouble(self, PGPropArg id) -> double"""
1267
return _propgrid.PropertyGridInterface_GetPropertyValueAsDouble(*args, **kwargs)
1269
def GetPropertyValueAsArrayString(*args, **kwargs):
1270
"""GetPropertyValueAsArrayString(self, PGPropArg id) -> wxArrayString"""
1271
return _propgrid.PropertyGridInterface_GetPropertyValueAsArrayString(*args, **kwargs)
1273
def GetPropertyValueAsArrayInt(*args, **kwargs):
1274
"""GetPropertyValueAsArrayInt(self, PGPropArg id) -> wxArrayInt"""
1275
return _propgrid.PropertyGridInterface_GetPropertyValueAsArrayInt(*args, **kwargs)
1277
def GetSelection(*args, **kwargs):
1278
"""GetSelection(self) -> PGProperty"""
1279
return _propgrid.PropertyGridInterface_GetSelection(*args, **kwargs)
1281
def GetSelectedProperties(*args, **kwargs):
1282
"""GetSelectedProperties(self) -> wxArrayPGProperty"""
1283
return _propgrid.PropertyGridInterface_GetSelectedProperties(*args, **kwargs)
1285
def GetVIterator(*args, **kwargs):
1286
"""GetVIterator(self, int flags) -> PGVIterator"""
1287
return _propgrid.PropertyGridInterface_GetVIterator(*args, **kwargs)
1289
def HideProperty(*args, **kwargs):
1290
"""HideProperty(self, PGPropArg id, bool hide=True, int flags=PG_RECURSE) -> bool"""
1291
return _propgrid.PropertyGridInterface_HideProperty(*args, **kwargs)
1293
def InitAllTypeHandlers(*args, **kwargs):
1294
"""InitAllTypeHandlers()"""
1295
return _propgrid.PropertyGridInterface_InitAllTypeHandlers(*args, **kwargs)
1297
InitAllTypeHandlers = staticmethod(InitAllTypeHandlers)
1300
Insert(self, PGPropArg priorThis, PGProperty newproperty) -> PGProperty
1301
Insert(self, PGPropArg parent, int index, PGProperty newproperty) -> PGProperty
1303
return _propgrid.PropertyGridInterface_Insert(*args)
1305
def IsPropertyCategory(*args, **kwargs):
1306
"""IsPropertyCategory(self, PGPropArg id) -> bool"""
1307
return _propgrid.PropertyGridInterface_IsPropertyCategory(*args, **kwargs)
1309
def IsPropertyEnabled(*args, **kwargs):
1310
"""IsPropertyEnabled(self, PGPropArg id) -> bool"""
1311
return _propgrid.PropertyGridInterface_IsPropertyEnabled(*args, **kwargs)
1313
def IsPropertyExpanded(*args, **kwargs):
1314
"""IsPropertyExpanded(self, PGPropArg id) -> bool"""
1315
return _propgrid.PropertyGridInterface_IsPropertyExpanded(*args, **kwargs)
1317
def IsPropertyModified(*args, **kwargs):
1318
"""IsPropertyModified(self, PGPropArg id) -> bool"""
1319
return _propgrid.PropertyGridInterface_IsPropertyModified(*args, **kwargs)
1321
def IsPropertySelected(*args, **kwargs):
1322
"""IsPropertySelected(self, PGPropArg id) -> bool"""
1323
return _propgrid.PropertyGridInterface_IsPropertySelected(*args, **kwargs)
1325
def IsPropertyShown(*args, **kwargs):
1326
"""IsPropertyShown(self, PGPropArg id) -> bool"""
1327
return _propgrid.PropertyGridInterface_IsPropertyShown(*args, **kwargs)
1329
def IsPropertyValueUnspecified(*args, **kwargs):
1330
"""IsPropertyValueUnspecified(self, PGPropArg id) -> bool"""
1331
return _propgrid.PropertyGridInterface_IsPropertyValueUnspecified(*args, **kwargs)
1333
def LimitPropertyEditing(*args, **kwargs):
1334
"""LimitPropertyEditing(self, PGPropArg id, bool limit=True)"""
1335
return _propgrid.PropertyGridInterface_LimitPropertyEditing(*args, **kwargs)
1337
def RefreshGrid(*args, **kwargs):
1338
"""RefreshGrid(self, state=None)"""
1339
return _propgrid.PropertyGridInterface_RefreshGrid(*args, **kwargs)
1341
def RegisterAdditionalEditors(*args, **kwargs):
1342
"""RegisterAdditionalEditors()"""
1343
return _propgrid.PropertyGridInterface_RegisterAdditionalEditors(*args, **kwargs)
1345
RegisterAdditionalEditors = staticmethod(RegisterAdditionalEditors)
1346
def ReplaceProperty(*args, **kwargs):
1347
"""ReplaceProperty(self, PGPropArg id, PGProperty property) -> PGProperty"""
1348
return _propgrid.PropertyGridInterface_ReplaceProperty(*args, **kwargs)
1350
SelectionState = _propgrid.PropertyGridInterface_SelectionState
1351
ExpandedState = _propgrid.PropertyGridInterface_ExpandedState
1352
ScrollPosState = _propgrid.PropertyGridInterface_ScrollPosState
1353
PageState = _propgrid.PropertyGridInterface_PageState
1354
SplitterPosState = _propgrid.PropertyGridInterface_SplitterPosState
1355
DescBoxState = _propgrid.PropertyGridInterface_DescBoxState
1356
AllStates = _propgrid.PropertyGridInterface_AllStates
1357
def RestoreEditableState(*args, **kwargs):
1358
"""RestoreEditableState(self, String src, int restoreStates=AllStates) -> bool"""
1359
return _propgrid.PropertyGridInterface_RestoreEditableState(*args, **kwargs)
1361
def SaveEditableState(*args, **kwargs):
1362
"""SaveEditableState(self, int includedStates=AllStates) -> String"""
1363
return _propgrid.PropertyGridInterface_SaveEditableState(*args, **kwargs)
1365
def SetBoolChoices(*args, **kwargs):
1366
"""SetBoolChoices(String trueChoice, String falseChoice)"""
1367
return _propgrid.PropertyGridInterface_SetBoolChoices(*args, **kwargs)
1369
SetBoolChoices = staticmethod(SetBoolChoices)
1370
def SetColumnProportion(*args, **kwargs):
1371
"""SetColumnProportion(self, int column, int proportion) -> bool"""
1372
return _propgrid.PropertyGridInterface_SetColumnProportion(*args, **kwargs)
1374
def GetColumnProportion(*args, **kwargs):
1375
"""GetColumnProportion(self, int column) -> int"""
1376
return _propgrid.PropertyGridInterface_GetColumnProportion(*args, **kwargs)
1378
def SetPropertyAttribute(*args, **kwargs):
1379
"""SetPropertyAttribute(self, PGPropArg id, String attrName, wxVariant value, long argFlags=0)"""
1380
return _propgrid.PropertyGridInterface_SetPropertyAttribute(*args, **kwargs)
1382
def SetPropertyAttributeAll(*args, **kwargs):
1383
"""SetPropertyAttributeAll(self, String attrName, wxVariant value)"""
1384
return _propgrid.PropertyGridInterface_SetPropertyAttributeAll(*args, **kwargs)
1386
def SetPropertyBackgroundColour(*args, **kwargs):
1387
"""SetPropertyBackgroundColour(self, PGPropArg id, Colour colour, int flags=PG_RECURSE)"""
1388
return _propgrid.PropertyGridInterface_SetPropertyBackgroundColour(*args, **kwargs)
1390
def SetPropertyColoursToDefault(*args, **kwargs):
1391
"""SetPropertyColoursToDefault(self, PGPropArg id)"""
1392
return _propgrid.PropertyGridInterface_SetPropertyColoursToDefault(*args, **kwargs)
1394
def SetPropertyTextColour(*args, **kwargs):
1395
"""SetPropertyTextColour(self, PGPropArg id, Colour col, int flags=PG_RECURSE)"""
1396
return _propgrid.PropertyGridInterface_SetPropertyTextColour(*args, **kwargs)
1398
def GetPropertyBackgroundColour(*args, **kwargs):
1399
"""GetPropertyBackgroundColour(self, PGPropArg id) -> Colour"""
1400
return _propgrid.PropertyGridInterface_GetPropertyBackgroundColour(*args, **kwargs)
1402
def GetPropertyTextColour(*args, **kwargs):
1403
"""GetPropertyTextColour(self, PGPropArg id) -> Colour"""
1404
return _propgrid.PropertyGridInterface_GetPropertyTextColour(*args, **kwargs)
1406
def SetPropertyCell(*args, **kwargs):
1408
SetPropertyCell(self, PGPropArg id, int column, String text=wxEmptyString,
1409
Bitmap bitmap=wxNullBitmap, Colour fgCol=wxNullColour,
1410
Colour bgCol=wxNullColour)
1412
return _propgrid.PropertyGridInterface_SetPropertyCell(*args, **kwargs)
1414
def SetPropertyEditor(*args, **kwargs):
1415
"""SetPropertyEditor(self, PGPropArg id, String editorName)"""
1416
return _propgrid.PropertyGridInterface_SetPropertyEditor(*args, **kwargs)
1418
def SetPropertyLabel(*args, **kwargs):
1419
"""SetPropertyLabel(self, PGPropArg id, String newproplabel)"""
1420
return _propgrid.PropertyGridInterface_SetPropertyLabel(*args, **kwargs)
1422
def SetPropertyName(*args, **kwargs):
1423
"""SetPropertyName(self, PGPropArg id, String newName)"""
1424
return _propgrid.PropertyGridInterface_SetPropertyName(*args, **kwargs)
1426
def SetPropertyReadOnly(*args, **kwargs):
1427
"""SetPropertyReadOnly(self, PGPropArg id, bool set=True, int flags=PG_RECURSE)"""
1428
return _propgrid.PropertyGridInterface_SetPropertyReadOnly(*args, **kwargs)
1430
def SetPropertyValueUnspecified(*args, **kwargs):
1431
"""SetPropertyValueUnspecified(self, PGPropArg id)"""
1432
return _propgrid.PropertyGridInterface_SetPropertyValueUnspecified(*args, **kwargs)
1434
def SetPropertyHelpString(*args, **kwargs):
1435
"""SetPropertyHelpString(self, PGPropArg id, String helpString)"""
1436
return _propgrid.PropertyGridInterface_SetPropertyHelpString(*args, **kwargs)
1438
def SetPropertyImage(*args, **kwargs):
1439
"""SetPropertyImage(self, PGPropArg id, Bitmap bmp)"""
1440
return _propgrid.PropertyGridInterface_SetPropertyImage(*args, **kwargs)
1442
def SetPropertyMaxLength(*args, **kwargs):
1443
"""SetPropertyMaxLength(self, PGPropArg id, int maxLen) -> bool"""
1444
return _propgrid.PropertyGridInterface_SetPropertyMaxLength(*args, **kwargs)
1446
def SetPropertyValidator(*args, **kwargs):
1447
"""SetPropertyValidator(self, PGPropArg id, Validator validator)"""
1448
return _propgrid.PropertyGridInterface_SetPropertyValidator(*args, **kwargs)
1450
def SetPropertyValueString(*args, **kwargs):
1451
"""SetPropertyValueString(self, PGPropArg id, String value)"""
1452
return _propgrid.PropertyGridInterface_SetPropertyValueString(*args, **kwargs)
1454
def SetPropertyValue(*args, **kwargs):
1455
"""SetPropertyValue(self, PGPropArg id, wxVariant value)"""
1456
return _propgrid.PropertyGridInterface_SetPropertyValue(*args, **kwargs)
1458
def SetValidationFailureBehavior(*args, **kwargs):
1459
"""SetValidationFailureBehavior(self, int vfbFlags)"""
1460
return _propgrid.PropertyGridInterface_SetValidationFailureBehavior(*args, **kwargs)
1462
def Sort(*args, **kwargs):
1463
"""Sort(self, int flags=0)"""
1464
return _propgrid.PropertyGridInterface_Sort(*args, **kwargs)
1466
def SortChildren(*args, **kwargs):
1467
"""SortChildren(self, PGPropArg id, int flags=0)"""
1468
return _propgrid.PropertyGridInterface_SortChildren(*args, **kwargs)
1470
def GetPropertyByNameA(*args, **kwargs):
1471
"""GetPropertyByNameA(self, String name) -> PGProperty"""
1472
return _propgrid.PropertyGridInterface_GetPropertyByNameA(*args, **kwargs)
1474
def GetEditorByName(*args, **kwargs):
1475
"""GetEditorByName(String editorName) -> PGEditor"""
1476
return _propgrid.PropertyGridInterface_GetEditorByName(*args, **kwargs)
1478
GetEditorByName = staticmethod(GetEditorByName)
1479
def RefreshProperty(*args, **kwargs):
1480
"""RefreshProperty(self, PGProperty p)"""
1481
return _propgrid.PropertyGridInterface_RefreshProperty(*args, **kwargs)
1483
def MapType(class_,factory):
1484
"Registers Python type/class to property mapping.\n\nfactory: "
1485
"Property builder function/class."
1486
global _type2property
1488
mappings = _type2property
1490
raise AssertionError("call only after a propertygrid or "
1491
"manager instance constructed")
1493
mappings[class_] = factory
1496
def DoDefaultTypeMappings(self):
1497
"Map built-in properties."
1498
global _type2property
1500
mappings = _type2property
1505
_type2property = mappings
1507
mappings[str] = StringProperty
1508
mappings[unicode] = StringProperty
1509
mappings[int] = IntProperty
1510
mappings[float] = FloatProperty
1511
mappings[bool] = BoolProperty
1512
mappings[list] = ArrayStringProperty
1513
mappings[tuple] = ArrayStringProperty
1514
mappings[wx.Font] = FontProperty
1515
mappings[wx.Colour] = ColourProperty
1516
"mappings[wx.Size] = SizeProperty"
1517
"mappings[wx.Point] = PointProperty"
1518
"mappings[wx.FontData] = FontDataProperty"
1520
def DoDefaultValueTypeMappings(self):
1521
"Map pg value type ids to getter methods."
1524
vt2getter = _vt2getter
1529
_vt2getter = vt2getter
1531
def GetPropertyValues(self,dict_=None, as_strings=False,
1532
inc_attributes=False):
1533
"Returns values in the grid."
1535
"dict_: if not given, then a new one is created. dict_ can be"
1536
" object as well, in which case it's __dict__ is used."
1537
"as_strings: if True, then string representations of values"
1538
" are fetched instead of native types. Useful for config and "
1540
"inc_attributes: if True, then property attributes are added"
1541
" as @<propname>@<attr>."
1543
"Return value: dictionary with values. It is always a dictionary,"
1544
"so if dict_ was object with __dict__ attribute, then that "
1545
"attribute is returned."
1549
elif hasattr(dict_,'__dict__'):
1550
dict_ = dict_.__dict__
1553
getter = self.GetPropertyValue
1555
getter = self.GetPropertyValueAsString
1557
it = self.GetVIterator(PG_ITERATE_PROPERTIES)
1558
while not it.AtEnd():
1559
p = it.GetProperty()
1562
dict_[name] = getter(p)
1565
attrs = p.GetAttributes()
1566
if attrs and len(attrs):
1567
dict_['@%s@attr'%name] = attrs
1573
GetValues = GetPropertyValues
1576
def SetPropertyValues(self,dict_):
1577
"Sets property values from dict_, which can be either\ndictionary "
1578
"or an object with __dict__ attribute."
1580
"autofill: If true, keys with not relevant properties"
1581
" are auto-created. For more info, see AutoFill."
1584
" * Keys starting with underscore are ignored."
1585
" * Attributes can be set with entries named @<propname>@<attr>."
1592
elif hasattr(dict_,'__dict__'):
1593
dict_ = dict_.__dict__
1597
def set_sub_obj(k0,dict_):
1598
for k,v in dict_.iteritems():
1600
if k.endswith('@attr'):
1601
attr_dicts.append((k[1:-5],v))
1604
self.SetPropertyValue(k,v)
1608
self._AutoFillOne(k0,k,v)
1611
if isinstance(v,dict):
1613
elif hasattr(v,'__dict__'):
1614
set_sub_obj(k,v.__dict__)
1617
for k,v in attr_dicts:
1618
p = GetPropertyByName(k)
1620
raise AssertionError("No such property: '%s'"%k)
1621
for an,av in v.iteritems():
1622
p.SetAttribute(an, av)
1626
is_manager = isinstance(self,PropertyGridManager)
1629
set_sub_obj(self.GetGrid().GetRoot(),dict_)
1632
traceback.print_exc()
1636
SetValues = SetPropertyValues
1638
def _AutoFillMany(self,cat,dict_):
1639
for k,v in dict_.iteritems():
1640
self._AutoFillOne(cat,k,v)
1643
def _AutoFillOne(self,cat,k,v):
1644
global _type2property
1646
factory = _type2property.get(v.__class__,None)
1649
self.AppendIn( cat, factory(k,k,v) )
1650
elif hasattr(v,'__dict__'):
1651
cat2 = self.AppendIn( cat, PropertyCategory(k) )
1652
self._AutoFillMany(cat2,v.__dict__)
1653
elif isinstance(v,dict):
1654
cat2 = self.AppendIn( cat, PropertyCategory(k) )
1655
self._AutoFillMany(cat2,v)
1656
elif not k.startswith('_'):
1657
raise AssertionError("member '%s' is of unregisted type/"
1658
"class '%s'"%(k,v.__class__))
1661
def AutoFill(self,obj,parent=None):
1662
"Clears properties and re-fills to match members and\nvalues of "
1663
"given object or dictionary obj."
1665
self.edited_objects[parent] = obj
1668
is_manager = isinstance(self,PropertyGridManager)
1672
page = self.GetCurrentPage()
1674
parent = page.GetRoot()
1677
parent = self.GetGrid().GetRoot()
1679
it = self.GetIterator(PG_ITERATE_PROPERTIES, parent)
1680
it.Next() # Skip the parent
1681
while not it.AtEnd():
1682
p = it.GetProperty()
1683
if not p.IsSomeParent(parent):
1686
self.DeleteProperty(p)
1691
if not is_manager or page == self.GetCurrentPage():
1696
self._AutoFillMany(parent,obj.__dict__)
1699
traceback.print_exc()
1704
def RegisterEditor(self, editor, editorName=None):
1705
"Transform class into instance, if necessary."
1706
if not isinstance(editor, PGEditor):
1709
editorName = editor.__class__.__name__
1711
self._editor_instances.append(editor)
1713
self._editor_instances = [editor]
1714
RegisterEditor(editor, editorName)
1716
def GetPropertyClientData(self, p):
1717
if isinstance(p, basestring):
1718
p = self.GetPropertyByName(p)
1719
return p.GetClientData()
1721
def SetPropertyClientData(self, p, data):
1722
if isinstance(p, basestring):
1723
p = self.GetPropertyByName(p)
1724
return p.SetClientData(data)
1726
def GetPyIterator(self, flags=PG_ITERATE_DEFAULT,
1727
firstProperty=None):
1729
Returns a pythonic property iterator for a single `PropertyGrid`
1730
or page in `PropertyGridManager`. Arguments are same as for
1731
`GetIterator`. Following example demonstrates iterating absolutely
1732
all items in a single grid::
1734
iterator = propGrid.GetPyIterator(wx.propgrid.PG_ITERATE_ALL)
1735
for prop in iterator:
1738
:see: `wx.propgrid.PropertyGridInterface.Properties`
1739
`wx.propgrid.PropertyGridInterface.Items`
1741
it = self.GetIterator(flags, firstProperty)
1742
while not it.AtEnd():
1743
yield it.GetProperty()
1746
def GetPyVIterator(self, flags=PG_ITERATE_DEFAULT):
1748
Returns a pythonic property iterator for a single `PropertyGrid`
1749
or entire `PropertyGridManager`. Arguments are same as for
1750
`GetIterator`. Following example demonstrates iterating absolutely
1751
all items in an entire `PropertyGridManager`::
1753
iterator = propGridManager.GetPyVIterator(wx.propgrid.PG_ITERATE_ALL)
1754
for prop in iterator:
1757
:see: `wx.propgrid.PropertyGridInterface.Properties`
1758
`wx.propgrid.PropertyGridInterface.Items`
1760
it = self.GetVIterator(flags)
1761
while not it.AtEnd():
1762
yield it.GetProperty()
1766
def Properties(self):
1768
This attribute is a pythonic iterator over all properties in
1769
this `PropertyGrid` property container. It will only skip
1770
categories and private child properties. Usage is simple::
1772
for prop in propGrid.Properties:
1775
:see: `wx.propgrid.PropertyGridInterface.Items`
1776
`wx.propgrid.PropertyGridInterface.GetPyIterator`
1778
it = self.GetVIterator(PG_ITERATE_NORMAL)
1779
while not it.AtEnd():
1780
yield it.GetProperty()
1786
This attribute is a pythonic iterator over all items in this
1787
`PropertyGrid` property container, excluding only private child
1788
properties. Usage is simple::
1790
for prop in propGrid.Items:
1793
:see: `wx.propgrid.PropertyGridInterface.Properties`
1794
`wx.propgrid.PropertyGridInterface.GetPyIterator`
1796
it = self.GetVIterator(PG_ITERATE_NORMAL | PG_ITERATE_CATEGORIES)
1797
while not it.AtEnd():
1798
yield it.GetProperty()
1801
_propgrid.PropertyGridInterface_swigregister(PropertyGridInterface)
1803
def PropertyGridInterface_InitAllTypeHandlers(*args):
1804
"""PropertyGridInterface_InitAllTypeHandlers()"""
1805
return _propgrid.PropertyGridInterface_InitAllTypeHandlers(*args)
1807
def PropertyGridInterface_RegisterAdditionalEditors(*args):
1808
"""PropertyGridInterface_RegisterAdditionalEditors()"""
1809
return _propgrid.PropertyGridInterface_RegisterAdditionalEditors(*args)
1811
def PropertyGridInterface_SetBoolChoices(*args, **kwargs):
1812
"""PropertyGridInterface_SetBoolChoices(String trueChoice, String falseChoice)"""
1813
return _propgrid.PropertyGridInterface_SetBoolChoices(*args, **kwargs)
1815
def PropertyGridInterface_GetEditorByName(*args, **kwargs):
1816
"""PropertyGridInterface_GetEditorByName(String editorName) -> PGEditor"""
1817
return _propgrid.PropertyGridInterface_GetEditorByName(*args, **kwargs)
1819
PG_AUTO_SORT = _propgrid.PG_AUTO_SORT
1820
PG_HIDE_CATEGORIES = _propgrid.PG_HIDE_CATEGORIES
1821
PG_ALPHABETIC_MODE = _propgrid.PG_ALPHABETIC_MODE
1822
PG_BOLD_MODIFIED = _propgrid.PG_BOLD_MODIFIED
1823
PG_SPLITTER_AUTO_CENTER = _propgrid.PG_SPLITTER_AUTO_CENTER
1824
PG_TOOLTIPS = _propgrid.PG_TOOLTIPS
1825
PG_HIDE_MARGIN = _propgrid.PG_HIDE_MARGIN
1826
PG_STATIC_SPLITTER = _propgrid.PG_STATIC_SPLITTER
1827
PG_STATIC_LAYOUT = _propgrid.PG_STATIC_LAYOUT
1828
PG_LIMITED_EDITING = _propgrid.PG_LIMITED_EDITING
1829
PG_TOOLBAR = _propgrid.PG_TOOLBAR
1830
PG_DESCRIPTION = _propgrid.PG_DESCRIPTION
1831
PG_NO_INTERNAL_BORDER = _propgrid.PG_NO_INTERNAL_BORDER
1832
PG_EX_INIT_NOCAT = _propgrid.PG_EX_INIT_NOCAT
1833
PG_EX_NO_FLAT_TOOLBAR = _propgrid.PG_EX_NO_FLAT_TOOLBAR
1834
PG_EX_MODE_BUTTONS = _propgrid.PG_EX_MODE_BUTTONS
1835
PG_EX_HELP_AS_TOOLTIPS = _propgrid.PG_EX_HELP_AS_TOOLTIPS
1836
PG_EX_NATIVE_DOUBLE_BUFFERING = _propgrid.PG_EX_NATIVE_DOUBLE_BUFFERING
1837
PG_EX_AUTO_UNSPECIFIED_VALUES = _propgrid.PG_EX_AUTO_UNSPECIFIED_VALUES
1838
PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES = _propgrid.PG_EX_WRITEONLY_BUILTIN_ATTRIBUTES
1839
PG_EX_HIDE_PAGE_BUTTONS = _propgrid.PG_EX_HIDE_PAGE_BUTTONS
1840
PG_EX_MULTIPLE_SELECTION = _propgrid.PG_EX_MULTIPLE_SELECTION
1841
PG_EX_ENABLE_TLP_TRACKING = _propgrid.PG_EX_ENABLE_TLP_TRACKING
1842
PG_EX_NO_TOOLBAR_DIVIDER = _propgrid.PG_EX_NO_TOOLBAR_DIVIDER
1843
PG_EX_TOOLBAR_SEPARATOR = _propgrid.PG_EX_TOOLBAR_SEPARATOR
1844
PG_DEFAULT_STYLE = _propgrid.PG_DEFAULT_STYLE
1845
PGMAN_DEFAULT_STYLE = _propgrid.PGMAN_DEFAULT_STYLE
1846
PG_SUBID1 = _propgrid.PG_SUBID1
1847
PG_SUBID2 = _propgrid.PG_SUBID2
1848
PG_SUBID_TEMP1 = _propgrid.PG_SUBID_TEMP1
1849
class PGCommonValue(object):
1850
"""Proxy of C++ PGCommonValue class"""
1851
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1852
__repr__ = _swig_repr
1853
def __init__(self, *args, **kwargs):
1854
"""__init__(self, String label, renderer) -> PGCommonValue"""
1855
_propgrid.PGCommonValue_swiginit(self,_propgrid.new_PGCommonValue(*args, **kwargs))
1856
__swig_destroy__ = _propgrid.delete_PGCommonValue
1857
__del__ = lambda self : None;
1858
def GetEditableText(*args, **kwargs):
1859
"""GetEditableText(self) -> String"""
1860
return _propgrid.PGCommonValue_GetEditableText(*args, **kwargs)
1862
def GetLabel(*args, **kwargs):
1863
"""GetLabel(self) -> String"""
1864
return _propgrid.PGCommonValue_GetLabel(*args, **kwargs)
1866
def GetRenderer(*args, **kwargs):
1867
"""GetRenderer(self)"""
1868
return _propgrid.PGCommonValue_GetRenderer(*args, **kwargs)
1870
_propgrid.PGCommonValue_swigregister(PGCommonValue)
1872
PG_VFB_STAY_IN_PROPERTY = _propgrid.PG_VFB_STAY_IN_PROPERTY
1873
PG_VFB_BEEP = _propgrid.PG_VFB_BEEP
1874
PG_VFB_MARK_CELL = _propgrid.PG_VFB_MARK_CELL
1875
PG_VFB_SHOW_MESSAGE = _propgrid.PG_VFB_SHOW_MESSAGE
1876
PG_VFB_SHOW_MESSAGEBOX = _propgrid.PG_VFB_SHOW_MESSAGEBOX
1877
PG_VFB_SHOW_MESSAGE_ON_STATUSBAR = _propgrid.PG_VFB_SHOW_MESSAGE_ON_STATUSBAR
1878
PG_VFB_DEFAULT = _propgrid.PG_VFB_DEFAULT
1879
PG_VFB_UNDEFINED = _propgrid.PG_VFB_UNDEFINED
1880
class PGValidationInfo(object):
1881
"""Proxy of C++ PGValidationInfo class"""
1882
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1883
__repr__ = _swig_repr
1884
def __init__(self, *args, **kwargs):
1885
"""__init__(self) -> PGValidationInfo"""
1886
_propgrid.PGValidationInfo_swiginit(self,_propgrid.new_PGValidationInfo(*args, **kwargs))
1887
__swig_destroy__ = _propgrid.delete_PGValidationInfo
1888
__del__ = lambda self : None;
1889
def GetFailureBehavior(*args, **kwargs):
1890
"""GetFailureBehavior(self) -> char"""
1891
return _propgrid.PGValidationInfo_GetFailureBehavior(*args, **kwargs)
1893
def GetFailureMessage(*args, **kwargs):
1894
"""GetFailureMessage(self) -> String"""
1895
return _propgrid.PGValidationInfo_GetFailureMessage(*args, **kwargs)
1897
def GetValue(*args, **kwargs):
1898
"""GetValue(self) -> wxVariant"""
1899
return _propgrid.PGValidationInfo_GetValue(*args, **kwargs)
1901
def SetFailureBehavior(*args, **kwargs):
1902
"""SetFailureBehavior(self, char failureBehavior)"""
1903
return _propgrid.PGValidationInfo_SetFailureBehavior(*args, **kwargs)
1905
def SetFailureMessage(*args, **kwargs):
1906
"""SetFailureMessage(self, String message)"""
1907
return _propgrid.PGValidationInfo_SetFailureMessage(*args, **kwargs)
1909
_propgrid.PGValidationInfo_swigregister(PGValidationInfo)
1911
PG_ACTION_INVALID = _propgrid.PG_ACTION_INVALID
1912
PG_ACTION_NEXT_PROPERTY = _propgrid.PG_ACTION_NEXT_PROPERTY
1913
PG_ACTION_PREV_PROPERTY = _propgrid.PG_ACTION_PREV_PROPERTY
1914
PG_ACTION_EXPAND_PROPERTY = _propgrid.PG_ACTION_EXPAND_PROPERTY
1915
PG_ACTION_COLLAPSE_PROPERTY = _propgrid.PG_ACTION_COLLAPSE_PROPERTY
1916
PG_ACTION_CANCEL_EDIT = _propgrid.PG_ACTION_CANCEL_EDIT
1917
PG_ACTION_EDIT = _propgrid.PG_ACTION_EDIT
1918
PG_ACTION_PRESS_BUTTON = _propgrid.PG_ACTION_PRESS_BUTTON
1919
PG_ACTION_MAX = _propgrid.PG_ACTION_MAX
1920
PG_SEL_FOCUS = _propgrid.PG_SEL_FOCUS
1921
PG_SEL_FORCE = _propgrid.PG_SEL_FORCE
1922
PG_SEL_NONVISIBLE = _propgrid.PG_SEL_NONVISIBLE
1923
PG_SEL_NOVALIDATE = _propgrid.PG_SEL_NOVALIDATE
1924
PG_SEL_DELETING = _propgrid.PG_SEL_DELETING
1925
PG_SEL_SETUNSPEC = _propgrid.PG_SEL_SETUNSPEC
1926
PG_SEL_DIALOGVAL = _propgrid.PG_SEL_DIALOGVAL
1927
PG_SEL_DONT_SEND_EVENT = _propgrid.PG_SEL_DONT_SEND_EVENT
1928
PG_SEL_NO_REFRESH = _propgrid.PG_SEL_NO_REFRESH
1929
PG_SPLITTER_REFRESH = _propgrid.PG_SPLITTER_REFRESH
1930
PG_SPLITTER_ALL_PAGES = _propgrid.PG_SPLITTER_ALL_PAGES
1931
PG_SPLITTER_FROM_EVENT = _propgrid.PG_SPLITTER_FROM_EVENT
1932
PG_SPLITTER_FROM_AUTO_CENTER = _propgrid.PG_SPLITTER_FROM_AUTO_CENTER
1933
PG_FL_INITIALIZED = _propgrid.PG_FL_INITIALIZED
1934
PG_FL_ACTIVATION_BY_CLICK = _propgrid.PG_FL_ACTIVATION_BY_CLICK
1935
PG_FL_DONT_CENTER_SPLITTER = _propgrid.PG_FL_DONT_CENTER_SPLITTER
1936
PG_FL_FOCUSED = _propgrid.PG_FL_FOCUSED
1937
PG_FL_MOUSE_CAPTURED = _propgrid.PG_FL_MOUSE_CAPTURED
1938
PG_FL_MOUSE_INSIDE = _propgrid.PG_FL_MOUSE_INSIDE
1939
PG_FL_VALUE_MODIFIED = _propgrid.PG_FL_VALUE_MODIFIED
1940
PG_FL_PRIMARY_FILLS_ENTIRE = _propgrid.PG_FL_PRIMARY_FILLS_ENTIRE
1941
PG_FL_CUR_USES_CUSTOM_IMAGE = _propgrid.PG_FL_CUR_USES_CUSTOM_IMAGE
1942
PG_FL_CELL_OVERRIDES_SEL = _propgrid.PG_FL_CELL_OVERRIDES_SEL
1943
PG_FL_SCROLLED = _propgrid.PG_FL_SCROLLED
1944
PG_FL_ADDING_HIDEABLES = _propgrid.PG_FL_ADDING_HIDEABLES
1945
PG_FL_NOSTATUSBARHELP = _propgrid.PG_FL_NOSTATUSBARHELP
1946
PG_FL_CREATEDSTATE = _propgrid.PG_FL_CREATEDSTATE
1947
PG_FL_SCROLLBAR_DETECTED = _propgrid.PG_FL_SCROLLBAR_DETECTED
1948
PG_FL_DESC_REFRESH_REQUIRED = _propgrid.PG_FL_DESC_REFRESH_REQUIRED
1949
PG_FL_IN_MANAGER = _propgrid.PG_FL_IN_MANAGER
1950
PG_FL_GOOD_SIZE_SET = _propgrid.PG_FL_GOOD_SIZE_SET
1951
PG_FL_IN_SELECT_PROPERTY = _propgrid.PG_FL_IN_SELECT_PROPERTY
1952
PG_FL_STRING_IN_STATUSBAR = _propgrid.PG_FL_STRING_IN_STATUSBAR
1953
PG_FL_CATMODE_AUTO_SORT = _propgrid.PG_FL_CATMODE_AUTO_SORT
1954
PG_MAN_FL_PAGE_INSERTED = _propgrid.PG_MAN_FL_PAGE_INSERTED
1955
PG_FL_ABNORMAL_EDITOR = _propgrid.PG_FL_ABNORMAL_EDITOR
1956
PG_FL_IN_HANDLECUSTOMEDITOREVENT = _propgrid.PG_FL_IN_HANDLECUSTOMEDITOREVENT
1957
PG_FL_VALUE_CHANGE_IN_EVENT = _propgrid.PG_FL_VALUE_CHANGE_IN_EVENT
1958
PG_FL_FIXED_WIDTH_EDITOR = _propgrid.PG_FL_FIXED_WIDTH_EDITOR
1959
PG_FL_HAS_VIRTUAL_WIDTH = _propgrid.PG_FL_HAS_VIRTUAL_WIDTH
1960
PG_FL_RECALCULATING_VIRTUAL_SIZE = _propgrid.PG_FL_RECALCULATING_VIRTUAL_SIZE
1961
class PropertyGrid(_core.Control,_windows.ScrollHelper,PropertyGridInterface):
1962
"""Proxy of C++ PropertyGrid class"""
1963
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1964
__repr__ = _swig_repr
1965
def __init__(self, *args, **kwargs):
1967
__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
1968
Size size=DefaultSize, long style=(0),
1969
String name=wxPropertyGridNameStr) -> PropertyGrid
1971
_propgrid.PropertyGrid_swiginit(self,_propgrid.new_PropertyGrid(*args, **kwargs))
1973
self._setOORInfo(self)
1974
self.DoDefaultTypeMappings()
1975
self.edited_objects = {}
1976
self.DoDefaultValueTypeMappings()
1977
if not hasattr(self.__class__,'_vt2setter'):
1978
self.__class__._vt2setter = {}
1981
__swig_destroy__ = _propgrid.delete_PropertyGrid
1982
__del__ = lambda self : None;
1983
def AddActionTrigger(*args, **kwargs):
1984
"""AddActionTrigger(self, int action, int keycode, int modifiers=0)"""
1985
return _propgrid.PropertyGrid_AddActionTrigger(*args, **kwargs)
1987
def DedicateKey(*args, **kwargs):
1988
"""DedicateKey(self, int keycode)"""
1989
return _propgrid.PropertyGrid_DedicateKey(*args, **kwargs)
1991
def AutoGetTranslation(*args, **kwargs):
1992
"""AutoGetTranslation(bool enable)"""
1993
return _propgrid.PropertyGrid_AutoGetTranslation(*args, **kwargs)
1995
AutoGetTranslation = staticmethod(AutoGetTranslation)
1996
def ChangePropertyValue(*args, **kwargs):
1997
"""ChangePropertyValue(self, PGPropArg id, wxVariant newValue) -> bool"""
1998
return _propgrid.PropertyGrid_ChangePropertyValue(*args, **kwargs)
2000
def CenterSplitter(*args, **kwargs):
2001
"""CenterSplitter(self, bool enableAutoResizing=False)"""
2002
return _propgrid.PropertyGrid_CenterSplitter(*args, **kwargs)
2004
def ClearActionTriggers(*args, **kwargs):
2005
"""ClearActionTriggers(self, int action)"""
2006
return _propgrid.PropertyGrid_ClearActionTriggers(*args, **kwargs)
2008
def CommitChangesFromEditor(*args, **kwargs):
2009
"""CommitChangesFromEditor(self, int flags=0) -> bool"""
2010
return _propgrid.PropertyGrid_CommitChangesFromEditor(*args, **kwargs)
2012
def Create(*args, **kwargs):
2014
Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
2015
Size size=DefaultSize, long style=(0),
2016
String name=wxPropertyGridNameStr) -> bool
2018
return _propgrid.PropertyGrid_Create(*args, **kwargs)
2020
def EditorsValueWasModified(*args, **kwargs):
2021
"""EditorsValueWasModified(self)"""
2022
return _propgrid.PropertyGrid_EditorsValueWasModified(*args, **kwargs)
2024
def EditorsValueWasNotModified(*args, **kwargs):
2025
"""EditorsValueWasNotModified(self)"""
2026
return _propgrid.PropertyGrid_EditorsValueWasNotModified(*args, **kwargs)
2028
def EnableCategories(*args, **kwargs):
2029
"""EnableCategories(self, bool enable) -> bool"""
2030
return _propgrid.PropertyGrid_EnableCategories(*args, **kwargs)
2032
def EnsureVisible(*args, **kwargs):
2033
"""EnsureVisible(self, PGPropArg id) -> bool"""
2034
return _propgrid.PropertyGrid_EnsureVisible(*args, **kwargs)
2036
def FitColumns(*args, **kwargs):
2037
"""FitColumns(self) -> Size"""
2038
return _propgrid.PropertyGrid_FitColumns(*args, **kwargs)
2040
def GetPanel(*args, **kwargs):
2041
"""GetPanel(self) -> Window"""
2042
return _propgrid.PropertyGrid_GetPanel(*args, **kwargs)
2044
def GetCaptionBackgroundColour(*args, **kwargs):
2045
"""GetCaptionBackgroundColour(self) -> Colour"""
2046
return _propgrid.PropertyGrid_GetCaptionBackgroundColour(*args, **kwargs)
2048
def GetCaptionFont(*args):
2050
GetCaptionFont(self) -> Font
2051
GetCaptionFont(self) -> Font
2053
return _propgrid.PropertyGrid_GetCaptionFont(*args)
2055
def GetCaptionForegroundColour(*args, **kwargs):
2056
"""GetCaptionForegroundColour(self) -> Colour"""
2057
return _propgrid.PropertyGrid_GetCaptionForegroundColour(*args, **kwargs)
2059
def GetCellBackgroundColour(*args, **kwargs):
2060
"""GetCellBackgroundColour(self) -> Colour"""
2061
return _propgrid.PropertyGrid_GetCellBackgroundColour(*args, **kwargs)
2063
def GetCellDisabledTextColour(*args, **kwargs):
2064
"""GetCellDisabledTextColour(self) -> Colour"""
2065
return _propgrid.PropertyGrid_GetCellDisabledTextColour(*args, **kwargs)
2067
def GetCellTextColour(*args, **kwargs):
2068
"""GetCellTextColour(self) -> Colour"""
2069
return _propgrid.PropertyGrid_GetCellTextColour(*args, **kwargs)
2071
def GetColumnCount(*args, **kwargs):
2072
"""GetColumnCount(self) -> int"""
2073
return _propgrid.PropertyGrid_GetColumnCount(*args, **kwargs)
2075
def GetEmptySpaceColour(*args, **kwargs):
2076
"""GetEmptySpaceColour(self) -> Colour"""
2077
return _propgrid.PropertyGrid_GetEmptySpaceColour(*args, **kwargs)
2079
def GetFontHeight(*args, **kwargs):
2080
"""GetFontHeight(self) -> int"""
2081
return _propgrid.PropertyGrid_GetFontHeight(*args, **kwargs)
2083
def GetGrid(*args, **kwargs):
2084
"""GetGrid(self) -> PropertyGrid"""
2085
return _propgrid.PropertyGrid_GetGrid(*args, **kwargs)
2087
def GetImageRect(*args, **kwargs):
2088
"""GetImageRect(self, PGProperty p, int item) -> Rect"""
2089
return _propgrid.PropertyGrid_GetImageRect(*args, **kwargs)
2091
def GetImageSize(*args, **kwargs):
2092
"""GetImageSize(self, PGProperty p=None, int item=-1) -> Size"""
2093
return _propgrid.PropertyGrid_GetImageSize(*args, **kwargs)
2095
def GetLastItem(*args):
2097
GetLastItem(self, int flags=PG_ITERATE_DEFAULT) -> PGProperty
2098
GetLastItem(self, int flags=PG_ITERATE_DEFAULT) -> PGProperty
2100
return _propgrid.PropertyGrid_GetLastItem(*args)
2102
def GetLineColour(*args, **kwargs):
2103
"""GetLineColour(self) -> Colour"""
2104
return _propgrid.PropertyGrid_GetLineColour(*args, **kwargs)
2106
def GetMarginColour(*args, **kwargs):
2107
"""GetMarginColour(self) -> Colour"""
2108
return _propgrid.PropertyGrid_GetMarginColour(*args, **kwargs)
2110
def GetMarginWidth(*args, **kwargs):
2111
"""GetMarginWidth(self) -> int"""
2112
return _propgrid.PropertyGrid_GetMarginWidth(*args, **kwargs)
2114
def GetUncommittedPropertyValue(*args, **kwargs):
2115
"""GetUncommittedPropertyValue(self) -> wxVariant"""
2116
return _propgrid.PropertyGrid_GetUncommittedPropertyValue(*args, **kwargs)
2118
def GetRoot(*args, **kwargs):
2119
"""GetRoot(self) -> PGProperty"""
2120
return _propgrid.PropertyGrid_GetRoot(*args, **kwargs)
2122
def GetRowHeight(*args, **kwargs):
2123
"""GetRowHeight(self) -> int"""
2124
return _propgrid.PropertyGrid_GetRowHeight(*args, **kwargs)
2126
def GetSelectedProperty(*args, **kwargs):
2127
"""GetSelectedProperty(self) -> PGProperty"""
2128
return _propgrid.PropertyGrid_GetSelectedProperty(*args, **kwargs)
2130
def GetSelectionBackgroundColour(*args, **kwargs):
2131
"""GetSelectionBackgroundColour(self) -> Colour"""
2132
return _propgrid.PropertyGrid_GetSelectionBackgroundColour(*args, **kwargs)
2134
def GetSelectionForegroundColour(*args, **kwargs):
2135
"""GetSelectionForegroundColour(self) -> Colour"""
2136
return _propgrid.PropertyGrid_GetSelectionForegroundColour(*args, **kwargs)
2138
def GetSplitterPosition(*args, **kwargs):
2139
"""GetSplitterPosition(self, int splitterIndex=0) -> int"""
2140
return _propgrid.PropertyGrid_GetSplitterPosition(*args, **kwargs)
2142
def GetEditorTextCtrl(*args, **kwargs):
2143
"""GetEditorTextCtrl(self) -> wxTextCtrl"""
2144
return _propgrid.PropertyGrid_GetEditorTextCtrl(*args, **kwargs)
2146
def GetValidationInfo(*args, **kwargs):
2147
"""GetValidationInfo(self) -> PGValidationInfo"""
2148
return _propgrid.PropertyGrid_GetValidationInfo(*args, **kwargs)
2150
def GetVerticalSpacing(*args, **kwargs):
2151
"""GetVerticalSpacing(self) -> int"""
2152
return _propgrid.PropertyGrid_GetVerticalSpacing(*args, **kwargs)
2154
def IsEditorFocused(*args, **kwargs):
2155
"""IsEditorFocused(self) -> bool"""
2156
return _propgrid.PropertyGrid_IsEditorFocused(*args, **kwargs)
2158
def IsEditorsValueModified(*args, **kwargs):
2159
"""IsEditorsValueModified(self) -> bool"""
2160
return _propgrid.PropertyGrid_IsEditorsValueModified(*args, **kwargs)
2162
def HitTest(*args, **kwargs):
2164
HitTest(self, Point pt) -> PropertyGridHitTestResult
2166
Test where the given (in client coords) point lies
2168
return _propgrid.PropertyGrid_HitTest(*args, **kwargs)
2170
def IsAnyModified(*args, **kwargs):
2171
"""IsAnyModified(self) -> bool"""
2172
return _propgrid.PropertyGrid_IsAnyModified(*args, **kwargs)
2174
def IsFrozen(*args, **kwargs):
2176
IsFrozen(self) -> bool
2178
Returns ``True`` if the window has been frozen and not thawed yet.
2180
:see: `Freeze` and `Thaw`
2182
return _propgrid.PropertyGrid_IsFrozen(*args, **kwargs)
2184
def OnTLPChanging(*args, **kwargs):
2185
"""OnTLPChanging(self, Window newTLP)"""
2186
return _propgrid.PropertyGrid_OnTLPChanging(*args, **kwargs)
2188
def ResetColours(*args, **kwargs):
2189
"""ResetColours(self)"""
2190
return _propgrid.PropertyGrid_ResetColours(*args, **kwargs)
2192
def ResetColumnSizes(*args, **kwargs):
2193
"""ResetColumnSizes(self, bool enableAutoResizing=False)"""
2194
return _propgrid.PropertyGrid_ResetColumnSizes(*args, **kwargs)
2196
def SelectProperty(*args, **kwargs):
2197
"""SelectProperty(self, PGPropArg id, bool focus=False) -> bool"""
2198
return _propgrid.PropertyGrid_SelectProperty(*args, **kwargs)
2200
def SetSelection(*args, **kwargs):
2201
"""SetSelection(self, wxArrayPGProperty newSelection)"""
2202
return _propgrid.PropertyGrid_SetSelection(*args, **kwargs)
2204
def AddToSelection(*args, **kwargs):
2205
"""AddToSelection(self, PGPropArg id) -> bool"""
2206
return _propgrid.PropertyGrid_AddToSelection(*args, **kwargs)
2208
def RemoveFromSelection(*args, **kwargs):
2209
"""RemoveFromSelection(self, PGPropArg id) -> bool"""
2210
return _propgrid.PropertyGrid_RemoveFromSelection(*args, **kwargs)
2212
def MakeColumnEditable(*args, **kwargs):
2213
"""MakeColumnEditable(self, int column, bool editable=True)"""
2214
return _propgrid.PropertyGrid_MakeColumnEditable(*args, **kwargs)
2216
def BeginLabelEdit(*args, **kwargs):
2217
"""BeginLabelEdit(self, int column=0)"""
2218
return _propgrid.PropertyGrid_BeginLabelEdit(*args, **kwargs)
2220
def EndLabelEdit(*args, **kwargs):
2221
"""EndLabelEdit(self, bool commit=True)"""
2222
return _propgrid.PropertyGrid_EndLabelEdit(*args, **kwargs)
2224
def GetLabelEditor(*args, **kwargs):
2225
"""GetLabelEditor(self) -> wxTextCtrl"""
2226
return _propgrid.PropertyGrid_GetLabelEditor(*args, **kwargs)
2228
def SetCaptionBackgroundColour(*args, **kwargs):
2229
"""SetCaptionBackgroundColour(self, Colour col)"""
2230
return _propgrid.PropertyGrid_SetCaptionBackgroundColour(*args, **kwargs)
2232
def SetCaptionTextColour(*args, **kwargs):
2233
"""SetCaptionTextColour(self, Colour col)"""
2234
return _propgrid.PropertyGrid_SetCaptionTextColour(*args, **kwargs)
2236
def SetCellBackgroundColour(*args, **kwargs):
2237
"""SetCellBackgroundColour(self, Colour col)"""
2238
return _propgrid.PropertyGrid_SetCellBackgroundColour(*args, **kwargs)
2240
def SetCellDisabledTextColour(*args, **kwargs):
2241
"""SetCellDisabledTextColour(self, Colour col)"""
2242
return _propgrid.PropertyGrid_SetCellDisabledTextColour(*args, **kwargs)
2244
def SetCellTextColour(*args, **kwargs):
2245
"""SetCellTextColour(self, Colour col)"""
2246
return _propgrid.PropertyGrid_SetCellTextColour(*args, **kwargs)
2248
def SetColumnCount(*args, **kwargs):
2249
"""SetColumnCount(self, int colCount)"""
2250
return _propgrid.PropertyGrid_SetColumnCount(*args, **kwargs)
2252
def SetCurrentCategory(*args, **kwargs):
2253
"""SetCurrentCategory(self, PGPropArg id)"""
2254
return _propgrid.PropertyGrid_SetCurrentCategory(*args, **kwargs)
2256
def SetEmptySpaceColour(*args, **kwargs):
2257
"""SetEmptySpaceColour(self, Colour col)"""
2258
return _propgrid.PropertyGrid_SetEmptySpaceColour(*args, **kwargs)
2260
def SetLineColour(*args, **kwargs):
2261
"""SetLineColour(self, Colour col)"""
2262
return _propgrid.PropertyGrid_SetLineColour(*args, **kwargs)
2264
def SetMarginColour(*args, **kwargs):
2265
"""SetMarginColour(self, Colour col)"""
2266
return _propgrid.PropertyGrid_SetMarginColour(*args, **kwargs)
2268
def SetSelectionBackgroundColour(*args, **kwargs):
2269
"""SetSelectionBackgroundColour(self, Colour col)"""
2270
return _propgrid.PropertyGrid_SetSelectionBackgroundColour(*args, **kwargs)
2272
def SetSelectionTextColour(*args, **kwargs):
2273
"""SetSelectionTextColour(self, Colour col)"""
2274
return _propgrid.PropertyGrid_SetSelectionTextColour(*args, **kwargs)
2276
def SetSplitterPosition(*args, **kwargs):
2277
"""SetSplitterPosition(self, int newXPos, int col=0)"""
2278
return _propgrid.PropertyGrid_SetSplitterPosition(*args, **kwargs)
2280
def SetSortFunction(*args, **kwargs):
2281
"""SetSortFunction(self, PGSortCallback sortFunction)"""
2282
return _propgrid.PropertyGrid_SetSortFunction(*args, **kwargs)
2284
def GetSortFunction(*args, **kwargs):
2285
"""GetSortFunction(self) -> PGSortCallback"""
2286
return _propgrid.PropertyGrid_GetSortFunction(*args, **kwargs)
2288
def SetUnspecifiedValueAppearance(*args, **kwargs):
2289
"""SetUnspecifiedValueAppearance(self, PGCell cell)"""
2290
return _propgrid.PropertyGrid_SetUnspecifiedValueAppearance(*args, **kwargs)
2292
def GetUnspecifiedValueAppearance(*args, **kwargs):
2293
"""GetUnspecifiedValueAppearance(self) -> PGCell"""
2294
return _propgrid.PropertyGrid_GetUnspecifiedValueAppearance(*args, **kwargs)
2296
def GetUnspecifiedValueText(*args, **kwargs):
2297
"""GetUnspecifiedValueText(self, int argFlags=0) -> String"""
2298
return _propgrid.PropertyGrid_GetUnspecifiedValueText(*args, **kwargs)
2300
def SetVirtualWidth(*args, **kwargs):
2301
"""SetVirtualWidth(self, int width)"""
2302
return _propgrid.PropertyGrid_SetVirtualWidth(*args, **kwargs)
2304
def SetSplitterLeft(*args, **kwargs):
2305
"""SetSplitterLeft(self, bool privateChildrenToo=False)"""
2306
return _propgrid.PropertyGrid_SetSplitterLeft(*args, **kwargs)
2308
def SetVerticalSpacing(*args, **kwargs):
2309
"""SetVerticalSpacing(self, int vspacing)"""
2310
return _propgrid.PropertyGrid_SetVerticalSpacing(*args, **kwargs)
2312
def ShowPropertyError(*args, **kwargs):
2313
"""ShowPropertyError(self, PGPropArg id, String msg)"""
2314
return _propgrid.PropertyGrid_ShowPropertyError(*args, **kwargs)
2316
def HasVirtualWidth(*args, **kwargs):
2317
"""HasVirtualWidth(self) -> bool"""
2318
return _propgrid.PropertyGrid_HasVirtualWidth(*args, **kwargs)
2320
def GetCommonValue(*args, **kwargs):
2321
"""GetCommonValue(self, int i) -> PGCommonValue"""
2322
return _propgrid.PropertyGrid_GetCommonValue(*args, **kwargs)
2324
def GetCommonValueCount(*args, **kwargs):
2325
"""GetCommonValueCount(self) -> int"""
2326
return _propgrid.PropertyGrid_GetCommonValueCount(*args, **kwargs)
2328
def GetCommonValueLabel(*args, **kwargs):
2329
"""GetCommonValueLabel(self, int i) -> String"""
2330
return _propgrid.PropertyGrid_GetCommonValueLabel(*args, **kwargs)
2332
def GetUnspecifiedCommonValue(*args, **kwargs):
2333
"""GetUnspecifiedCommonValue(self) -> int"""
2334
return _propgrid.PropertyGrid_GetUnspecifiedCommonValue(*args, **kwargs)
2336
def SetUnspecifiedCommonValue(*args, **kwargs):
2337
"""SetUnspecifiedCommonValue(self, int index)"""
2338
return _propgrid.PropertyGrid_SetUnspecifiedCommonValue(*args, **kwargs)
2340
def GenerateEditorButton(*args, **kwargs):
2341
"""GenerateEditorButton(self, Point pos, Size sz) -> Window"""
2342
return _propgrid.PropertyGrid_GenerateEditorButton(*args, **kwargs)
2344
def FixPosForTextCtrl(*args, **kwargs):
2345
"""FixPosForTextCtrl(self, Window ctrl, int forColumn=1, Point offset=wxPoint(0, 0))"""
2346
return _propgrid.PropertyGrid_FixPosForTextCtrl(*args, **kwargs)
2348
def GenerateEditorTextCtrl(*args, **kwargs):
2350
GenerateEditorTextCtrl(self, Point pos, Size sz, String value, Window secondary,
2351
int extraStyle=0, int maxLen=0, int forColumn=1) -> Window
2353
return _propgrid.PropertyGrid_GenerateEditorTextCtrl(*args, **kwargs)
2355
def GenerateEditorTextCtrlAndButton(*args, **kwargs):
2357
GenerateEditorTextCtrlAndButton(self, Point pos, Size sz, Window psecondary, int limited_editing,
2358
PGProperty property) -> Window
2360
return _propgrid.PropertyGrid_GenerateEditorTextCtrlAndButton(*args, **kwargs)
2362
def GetGoodEditorDialogPosition(*args, **kwargs):
2363
"""GetGoodEditorDialogPosition(self, PGProperty p, Size sz) -> Point"""
2364
return _propgrid.PropertyGrid_GetGoodEditorDialogPosition(*args, **kwargs)
2366
def ExpandEscapeSequences(*args, **kwargs):
2367
"""ExpandEscapeSequences(String dst_str, String src_str) -> String"""
2368
return _propgrid.PropertyGrid_ExpandEscapeSequences(*args, **kwargs)
2370
ExpandEscapeSequences = staticmethod(ExpandEscapeSequences)
2371
def CreateEscapeSequences(*args, **kwargs):
2372
"""CreateEscapeSequences(String dst_str, String src_str) -> String"""
2373
return _propgrid.PropertyGrid_CreateEscapeSequences(*args, **kwargs)
2375
CreateEscapeSequences = staticmethod(CreateEscapeSequences)
2376
def GetPropertyRect(*args, **kwargs):
2377
"""GetPropertyRect(self, PGProperty p1, PGProperty p2) -> Rect"""
2378
return _propgrid.PropertyGrid_GetPropertyRect(*args, **kwargs)
2380
def GetEditorControl(*args, **kwargs):
2381
"""GetEditorControl(self) -> Window"""
2382
return _propgrid.PropertyGrid_GetEditorControl(*args, **kwargs)
2384
def GetPrimaryEditor(*args, **kwargs):
2385
"""GetPrimaryEditor(self) -> Window"""
2386
return _propgrid.PropertyGrid_GetPrimaryEditor(*args, **kwargs)
2388
def GetEditorControlSecondary(*args, **kwargs):
2389
"""GetEditorControlSecondary(self) -> Window"""
2390
return _propgrid.PropertyGrid_GetEditorControlSecondary(*args, **kwargs)
2392
def RefreshEditor(*args, **kwargs):
2393
"""RefreshEditor(self)"""
2394
return _propgrid.PropertyGrid_RefreshEditor(*args, **kwargs)
2396
def HandleCustomEditorEvent(*args, **kwargs):
2397
"""HandleCustomEditorEvent(self, Event event) -> bool"""
2398
return _propgrid.PropertyGrid_HandleCustomEditorEvent(*args, **kwargs)
2400
def GetInternalFlags(*args, **kwargs):
2401
"""GetInternalFlags(self) -> long"""
2402
return _propgrid.PropertyGrid_GetInternalFlags(*args, **kwargs)
2404
def HasInternalFlag(*args, **kwargs):
2405
"""HasInternalFlag(self, long flag) -> bool"""
2406
return _propgrid.PropertyGrid_HasInternalFlag(*args, **kwargs)
2408
def SetInternalFlag(*args, **kwargs):
2409
"""SetInternalFlag(self, long flag)"""
2410
return _propgrid.PropertyGrid_SetInternalFlag(*args, **kwargs)
2412
def ClearInternalFlag(*args, **kwargs):
2413
"""ClearInternalFlag(self, long flag)"""
2414
return _propgrid.PropertyGrid_ClearInternalFlag(*args, **kwargs)
2416
def DoubleToString(*args, **kwargs):
2418
DoubleToString(String target, double value, int precision, bool removeZeroes,
2419
String precTemplate=None) -> String
2421
return _propgrid.PropertyGrid_DoubleToString(*args, **kwargs)
2423
DoubleToString = staticmethod(DoubleToString)
2424
def ValueChangeInEvent(*args, **kwargs):
2425
"""ValueChangeInEvent(self, wxVariant variant)"""
2426
return _propgrid.PropertyGrid_ValueChangeInEvent(*args, **kwargs)
2428
def WasValueChangedInEvent(*args, **kwargs):
2429
"""WasValueChangedInEvent(self) -> bool"""
2430
return _propgrid.PropertyGrid_WasValueChangedInEvent(*args, **kwargs)
2432
def IsMainButtonEvent(*args, **kwargs):
2433
"""IsMainButtonEvent(self, Event event) -> bool"""
2434
return _propgrid.PropertyGrid_IsMainButtonEvent(*args, **kwargs)
2436
def DoHidePropertyError(*args, **kwargs):
2437
"""DoHidePropertyError(self, PGProperty property)"""
2438
return _propgrid.PropertyGrid_DoHidePropertyError(*args, **kwargs)
2440
def GetSpacingY(*args, **kwargs):
2441
"""GetSpacingY(self) -> int"""
2442
return _propgrid.PropertyGrid_GetSpacingY(*args, **kwargs)
2444
def SetupTextCtrlValue(*args, **kwargs):
2445
"""SetupTextCtrlValue(self, String text)"""
2446
return _propgrid.PropertyGrid_SetupTextCtrlValue(*args, **kwargs)
2448
def UnfocusEditor(*args, **kwargs):
2449
"""UnfocusEditor(self) -> bool"""
2450
return _propgrid.PropertyGrid_UnfocusEditor(*args, **kwargs)
2452
def GetPropertyDefaultCell(*args, **kwargs):
2453
"""GetPropertyDefaultCell(self) -> PGCell"""
2454
return _propgrid.PropertyGrid_GetPropertyDefaultCell(*args, **kwargs)
2456
def GetCategoryDefaultCell(*args, **kwargs):
2457
"""GetCategoryDefaultCell(self) -> PGCell"""
2458
return _propgrid.PropertyGrid_GetCategoryDefaultCell(*args, **kwargs)
2460
def GetItemAtY(*args, **kwargs):
2461
"""GetItemAtY(self, int y) -> PGProperty"""
2462
return _propgrid.PropertyGrid_GetItemAtY(*args, **kwargs)
2464
_propgrid.PropertyGrid_swigregister(PropertyGrid)
2466
def PropertyGrid_AutoGetTranslation(*args, **kwargs):
2467
"""PropertyGrid_AutoGetTranslation(bool enable)"""
2468
return _propgrid.PropertyGrid_AutoGetTranslation(*args, **kwargs)
2470
def PropertyGrid_ExpandEscapeSequences(*args, **kwargs):
2471
"""PropertyGrid_ExpandEscapeSequences(String dst_str, String src_str) -> String"""
2472
return _propgrid.PropertyGrid_ExpandEscapeSequences(*args, **kwargs)
2474
def PropertyGrid_CreateEscapeSequences(*args, **kwargs):
2475
"""PropertyGrid_CreateEscapeSequences(String dst_str, String src_str) -> String"""
2476
return _propgrid.PropertyGrid_CreateEscapeSequences(*args, **kwargs)
2478
def PropertyGrid_DoubleToString(*args, **kwargs):
2480
PropertyGrid_DoubleToString(String target, double value, int precision, bool removeZeroes,
2481
String precTemplate=None) -> String
2483
return _propgrid.PropertyGrid_DoubleToString(*args, **kwargs)
2485
PG_BASE_EVT_PRE_ID = _propgrid.PG_BASE_EVT_PRE_ID
2486
wxEVT_PG_SELECTED = _propgrid.wxEVT_PG_SELECTED
2487
wxEVT_PG_CHANGING = _propgrid.wxEVT_PG_CHANGING
2488
wxEVT_PG_CHANGED = _propgrid.wxEVT_PG_CHANGED
2489
wxEVT_PG_HIGHLIGHTED = _propgrid.wxEVT_PG_HIGHLIGHTED
2490
wxEVT_PG_RIGHT_CLICK = _propgrid.wxEVT_PG_RIGHT_CLICK
2491
wxEVT_PG_PAGE_CHANGED = _propgrid.wxEVT_PG_PAGE_CHANGED
2492
wxEVT_PG_ITEM_COLLAPSED = _propgrid.wxEVT_PG_ITEM_COLLAPSED
2493
wxEVT_PG_ITEM_EXPANDED = _propgrid.wxEVT_PG_ITEM_EXPANDED
2494
wxEVT_PG_DOUBLE_CLICK = _propgrid.wxEVT_PG_DOUBLE_CLICK
2495
wxEVT_PG_LABEL_EDIT_BEGIN = _propgrid.wxEVT_PG_LABEL_EDIT_BEGIN
2496
wxEVT_PG_LABEL_EDIT_ENDING = _propgrid.wxEVT_PG_LABEL_EDIT_ENDING
2497
wxEVT_PG_COL_BEGIN_DRAG = _propgrid.wxEVT_PG_COL_BEGIN_DRAG
2498
wxEVT_PG_COL_DRAGGING = _propgrid.wxEVT_PG_COL_DRAGGING
2499
wxEVT_PG_COL_END_DRAG = _propgrid.wxEVT_PG_COL_END_DRAG
2500
class PropertyGridEvent(_core.CommandEvent):
2501
"""Proxy of C++ PropertyGridEvent class"""
2502
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2503
__repr__ = _swig_repr
2504
def __init__(self, *args, **kwargs):
2505
"""__init__(self, EventType commandType=0, int id=0) -> PropertyGridEvent"""
2506
_propgrid.PropertyGridEvent_swiginit(self,_propgrid.new_PropertyGridEvent(*args, **kwargs))
2507
__swig_destroy__ = _propgrid.delete_PropertyGridEvent
2508
__del__ = lambda self : None;
2509
def GetColumn(*args, **kwargs):
2510
"""GetColumn(self) -> int"""
2511
return _propgrid.PropertyGridEvent_GetColumn(*args, **kwargs)
2513
def GetMainParent(*args, **kwargs):
2514
"""GetMainParent(self) -> PGProperty"""
2515
return _propgrid.PropertyGridEvent_GetMainParent(*args, **kwargs)
2517
def GetProperty(*args, **kwargs):
2518
"""GetProperty(self) -> PGProperty"""
2519
return _propgrid.PropertyGridEvent_GetProperty(*args, **kwargs)
2521
def GetValidationInfo(*args, **kwargs):
2522
"""GetValidationInfo(self) -> PGValidationInfo"""
2523
return _propgrid.PropertyGridEvent_GetValidationInfo(*args, **kwargs)
2525
def CanVeto(*args, **kwargs):
2526
"""CanVeto(self) -> bool"""
2527
return _propgrid.PropertyGridEvent_CanVeto(*args, **kwargs)
2529
def Veto(*args, **kwargs):
2530
"""Veto(self, bool veto=True)"""
2531
return _propgrid.PropertyGridEvent_Veto(*args, **kwargs)
2533
def GetPropertyName(*args, **kwargs):
2534
"""GetPropertyName(self) -> String"""
2535
return _propgrid.PropertyGridEvent_GetPropertyName(*args, **kwargs)
2537
def GetPropertyValue(*args, **kwargs):
2538
"""GetPropertyValue(self) -> wxVariant"""
2539
return _propgrid.PropertyGridEvent_GetPropertyValue(*args, **kwargs)
2541
def GetValue(*args, **kwargs):
2542
"""GetValue(self) -> wxVariant"""
2543
return _propgrid.PropertyGridEvent_GetValue(*args, **kwargs)
2545
def SetValidationFailureBehavior(*args, **kwargs):
2546
"""SetValidationFailureBehavior(self, char flags)"""
2547
return _propgrid.PropertyGridEvent_SetValidationFailureBehavior(*args, **kwargs)
2549
def SetValidationFailureMessage(*args, **kwargs):
2550
"""SetValidationFailureMessage(self, String message)"""
2551
return _propgrid.PropertyGridEvent_SetValidationFailureMessage(*args, **kwargs)
2553
def SetColumn(*args, **kwargs):
2554
"""SetColumn(self, int column)"""
2555
return _propgrid.PropertyGridEvent_SetColumn(*args, **kwargs)
2557
def SetCanVeto(*args, **kwargs):
2558
"""SetCanVeto(self, bool canVeto)"""
2559
return _propgrid.PropertyGridEvent_SetCanVeto(*args, **kwargs)
2561
def WasVetoed(*args, **kwargs):
2562
"""WasVetoed(self) -> bool"""
2563
return _propgrid.PropertyGridEvent_WasVetoed(*args, **kwargs)
2565
def SetProperty(*args, **kwargs):
2566
"""SetProperty(self, PGProperty p)"""
2567
return _propgrid.PropertyGridEvent_SetProperty(*args, **kwargs)
2569
_propgrid.PropertyGridEvent_swigregister(PropertyGridEvent)
2571
class PropertyGridPopulator(object):
2572
"""Proxy of C++ PropertyGridPopulator class"""
2573
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2574
def __init__(self): raise AttributeError, "No constructor defined"
2575
__repr__ = _swig_repr
2576
__swig_destroy__ = _propgrid.delete_PropertyGridPopulator
2577
__del__ = lambda self : None;
2578
def SetState(*args, **kwargs):
2579
"""SetState(self, state)"""
2580
return _propgrid.PropertyGridPopulator_SetState(*args, **kwargs)
2582
def SetGrid(*args, **kwargs):
2583
"""SetGrid(self, PropertyGrid pg)"""
2584
return _propgrid.PropertyGridPopulator_SetGrid(*args, **kwargs)
2586
def Add(*args, **kwargs):
2588
Add(self, String propClass, String propLabel, String propName,
2589
String propValue, PGChoices pChoices=None) -> PGProperty
2591
return _propgrid.PropertyGridPopulator_Add(*args, **kwargs)
2593
def AddChildren(*args, **kwargs):
2594
"""AddChildren(self, PGProperty property)"""
2595
return _propgrid.PropertyGridPopulator_AddChildren(*args, **kwargs)
2597
def AddAttribute(*args, **kwargs):
2598
"""AddAttribute(self, String name, String type, String value) -> bool"""
2599
return _propgrid.PropertyGridPopulator_AddAttribute(*args, **kwargs)
2601
def DoScanForChildren(*args, **kwargs):
2602
"""DoScanForChildren(self)"""
2603
return _propgrid.PropertyGridPopulator_DoScanForChildren(*args, **kwargs)
2605
def GetCurParent(*args, **kwargs):
2606
"""GetCurParent(self) -> PGProperty"""
2607
return _propgrid.PropertyGridPopulator_GetCurParent(*args, **kwargs)
2609
def GetState(*args):
2614
return _propgrid.PropertyGridPopulator_GetState(*args)
2616
def ToLongPCT(*args, **kwargs):
2617
"""ToLongPCT(String s, long pval, long max) -> bool"""
2618
return _propgrid.PropertyGridPopulator_ToLongPCT(*args, **kwargs)
2620
ToLongPCT = staticmethod(ToLongPCT)
2621
def ParseChoices(*args, **kwargs):
2622
"""ParseChoices(self, String choicesString, String idString) -> PGChoices"""
2623
return _propgrid.PropertyGridPopulator_ParseChoices(*args, **kwargs)
2625
def ProcessError(*args, **kwargs):
2626
"""ProcessError(self, String msg)"""
2627
return _propgrid.PropertyGridPopulator_ProcessError(*args, **kwargs)
2629
_propgrid.PropertyGridPopulator_swigregister(PropertyGridPopulator)
2631
def PropertyGridPopulator_ToLongPCT(*args, **kwargs):
2632
"""PropertyGridPopulator_ToLongPCT(String s, long pval, long max) -> bool"""
2633
return _propgrid.PropertyGridPopulator_ToLongPCT(*args, **kwargs)
2635
class PGWindowList(object):
2636
"""Proxy of C++ PGWindowList class"""
2637
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2638
__repr__ = _swig_repr
2639
def __init__(self, *args, **kwargs):
2640
"""__init__(self) -> PGWindowList"""
2641
_propgrid.PGWindowList_swiginit(self,_propgrid.new_PGWindowList(*args, **kwargs))
2642
def SetSecondary(*args, **kwargs):
2643
"""SetSecondary(self, Window secondary)"""
2644
return _propgrid.PGWindowList_SetSecondary(*args, **kwargs)
2646
m_primary = property(_propgrid.PGWindowList_m_primary_get, _propgrid.PGWindowList_m_primary_set)
2647
m_secondary = property(_propgrid.PGWindowList_m_secondary_get, _propgrid.PGWindowList_m_secondary_set)
2648
_propgrid.PGWindowList_swigregister(PGWindowList)
2650
class PGEditor(_core.Object):
2651
"""Proxy of C++ PGEditor class"""
2652
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2653
def __init__(self): raise AttributeError, "No constructor defined"
2654
__repr__ = _swig_repr
2655
__swig_destroy__ = _propgrid.delete_PGEditor
2656
__del__ = lambda self : None;
2657
def GetName(*args, **kwargs):
2658
"""GetName(self) -> String"""
2659
return _propgrid.PGEditor_GetName(*args, **kwargs)
2661
def CreateControls(*args, **kwargs):
2663
CreateControls(self, PropertyGrid propgrid, PGProperty property, Point pos,
2664
Size size) -> PGWindowList
2666
return _propgrid.PGEditor_CreateControls(*args, **kwargs)
2668
def UpdateControl(*args, **kwargs):
2669
"""UpdateControl(self, PGProperty property, Window ctrl)"""
2670
return _propgrid.PGEditor_UpdateControl(*args, **kwargs)
2672
def DrawValue(*args, **kwargs):
2673
"""DrawValue(self, DC dc, Rect rect, PGProperty property, String text)"""
2674
return _propgrid.PGEditor_DrawValue(*args, **kwargs)
2676
def OnEvent(*args, **kwargs):
2678
OnEvent(self, PropertyGrid propgrid, PGProperty property, Window wnd_primary,
2679
Event event) -> bool
2681
return _propgrid.PGEditor_OnEvent(*args, **kwargs)
2683
def SetControlAppearance(*args, **kwargs):
2685
SetControlAppearance(self, PropertyGrid pg, PGProperty property, Window ctrl,
2686
PGCell appearance, PGCell oldAppearance, bool unspecified)
2688
return _propgrid.PGEditor_SetControlAppearance(*args, **kwargs)
2690
def SetValueToUnspecified(*args, **kwargs):
2691
"""SetValueToUnspecified(self, PGProperty property, Window ctrl)"""
2692
return _propgrid.PGEditor_SetValueToUnspecified(*args, **kwargs)
2694
def SetControlStringValue(*args, **kwargs):
2695
"""SetControlStringValue(self, PGProperty property, Window ctrl, String txt)"""
2696
return _propgrid.PGEditor_SetControlStringValue(*args, **kwargs)
2698
def SetControlIntValue(*args, **kwargs):
2699
"""SetControlIntValue(self, PGProperty property, Window ctrl, int value)"""
2700
return _propgrid.PGEditor_SetControlIntValue(*args, **kwargs)
2702
def InsertItem(*args, **kwargs):
2703
"""InsertItem(self, Window ctrl, String label, int index) -> int"""
2704
return _propgrid.PGEditor_InsertItem(*args, **kwargs)
2706
def DeleteItem(*args, **kwargs):
2707
"""DeleteItem(self, Window ctrl, int index)"""
2708
return _propgrid.PGEditor_DeleteItem(*args, **kwargs)
2710
def OnFocus(*args, **kwargs):
2711
"""OnFocus(self, PGProperty property, Window wnd)"""
2712
return _propgrid.PGEditor_OnFocus(*args, **kwargs)
2714
def CanContainCustomImage(*args, **kwargs):
2715
"""CanContainCustomImage(self) -> bool"""
2716
return _propgrid.PGEditor_CanContainCustomImage(*args, **kwargs)
2718
m_clientData = property(_propgrid.PGEditor_m_clientData_get, _propgrid.PGEditor_m_clientData_set)
2719
_propgrid.PGEditor_swigregister(PGEditor)
2721
class PGTextCtrlEditor(PGEditor):
2722
"""Proxy of C++ PGTextCtrlEditor class"""
2723
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2724
__repr__ = _swig_repr
2725
def __init__(self, *args, **kwargs):
2726
"""__init__(self) -> PGTextCtrlEditor"""
2727
_propgrid.PGTextCtrlEditor_swiginit(self,_propgrid.new_PGTextCtrlEditor(*args, **kwargs))
2728
__swig_destroy__ = _propgrid.delete_PGTextCtrlEditor
2729
__del__ = lambda self : None;
2730
def OnTextCtrlEvent(*args, **kwargs):
2732
OnTextCtrlEvent(PropertyGrid propgrid, PGProperty property, Window ctrl,
2733
Event event) -> bool
2735
return _propgrid.PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs)
2737
OnTextCtrlEvent = staticmethod(OnTextCtrlEvent)
2738
def GetTextCtrlValueFromControl(*args, **kwargs):
2739
"""GetTextCtrlValueFromControl(wxVariant variant, PGProperty property, Window ctrl) -> bool"""
2740
return _propgrid.PGTextCtrlEditor_GetTextCtrlValueFromControl(*args, **kwargs)
2742
GetTextCtrlValueFromControl = staticmethod(GetTextCtrlValueFromControl)
2743
_propgrid.PGTextCtrlEditor_swigregister(PGTextCtrlEditor)
2745
def PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs):
2747
PGTextCtrlEditor_OnTextCtrlEvent(PropertyGrid propgrid, PGProperty property, Window ctrl,
2748
Event event) -> bool
2750
return _propgrid.PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs)
2752
def PGTextCtrlEditor_GetTextCtrlValueFromControl(*args, **kwargs):
2753
"""PGTextCtrlEditor_GetTextCtrlValueFromControl(wxVariant variant, PGProperty property, Window ctrl) -> bool"""
2754
return _propgrid.PGTextCtrlEditor_GetTextCtrlValueFromControl(*args, **kwargs)
2756
class PGChoiceEditor(PGEditor):
2757
"""Proxy of C++ PGChoiceEditor class"""
2758
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2759
__repr__ = _swig_repr
2760
def __init__(self, *args, **kwargs):
2761
"""__init__(self) -> PGChoiceEditor"""
2762
_propgrid.PGChoiceEditor_swiginit(self,_propgrid.new_PGChoiceEditor(*args, **kwargs))
2763
__swig_destroy__ = _propgrid.delete_PGChoiceEditor
2764
__del__ = lambda self : None;
2765
def CreateControlsBase(*args, **kwargs):
2767
CreateControlsBase(self, PropertyGrid propgrid, PGProperty property, Point pos,
2768
Size sz, long extraStyle) -> Window
2770
return _propgrid.PGChoiceEditor_CreateControlsBase(*args, **kwargs)
2772
_propgrid.PGChoiceEditor_swigregister(PGChoiceEditor)
2774
class PGComboBoxEditor(PGChoiceEditor):
2775
"""Proxy of C++ PGComboBoxEditor class"""
2776
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2777
__repr__ = _swig_repr
2778
def __init__(self, *args, **kwargs):
2779
"""__init__(self) -> PGComboBoxEditor"""
2780
_propgrid.PGComboBoxEditor_swiginit(self,_propgrid.new_PGComboBoxEditor(*args, **kwargs))
2781
__swig_destroy__ = _propgrid.delete_PGComboBoxEditor
2782
__del__ = lambda self : None;
2783
_propgrid.PGComboBoxEditor_swigregister(PGComboBoxEditor)
2785
class PGEditorDialogAdapter(_core.Object):
2786
"""Proxy of C++ PGEditorDialogAdapter class"""
2787
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2788
def __init__(self): raise AttributeError, "No constructor defined"
2789
__repr__ = _swig_repr
2790
__swig_destroy__ = _propgrid.delete_PGEditorDialogAdapter
2791
__del__ = lambda self : None;
2792
def ShowDialog(*args, **kwargs):
2793
"""ShowDialog(self, PropertyGrid propGrid, PGProperty property) -> bool"""
2794
return _propgrid.PGEditorDialogAdapter_ShowDialog(*args, **kwargs)
2796
def DoShowDialog(*args, **kwargs):
2797
"""DoShowDialog(self, PropertyGrid propGrid, PGProperty property) -> bool"""
2798
return _propgrid.PGEditorDialogAdapter_DoShowDialog(*args, **kwargs)
2800
def SetValue(*args, **kwargs):
2801
"""SetValue(self, wxVariant value)"""
2802
return _propgrid.PGEditorDialogAdapter_SetValue(*args, **kwargs)
2804
def GetValue(*args, **kwargs):
2805
"""GetValue(self) -> wxVariant"""
2806
return _propgrid.PGEditorDialogAdapter_GetValue(*args, **kwargs)
2808
m_clientData = property(_propgrid.PGEditorDialogAdapter_m_clientData_get, _propgrid.PGEditorDialogAdapter_m_clientData_set)
2809
_propgrid.PGEditorDialogAdapter_swigregister(PGEditorDialogAdapter)
2811
class PGMultiButton(_core.Window):
2812
"""Proxy of C++ PGMultiButton class"""
2813
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2814
__repr__ = _swig_repr
2815
def __init__(self, *args, **kwargs):
2816
"""__init__(self, PropertyGrid pg, Size sz) -> PGMultiButton"""
2817
_propgrid.PGMultiButton_swiginit(self,_propgrid.new_PGMultiButton(*args, **kwargs))
2819
self._setOORInfo(self)
2822
__swig_destroy__ = _propgrid.delete_PGMultiButton
2823
__del__ = lambda self : None;
2824
def GetButton(*args):
2826
GetButton(self, int i) -> Window
2827
GetButton(self, int i) -> Window
2829
return _propgrid.PGMultiButton_GetButton(*args)
2831
def GetButtonId(*args, **kwargs):
2832
"""GetButtonId(self, int i) -> int"""
2833
return _propgrid.PGMultiButton_GetButtonId(*args, **kwargs)
2835
def GetCount(*args, **kwargs):
2836
"""GetCount(self) -> int"""
2837
return _propgrid.PGMultiButton_GetCount(*args, **kwargs)
2839
def Add(*args, **kwargs):
2840
"""Add(self, String label, int id=-2)"""
2841
return _propgrid.PGMultiButton_Add(*args, **kwargs)
2843
def GetPrimarySize(*args, **kwargs):
2844
"""GetPrimarySize(self) -> Size"""
2845
return _propgrid.PGMultiButton_GetPrimarySize(*args, **kwargs)
2847
def Finalize(*args, **kwargs):
2848
"""Finalize(self, PropertyGrid propGrid, Point pos)"""
2849
return _propgrid.PGMultiButton_Finalize(*args, **kwargs)
2851
def AddBitmapButton(*args, **kwargs):
2852
"""AddBitmapButton(self, Bitmap bitmap, int id=-2)"""
2853
return _propgrid.PGMultiButton_AddBitmapButton(*args, **kwargs)
2855
def AddButton(self, *args, **kwargs):
2856
return self.Add(*args, **kwargs)
2858
_propgrid.PGMultiButton_swigregister(PGMultiButton)
2860
class StringProperty(PGProperty):
2861
"""Proxy of C++ StringProperty class"""
2862
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2863
__repr__ = _swig_repr
2864
def __init__(self, *args, **kwargs):
2866
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
2867
String value=wxEmptyString) -> StringProperty
2869
_propgrid.StringProperty_swiginit(self,_propgrid.new_StringProperty(*args, **kwargs))
2870
__swig_destroy__ = _propgrid.delete_StringProperty
2871
__del__ = lambda self : None;
2872
_propgrid.StringProperty_swigregister(StringProperty)
2874
PG_PROPERTY_VALIDATION_ERROR_MESSAGE = _propgrid.PG_PROPERTY_VALIDATION_ERROR_MESSAGE
2875
PG_PROPERTY_VALIDATION_SATURATE = _propgrid.PG_PROPERTY_VALIDATION_SATURATE
2876
PG_PROPERTY_VALIDATION_WRAP = _propgrid.PG_PROPERTY_VALIDATION_WRAP
2877
class NumericPropertyValidator(object):
2878
"""Proxy of C++ NumericPropertyValidator class"""
2879
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2880
__repr__ = _swig_repr
2881
Signed = _propgrid.NumericPropertyValidator_Signed
2882
Unsigned = _propgrid.NumericPropertyValidator_Unsigned
2883
Float = _propgrid.NumericPropertyValidator_Float
2884
def __init__(self, *args, **kwargs):
2885
"""__init__(self, int numericType, int base=10) -> NumericPropertyValidator"""
2886
_propgrid.NumericPropertyValidator_swiginit(self,_propgrid.new_NumericPropertyValidator(*args, **kwargs))
2887
__swig_destroy__ = _propgrid.delete_NumericPropertyValidator
2888
__del__ = lambda self : None;
2889
def Validate(*args, **kwargs):
2890
"""Validate(self, Window parent) -> bool"""
2891
return _propgrid.NumericPropertyValidator_Validate(*args, **kwargs)
2893
_propgrid.NumericPropertyValidator_swigregister(NumericPropertyValidator)
2895
class IntProperty(PGProperty):
2896
"""Proxy of C++ IntProperty class"""
2897
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2898
__repr__ = _swig_repr
2899
__swig_destroy__ = _propgrid.delete_IntProperty
2900
__del__ = lambda self : None;
2901
def __init__(self, *args):
2903
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
2904
long value=0) -> IntProperty
2905
__init__(self, String label, String name, wxLongLong value) -> IntProperty
2907
_propgrid.IntProperty_swiginit(self,_propgrid.new_IntProperty(*args))
2908
def GetClassValidator(*args, **kwargs):
2909
"""GetClassValidator() -> Validator"""
2910
return _propgrid.IntProperty_GetClassValidator(*args, **kwargs)
2912
GetClassValidator = staticmethod(GetClassValidator)
2913
def DoValidation(*args, **kwargs):
2915
DoValidation(PGProperty property, wxLongLong_t value, PGValidationInfo pValidationInfo,
2916
int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
2918
return _propgrid.IntProperty_DoValidation(*args, **kwargs)
2920
DoValidation = staticmethod(DoValidation)
2921
_propgrid.IntProperty_swigregister(IntProperty)
2923
def IntProperty_GetClassValidator(*args):
2924
"""IntProperty_GetClassValidator() -> Validator"""
2925
return _propgrid.IntProperty_GetClassValidator(*args)
2927
def IntProperty_DoValidation(*args, **kwargs):
2929
IntProperty_DoValidation(PGProperty property, wxLongLong_t value, PGValidationInfo pValidationInfo,
2930
int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
2932
return _propgrid.IntProperty_DoValidation(*args, **kwargs)
2934
class UIntProperty(PGProperty):
2935
"""Proxy of C++ UIntProperty class"""
2936
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2937
__repr__ = _swig_repr
2938
__swig_destroy__ = _propgrid.delete_UIntProperty
2939
__del__ = lambda self : None;
2940
def __init__(self, *args):
2942
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
2943
long value=0) -> UIntProperty
2944
__init__(self, String label, String name, wxULongLong value) -> UIntProperty
2946
_propgrid.UIntProperty_swiginit(self,_propgrid.new_UIntProperty(*args))
2947
_propgrid.UIntProperty_swigregister(UIntProperty)
2949
class FloatProperty(PGProperty):
2950
"""Proxy of C++ FloatProperty class"""
2951
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2952
__repr__ = _swig_repr
2953
def __init__(self, *args, **kwargs):
2955
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
2956
double value=0.0) -> FloatProperty
2958
_propgrid.FloatProperty_swiginit(self,_propgrid.new_FloatProperty(*args, **kwargs))
2959
__swig_destroy__ = _propgrid.delete_FloatProperty
2960
__del__ = lambda self : None;
2961
def DoValidation(*args, **kwargs):
2963
DoValidation(PGProperty property, double value, PGValidationInfo pValidationInfo,
2964
int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
2966
return _propgrid.FloatProperty_DoValidation(*args, **kwargs)
2968
DoValidation = staticmethod(DoValidation)
2969
def GetClassValidator(*args, **kwargs):
2970
"""GetClassValidator() -> Validator"""
2971
return _propgrid.FloatProperty_GetClassValidator(*args, **kwargs)
2973
GetClassValidator = staticmethod(GetClassValidator)
2974
_propgrid.FloatProperty_swigregister(FloatProperty)
2976
def FloatProperty_DoValidation(*args, **kwargs):
2978
FloatProperty_DoValidation(PGProperty property, double value, PGValidationInfo pValidationInfo,
2979
int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
2981
return _propgrid.FloatProperty_DoValidation(*args, **kwargs)
2983
def FloatProperty_GetClassValidator(*args):
2984
"""FloatProperty_GetClassValidator() -> Validator"""
2985
return _propgrid.FloatProperty_GetClassValidator(*args)
2987
class EnumProperty(PGProperty):
2988
"""Proxy of C++ EnumProperty class"""
2989
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2990
__repr__ = _swig_repr
2991
def __init__(self, *args, **kwargs):
2993
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
2994
wxArrayString labels=wxArrayString(),
2995
wxArrayInt values=wxArrayInt(),
2996
int value=0) -> EnumProperty
2998
_propgrid.EnumProperty_swiginit(self,_propgrid.new_EnumProperty(*args, **kwargs))
2999
__swig_destroy__ = _propgrid.delete_EnumProperty
3000
__del__ = lambda self : None;
3001
def GetItemCount(*args, **kwargs):
3002
"""GetItemCount(self) -> size_t"""
3003
return _propgrid.EnumProperty_GetItemCount(*args, **kwargs)
3005
def GetIndexForValue(*args, **kwargs):
3006
"""GetIndexForValue(self, int value) -> int"""
3007
return _propgrid.EnumProperty_GetIndexForValue(*args, **kwargs)
3009
_propgrid.EnumProperty_swigregister(EnumProperty)
3011
class EditEnumProperty(EnumProperty):
3012
"""Proxy of C++ EditEnumProperty class"""
3013
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3014
__repr__ = _swig_repr
3015
def __init__(self, *args):
3017
__init__(self, String label, String name, wxChar labels, long values,
3018
String value) -> EditEnumProperty
3019
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3020
wxArrayString labels=wxArrayString(),
3021
wxArrayInt values=wxArrayInt(),
3022
String value=wxEmptyString) -> EditEnumProperty
3023
__init__(self, String label, String name, PGChoices choices, String value=wxEmptyString) -> EditEnumProperty
3024
__init__(self, String label, String name, wxChar labels, long values,
3025
PGChoices choicesCache, String value) -> EditEnumProperty
3027
_propgrid.EditEnumProperty_swiginit(self,_propgrid.new_EditEnumProperty(*args))
3028
__swig_destroy__ = _propgrid.delete_EditEnumProperty
3029
__del__ = lambda self : None;
3030
_propgrid.EditEnumProperty_swigregister(EditEnumProperty)
3032
class FlagsProperty(PGProperty):
3033
"""Proxy of C++ FlagsProperty class"""
3034
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3035
__repr__ = _swig_repr
3036
def __init__(self, *args, **kwargs):
3038
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3039
wxArrayString labels=wxArrayString(),
3040
wxArrayInt values=wxArrayInt(),
3041
int value=0) -> FlagsProperty
3043
_propgrid.FlagsProperty_swiginit(self,_propgrid.new_FlagsProperty(*args, **kwargs))
3044
__swig_destroy__ = _propgrid.delete_FlagsProperty
3045
__del__ = lambda self : None;
3046
def GetItemCount(*args, **kwargs):
3047
"""GetItemCount(self) -> size_t"""
3048
return _propgrid.FlagsProperty_GetItemCount(*args, **kwargs)
3050
def GetLabel(*args, **kwargs):
3051
"""GetLabel(self, size_t ind) -> String"""
3052
return _propgrid.FlagsProperty_GetLabel(*args, **kwargs)
3054
_propgrid.FlagsProperty_swigregister(FlagsProperty)
3056
class PGFileDialogAdapter(PGEditorDialogAdapter):
3057
"""Proxy of C++ PGFileDialogAdapter class"""
3058
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3059
def __init__(self): raise AttributeError, "No constructor defined"
3060
__repr__ = _swig_repr
3061
_propgrid.PGFileDialogAdapter_swigregister(PGFileDialogAdapter)
3063
class FileProperty(PGProperty):
3064
"""Proxy of C++ FileProperty class"""
3065
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3066
__repr__ = _swig_repr
3067
def __init__(self, *args, **kwargs):
3069
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3070
String value=wxEmptyString) -> FileProperty
3072
_propgrid.FileProperty_swiginit(self,_propgrid.new_FileProperty(*args, **kwargs))
3073
__swig_destroy__ = _propgrid.delete_FileProperty
3074
__del__ = lambda self : None;
3075
def GetClassValidator(*args, **kwargs):
3076
"""GetClassValidator() -> Validator"""
3077
return _propgrid.FileProperty_GetClassValidator(*args, **kwargs)
3079
GetClassValidator = staticmethod(GetClassValidator)
3080
def GetFileName(*args, **kwargs):
3081
"""GetFileName(self) -> wxFileName"""
3082
return _propgrid.FileProperty_GetFileName(*args, **kwargs)
3084
_propgrid.FileProperty_swigregister(FileProperty)
3086
def FileProperty_GetClassValidator(*args):
3087
"""FileProperty_GetClassValidator() -> Validator"""
3088
return _propgrid.FileProperty_GetClassValidator(*args)
3090
class PGLongStringDialogAdapter(PGEditorDialogAdapter):
3091
"""Proxy of C++ PGLongStringDialogAdapter class"""
3092
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3093
def __init__(self): raise AttributeError, "No constructor defined"
3094
__repr__ = _swig_repr
3095
_propgrid.PGLongStringDialogAdapter_swigregister(PGLongStringDialogAdapter)
3097
class LongStringProperty(PGProperty):
3098
"""Proxy of C++ LongStringProperty class"""
3099
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3100
__repr__ = _swig_repr
3101
def __init__(self, *args, **kwargs):
3103
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3104
String value=wxEmptyString) -> LongStringProperty
3106
_propgrid.LongStringProperty_swiginit(self,_propgrid.new_LongStringProperty(*args, **kwargs))
3107
__swig_destroy__ = _propgrid.delete_LongStringProperty
3108
__del__ = lambda self : None;
3109
def OnButtonClick(*args, **kwargs):
3110
"""OnButtonClick(self, PropertyGrid propgrid, String value) -> bool"""
3111
return _propgrid.LongStringProperty_OnButtonClick(*args, **kwargs)
3113
def DisplayEditorDialog(*args, **kwargs):
3114
"""DisplayEditorDialog(PGProperty prop, PropertyGrid propGrid, String value) -> bool"""
3115
return _propgrid.LongStringProperty_DisplayEditorDialog(*args, **kwargs)
3117
DisplayEditorDialog = staticmethod(DisplayEditorDialog)
3118
_propgrid.LongStringProperty_swigregister(LongStringProperty)
3120
def LongStringProperty_DisplayEditorDialog(*args, **kwargs):
3121
"""LongStringProperty_DisplayEditorDialog(PGProperty prop, PropertyGrid propGrid, String value) -> bool"""
3122
return _propgrid.LongStringProperty_DisplayEditorDialog(*args, **kwargs)
3124
class ArrayStringProperty(PGProperty):
3125
"""Proxy of C++ ArrayStringProperty class"""
3126
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3127
__repr__ = _swig_repr
3128
def __init__(self, *args, **kwargs):
3130
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3131
wxArrayString value=wxArrayString()) -> ArrayStringProperty
3133
_propgrid.ArrayStringProperty_swiginit(self,_propgrid.new_ArrayStringProperty(*args, **kwargs))
3134
__swig_destroy__ = _propgrid.delete_ArrayStringProperty
3135
__del__ = lambda self : None;
3136
def ConvertArrayToString(*args, **kwargs):
3137
"""ConvertArrayToString(self, wxArrayString arr, String pString, wxUniChar delimiter)"""
3138
return _propgrid.ArrayStringProperty_ConvertArrayToString(*args, **kwargs)
3140
def OnCustomStringEdit(*args, **kwargs):
3141
"""OnCustomStringEdit(self, Window parent, String value) -> bool"""
3142
return _propgrid.ArrayStringProperty_OnCustomStringEdit(*args, **kwargs)
3144
def OnButtonClick(*args, **kwargs):
3145
"""OnButtonClick(self, PropertyGrid propgrid, Window primary, wxChar cbt) -> bool"""
3146
return _propgrid.ArrayStringProperty_OnButtonClick(*args, **kwargs)
3148
Escape = _propgrid.ArrayStringProperty_Escape
3149
QuoteStrings = _propgrid.ArrayStringProperty_QuoteStrings
3150
def ArrayStringToString(*args, **kwargs):
3152
ArrayStringToString(String dst, wxArrayString src, wxUniChar delimiter,
3155
return _propgrid.ArrayStringProperty_ArrayStringToString(*args, **kwargs)
3157
ArrayStringToString = staticmethod(ArrayStringToString)
3158
_propgrid.ArrayStringProperty_swigregister(ArrayStringProperty)
3160
def ArrayStringProperty_ArrayStringToString(*args, **kwargs):
3162
ArrayStringProperty_ArrayStringToString(String dst, wxArrayString src, wxUniChar delimiter,
3165
return _propgrid.ArrayStringProperty_ArrayStringToString(*args, **kwargs)
3167
class PGArrayEditorDialog(_windows.Dialog):
3168
"""Proxy of C++ PGArrayEditorDialog class"""
3169
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3170
def __init__(self): raise AttributeError, "No constructor defined"
3171
__repr__ = _swig_repr
3172
__swig_destroy__ = _propgrid.delete_PGArrayEditorDialog
3173
__del__ = lambda self : None;
3174
def Init(*args, **kwargs):
3176
return _propgrid.PGArrayEditorDialog_Init(*args, **kwargs)
3178
def Create(*args, **kwargs):
3180
Create(self, Window parent, String message, String caption, long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE),
3181
Point pos=DefaultPosition,
3182
Size sz=DefaultSize) -> bool
3184
return _propgrid.PGArrayEditorDialog_Create(*args, **kwargs)
3186
def EnableCustomNewAction(*args, **kwargs):
3187
"""EnableCustomNewAction(self)"""
3188
return _propgrid.PGArrayEditorDialog_EnableCustomNewAction(*args, **kwargs)
3190
def SetDialogValue(*args, **kwargs):
3191
"""SetDialogValue(self, wxVariant value)"""
3192
return _propgrid.PGArrayEditorDialog_SetDialogValue(*args, **kwargs)
3194
def GetDialogValue(*args, **kwargs):
3195
"""GetDialogValue(self) -> wxVariant"""
3196
return _propgrid.PGArrayEditorDialog_GetDialogValue(*args, **kwargs)
3198
def GetTextCtrlValidator(*args, **kwargs):
3199
"""GetTextCtrlValidator(self) -> Validator"""
3200
return _propgrid.PGArrayEditorDialog_GetTextCtrlValidator(*args, **kwargs)
3202
def IsModified(*args, **kwargs):
3203
"""IsModified(self) -> bool"""
3204
return _propgrid.PGArrayEditorDialog_IsModified(*args, **kwargs)
3206
def GetSelection(*args, **kwargs):
3207
"""GetSelection(self) -> int"""
3208
return _propgrid.PGArrayEditorDialog_GetSelection(*args, **kwargs)
3210
def OnAddClick(*args, **kwargs):
3211
"""OnAddClick(self, CommandEvent event)"""
3212
return _propgrid.PGArrayEditorDialog_OnAddClick(*args, **kwargs)
3214
def OnDeleteClick(*args, **kwargs):
3215
"""OnDeleteClick(self, CommandEvent event)"""
3216
return _propgrid.PGArrayEditorDialog_OnDeleteClick(*args, **kwargs)
3218
def OnUpClick(*args, **kwargs):
3219
"""OnUpClick(self, CommandEvent event)"""
3220
return _propgrid.PGArrayEditorDialog_OnUpClick(*args, **kwargs)
3222
def OnDownClick(*args, **kwargs):
3223
"""OnDownClick(self, CommandEvent event)"""
3224
return _propgrid.PGArrayEditorDialog_OnDownClick(*args, **kwargs)
3226
def OnEndLabelEdit(*args, **kwargs):
3227
"""OnEndLabelEdit(self, ListEvent event)"""
3228
return _propgrid.PGArrayEditorDialog_OnEndLabelEdit(*args, **kwargs)
3230
def OnIdle(*args, **kwargs):
3231
"""OnIdle(self, IdleEvent event)"""
3232
return _propgrid.PGArrayEditorDialog_OnIdle(*args, **kwargs)
3234
_propgrid.PGArrayEditorDialog_swigregister(PGArrayEditorDialog)
3236
class PGArrayStringEditorDialog(PGArrayEditorDialog):
3237
"""Proxy of C++ PGArrayStringEditorDialog class"""
3238
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3239
__repr__ = _swig_repr
3240
def __init__(self, *args, **kwargs):
3241
"""__init__(self) -> PGArrayStringEditorDialog"""
3242
_propgrid.PGArrayStringEditorDialog_swiginit(self,_propgrid.new_PGArrayStringEditorDialog(*args, **kwargs))
3243
__swig_destroy__ = _propgrid.delete_PGArrayStringEditorDialog
3244
__del__ = lambda self : None;
3245
def Init(*args, **kwargs):
3247
return _propgrid.PGArrayStringEditorDialog_Init(*args, **kwargs)
3249
def SetCustomButton(*args, **kwargs):
3250
"""SetCustomButton(self, String custBtText, ArrayStringProperty pcc)"""
3251
return _propgrid.PGArrayStringEditorDialog_SetCustomButton(*args, **kwargs)
3253
def OnCustomNewAction(*args, **kwargs):
3254
"""OnCustomNewAction(self, String resString) -> bool"""
3255
return _propgrid.PGArrayStringEditorDialog_OnCustomNewAction(*args, **kwargs)
3257
_propgrid.PGArrayStringEditorDialog_swigregister(PGArrayStringEditorDialog)
3259
PG_COLOUR_WEB_BASE = _propgrid.PG_COLOUR_WEB_BASE
3260
PG_COLOUR_CUSTOM = _propgrid.PG_COLOUR_CUSTOM
3261
PG_COLOUR_UNSPECIFIED = _propgrid.PG_COLOUR_UNSPECIFIED
3262
class ColourPropertyValue(_core.Object):
3263
"""Proxy of C++ ColourPropertyValue class"""
3264
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3265
__repr__ = _swig_repr
3266
m_type = property(_propgrid.ColourPropertyValue_m_type_get, _propgrid.ColourPropertyValue_m_type_set)
3267
m_colour = property(_propgrid.ColourPropertyValue_m_colour_get, _propgrid.ColourPropertyValue_m_colour_set)
3268
__swig_destroy__ = _propgrid.delete_ColourPropertyValue
3269
__del__ = lambda self : None;
3270
def Init(*args, **kwargs):
3271
"""Init(self, int type, Colour colour)"""
3272
return _propgrid.ColourPropertyValue_Init(*args, **kwargs)
3274
def __init__(self, *args):
3276
__init__(self) -> ColourPropertyValue
3277
__init__(self, ColourPropertyValue v) -> ColourPropertyValue
3278
__init__(self, Colour colour) -> ColourPropertyValue
3279
__init__(self, int type) -> ColourPropertyValue
3280
__init__(self, int type, Colour colour) -> ColourPropertyValue
3282
_propgrid.ColourPropertyValue_swiginit(self,_propgrid.new_ColourPropertyValue(*args))
3283
_propgrid.ColourPropertyValue_swigregister(ColourPropertyValue)
3285
class FontProperty(PGProperty):
3286
"""Proxy of C++ FontProperty class"""
3287
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3288
__repr__ = _swig_repr
3289
def __init__(self, *args, **kwargs):
3291
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3292
Font value=wxFont()) -> FontProperty
3294
_propgrid.FontProperty_swiginit(self,_propgrid.new_FontProperty(*args, **kwargs))
3295
__swig_destroy__ = _propgrid.delete_FontProperty
3296
__del__ = lambda self : None;
3297
_propgrid.FontProperty_swigregister(FontProperty)
3299
class SystemColourProperty(EnumProperty):
3300
"""Proxy of C++ SystemColourProperty class"""
3301
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3302
__repr__ = _swig_repr
3303
def __init__(self, *args, **kwargs):
3305
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3306
ColourPropertyValue value=wxColourPropertyValue()) -> SystemColourProperty
3308
_propgrid.SystemColourProperty_swiginit(self,_propgrid.new_SystemColourProperty(*args, **kwargs))
3309
__swig_destroy__ = _propgrid.delete_SystemColourProperty
3310
__del__ = lambda self : None;
3311
def ColourToString(*args, **kwargs):
3312
"""ColourToString(self, Colour col, int index, int argFlags=0) -> String"""
3313
return _propgrid.SystemColourProperty_ColourToString(*args, **kwargs)
3315
def GetCustomColourIndex(*args, **kwargs):
3316
"""GetCustomColourIndex(self) -> int"""
3317
return _propgrid.SystemColourProperty_GetCustomColourIndex(*args, **kwargs)
3319
def QueryColourFromUser(*args, **kwargs):
3320
"""QueryColourFromUser(self, wxVariant variant) -> bool"""
3321
return _propgrid.SystemColourProperty_QueryColourFromUser(*args, **kwargs)
3323
def GetColour(*args, **kwargs):
3324
"""GetColour(self, int index) -> Colour"""
3325
return _propgrid.SystemColourProperty_GetColour(*args, **kwargs)
3327
def GetVal(*args, **kwargs):
3328
"""GetVal(self, wxVariant pVariant=None) -> ColourPropertyValue"""
3329
return _propgrid.SystemColourProperty_GetVal(*args, **kwargs)
3331
_propgrid.SystemColourProperty_swigregister(SystemColourProperty)
3333
class ColourProperty(SystemColourProperty):
3334
"""Proxy of C++ ColourProperty class"""
3335
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3336
__repr__ = _swig_repr
3337
def __init__(self, *args, **kwargs):
3339
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3340
Colour value=*wxWHITE) -> ColourProperty
3342
_propgrid.ColourProperty_swiginit(self,_propgrid.new_ColourProperty(*args, **kwargs))
3343
__swig_destroy__ = _propgrid.delete_ColourProperty
3344
__del__ = lambda self : None;
3345
_propgrid.ColourProperty_swigregister(ColourProperty)
3347
class PropertyGridPage(_core.EvtHandler,PropertyGridInterface,):
3348
"""Proxy of C++ PropertyGridPage class"""
3349
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3350
__repr__ = _swig_repr
3351
def __init__(self, *args, **kwargs):
3352
"""__init__(self) -> PropertyGridPage"""
3353
_propgrid.PropertyGridPage_swiginit(self,_propgrid.new_PropertyGridPage(*args, **kwargs))
3354
__swig_destroy__ = _propgrid.delete_PropertyGridPage
3355
__del__ = lambda self : None;
3356
def FitColumns(*args, **kwargs):
3357
"""FitColumns(self) -> Size"""
3358
return _propgrid.PropertyGridPage_FitColumns(*args, **kwargs)
3360
def GetIndex(*args, **kwargs):
3361
"""GetIndex(self) -> int"""
3362
return _propgrid.PropertyGridPage_GetIndex(*args, **kwargs)
3364
def GetSplitterPosition(*args, **kwargs):
3365
"""GetSplitterPosition(self, int col=0) -> int"""
3366
return _propgrid.PropertyGridPage_GetSplitterPosition(*args, **kwargs)
3368
def GetRoot(*args, **kwargs):
3369
"""GetRoot(self) -> PGProperty"""
3370
return _propgrid.PropertyGridPage_GetRoot(*args, **kwargs)
3372
def GetStatePtr(*args):
3377
return _propgrid.PropertyGridPage_GetStatePtr(*args)
3379
def GetToolId(*args, **kwargs):
3380
"""GetToolId(self) -> int"""
3381
return _propgrid.PropertyGridPage_GetToolId(*args, **kwargs)
3383
def Init(*args, **kwargs):
3385
return _propgrid.PropertyGridPage_Init(*args, **kwargs)
3387
def IsHandlingAllEvents(*args, **kwargs):
3388
"""IsHandlingAllEvents(self) -> bool"""
3389
return _propgrid.PropertyGridPage_IsHandlingAllEvents(*args, **kwargs)
3391
def OnShow(*args, **kwargs):
3393
return _propgrid.PropertyGridPage_OnShow(*args, **kwargs)
3395
def SetSplitterPosition(*args, **kwargs):
3396
"""SetSplitterPosition(self, int splitterPos, int col=0)"""
3397
return _propgrid.PropertyGridPage_SetSplitterPosition(*args, **kwargs)
3399
_propgrid.PropertyGridPage_swigregister(PropertyGridPage)
3401
class PropertyGridManager(_windows.Panel,PropertyGridInterface):
3402
"""Proxy of C++ PropertyGridManager class"""
3403
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3404
__repr__ = _swig_repr
3405
def __init__(self, *args, **kwargs):
3407
__init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
3408
Size size=DefaultSize, long style=(0),
3409
String name=wxPropertyGridManagerNameStr) -> PropertyGridManager
3411
_propgrid.PropertyGridManager_swiginit(self,_propgrid.new_PropertyGridManager(*args, **kwargs))
3413
self._setOORInfo(self)
3414
self.DoDefaultTypeMappings()
3415
self.edited_objects = {}
3416
self.DoDefaultValueTypeMappings()
3417
if not hasattr(self.__class__,'_vt2setter'):
3418
self.__class__._vt2setter = {}
3421
__swig_destroy__ = _propgrid.delete_PropertyGridManager
3422
__del__ = lambda self : None;
3423
def AddPage(*args, **kwargs):
3425
AddPage(self, String label=wxEmptyString, Bitmap bmp=wxNullBitmap,
3426
PropertyGridPage pageObj=None) -> PropertyGridPage
3428
return _propgrid.PropertyGridManager_AddPage(*args, **kwargs)
3430
def ClearPage(*args, **kwargs):
3431
"""ClearPage(self, int page)"""
3432
return _propgrid.PropertyGridManager_ClearPage(*args, **kwargs)
3434
def CommitChangesFromEditor(*args, **kwargs):
3435
"""CommitChangesFromEditor(self, int flags=0) -> bool"""
3436
return _propgrid.PropertyGridManager_CommitChangesFromEditor(*args, **kwargs)
3438
def Create(*args, **kwargs):
3440
Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
3441
Size size=DefaultSize, long style=(0),
3442
String name=wxPropertyGridManagerNameStr) -> bool
3444
return _propgrid.PropertyGridManager_Create(*args, **kwargs)
3446
def EnableCategories(*args, **kwargs):
3447
"""EnableCategories(self, bool enable) -> bool"""
3448
return _propgrid.PropertyGridManager_EnableCategories(*args, **kwargs)
3450
def EnsureVisible(*args, **kwargs):
3451
"""EnsureVisible(self, PGPropArg id) -> bool"""
3452
return _propgrid.PropertyGridManager_EnsureVisible(*args, **kwargs)
3454
def GetColumnCount(*args, **kwargs):
3455
"""GetColumnCount(self, int page=-1) -> int"""
3456
return _propgrid.PropertyGridManager_GetColumnCount(*args, **kwargs)
3458
def GetDescBoxHeight(*args, **kwargs):
3459
"""GetDescBoxHeight(self) -> int"""
3460
return _propgrid.PropertyGridManager_GetDescBoxHeight(*args, **kwargs)
3464
GetGrid(self) -> PropertyGrid
3465
GetGrid(self) -> PropertyGrid
3467
return _propgrid.PropertyGridManager_GetGrid(*args)
3469
def GetIterator(*args):
3471
GetIterator(self, int flags=PG_ITERATE_DEFAULT, PGProperty firstProp=None) -> PropertyGridIterator
3472
GetIterator(self, int flags=PG_ITERATE_DEFAULT, PGProperty firstProp=None) -> PropertyGridConstIterator
3473
GetIterator(self, int flags, int startPos) -> PropertyGridIterator
3474
GetIterator(self, int flags, int startPos) -> PropertyGridConstIterator
3476
return _propgrid.PropertyGridManager_GetIterator(*args)
3478
def GetCurrentPage(*args, **kwargs):
3479
"""GetCurrentPage(self) -> PropertyGridPage"""
3480
return _propgrid.PropertyGridManager_GetCurrentPage(*args, **kwargs)
3484
GetPage(self, int ind) -> PropertyGridPage
3485
GetPage(self, String name) -> PropertyGridPage
3487
return _propgrid.PropertyGridManager_GetPage(*args)
3489
def GetPageByName(*args, **kwargs):
3490
"""GetPageByName(self, String name) -> int"""
3491
return _propgrid.PropertyGridManager_GetPageByName(*args, **kwargs)
3493
def GetPageByState(*args, **kwargs):
3494
"""GetPageByState(self, pstate) -> int"""
3495
return _propgrid.PropertyGridManager_GetPageByState(*args, **kwargs)
3497
def GetPageCount(*args, **kwargs):
3498
"""GetPageCount(self) -> size_t"""
3499
return _propgrid.PropertyGridManager_GetPageCount(*args, **kwargs)
3501
def GetPageName(*args, **kwargs):
3502
"""GetPageName(self, int index) -> String"""
3503
return _propgrid.PropertyGridManager_GetPageName(*args, **kwargs)
3505
def GetPageRoot(*args, **kwargs):
3506
"""GetPageRoot(self, int index) -> PGProperty"""
3507
return _propgrid.PropertyGridManager_GetPageRoot(*args, **kwargs)
3509
def GetSelectedPage(*args, **kwargs):
3510
"""GetSelectedPage(self) -> int"""
3511
return _propgrid.PropertyGridManager_GetSelectedPage(*args, **kwargs)
3513
def GetSelectedProperty(*args, **kwargs):
3514
"""GetSelectedProperty(self) -> PGProperty"""
3515
return _propgrid.PropertyGridManager_GetSelectedProperty(*args, **kwargs)
3517
def GetSelection(*args, **kwargs):
3518
"""GetSelection(self) -> PGProperty"""
3519
return _propgrid.PropertyGridManager_GetSelection(*args, **kwargs)
3521
def GetToolBar(*args, **kwargs):
3522
"""GetToolBar(self) -> wxToolBar"""
3523
return _propgrid.PropertyGridManager_GetToolBar(*args, **kwargs)
3525
def InsertPage(*args, **kwargs):
3526
"""InsertPage(self, int index, String label, Bitmap bmp=wxNullBitmap, PropertyGridPage pageObj=None) -> PropertyGridPage"""
3527
return _propgrid.PropertyGridManager_InsertPage(*args, **kwargs)
3529
def IsAnyModified(*args, **kwargs):
3530
"""IsAnyModified(self) -> bool"""
3531
return _propgrid.PropertyGridManager_IsAnyModified(*args, **kwargs)
3533
def IsFrozen(*args, **kwargs):
3535
IsFrozen(self) -> bool
3537
Returns ``True`` if the window has been frozen and not thawed yet.
3539
:see: `Freeze` and `Thaw`
3541
return _propgrid.PropertyGridManager_IsFrozen(*args, **kwargs)
3543
def IsPageModified(*args, **kwargs):
3544
"""IsPageModified(self, size_t index) -> bool"""
3545
return _propgrid.PropertyGridManager_IsPageModified(*args, **kwargs)
3547
def IsPropertySelected(*args, **kwargs):
3548
"""IsPropertySelected(self, PGPropArg id) -> bool"""
3549
return _propgrid.PropertyGridManager_IsPropertySelected(*args, **kwargs)
3551
def RemovePage(*args, **kwargs):
3552
"""RemovePage(self, int page) -> bool"""
3553
return _propgrid.PropertyGridManager_RemovePage(*args, **kwargs)
3555
def SelectPage(*args):
3557
SelectPage(self, int index)
3558
SelectPage(self, String label)
3559
SelectPage(self, PropertyGridPage ptr)
3561
return _propgrid.PropertyGridManager_SelectPage(*args)
3563
def SelectProperty(*args, **kwargs):
3564
"""SelectProperty(self, PGPropArg id, bool focus=False) -> bool"""
3565
return _propgrid.PropertyGridManager_SelectProperty(*args, **kwargs)
3567
def SetColumnTitle(*args, **kwargs):
3568
"""SetColumnTitle(self, int idx, String title)"""
3569
return _propgrid.PropertyGridManager_SetColumnTitle(*args, **kwargs)
3571
def SetColumnCount(*args, **kwargs):
3572
"""SetColumnCount(self, int colCount, int page=-1)"""
3573
return _propgrid.PropertyGridManager_SetColumnCount(*args, **kwargs)
3575
def SetDescription(*args, **kwargs):
3576
"""SetDescription(self, String label, String content)"""
3577
return _propgrid.PropertyGridManager_SetDescription(*args, **kwargs)
3579
def SetDescBoxHeight(*args, **kwargs):
3580
"""SetDescBoxHeight(self, int ht, bool refresh=True)"""
3581
return _propgrid.PropertyGridManager_SetDescBoxHeight(*args, **kwargs)
3583
def SetSplitterLeft(*args, **kwargs):
3584
"""SetSplitterLeft(self, bool subProps=False, bool allPages=True)"""
3585
return _propgrid.PropertyGridManager_SetSplitterLeft(*args, **kwargs)
3587
def SetPageSplitterLeft(*args, **kwargs):
3588
"""SetPageSplitterLeft(self, int page, bool subProps=False)"""
3589
return _propgrid.PropertyGridManager_SetPageSplitterLeft(*args, **kwargs)
3591
def SetPageSplitterPosition(*args, **kwargs):
3592
"""SetPageSplitterPosition(self, int page, int pos, int column=0)"""
3593
return _propgrid.PropertyGridManager_SetPageSplitterPosition(*args, **kwargs)
3595
def SetSplitterPosition(*args, **kwargs):
3596
"""SetSplitterPosition(self, int pos, int column=0)"""
3597
return _propgrid.PropertyGridManager_SetSplitterPosition(*args, **kwargs)
3599
def SetId(*args, **kwargs):
3601
SetId(self, int winid)
3603
Sets the identifier of the window. Each window has an integer
3604
identifier. If the application has not provided one, an identifier
3605
will be generated. Normally, the identifier should be provided on
3606
creation and should not be modified subsequently.
3608
return _propgrid.PropertyGridManager_SetId(*args, **kwargs)
3610
def Freeze(*args, **kwargs):
3614
Freezes the window or, in other words, prevents any updates from
3615
taking place on screen, the window is not redrawn at all. Thaw must be
3616
called to reenable window redrawing. Calls to Freeze/Thaw may be
3617
nested, with the actual Thaw being delayed until all the nesting has
3620
This method is useful for visual appearance optimization (for example,
3621
it is a good idea to use it before inserting large amount of text into
3622
a wxTextCtrl under wxGTK) but is not implemented on all platforms nor
3623
for all controls so it is mostly just a hint to wxWindows and not a
3624
mandatory directive.
3626
return _propgrid.PropertyGridManager_Freeze(*args, **kwargs)
3628
def Thaw(*args, **kwargs):
3632
Reenables window updating after a previous call to Freeze. Calls to
3633
Freeze/Thaw may be nested, so Thaw must be called the same number of
3634
times that Freeze was before the window will be updated.
3636
return _propgrid.PropertyGridManager_Thaw(*args, **kwargs)
3638
def Reparent(*args, **kwargs):
3639
"""Reparent(self, wxWindowBase newParent) -> bool"""
3640
return _propgrid.PropertyGridManager_Reparent(*args, **kwargs)
3642
def GetValuesFromPage(self,
3646
inc_attributes=False):
3647
"Same as GetValues, but returns values from specific page only."
3648
"For argument descriptions, see GetValues."
3649
return page.GetPropertyValues(dict_, as_strings, inc_attributes)
3651
_propgrid.PropertyGridManager_swigregister(PropertyGridManager)
3654
def NewPropertyCategory(*args, **kwargs):
3655
"""NewPropertyCategory(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL)) -> PGProperty"""
3656
return _propgrid.NewPropertyCategory(*args, **kwargs)
3658
def NewStringProperty(*args, **kwargs):
3660
NewStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3661
String value=wxEmptyString) -> PGProperty
3663
return _propgrid.NewStringProperty(*args, **kwargs)
3665
def NewUIntProperty(*args, **kwargs):
3667
NewUIntProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3668
long value=0) -> PGProperty
3670
return _propgrid.NewUIntProperty(*args, **kwargs)
3672
def NewIntProperty(*args, **kwargs):
3674
NewIntProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3675
long value=0) -> PGProperty
3677
return _propgrid.NewIntProperty(*args, **kwargs)
3679
def NewFloatProperty(*args, **kwargs):
3681
NewFloatProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3682
double value=0.0) -> PGProperty
3684
return _propgrid.NewFloatProperty(*args, **kwargs)
3686
def NewBoolProperty(*args, **kwargs):
3688
NewBoolProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3689
bool value=False) -> PGProperty
3691
return _propgrid.NewBoolProperty(*args, **kwargs)
3693
def NewEnumProperty(*args, **kwargs):
3695
NewEnumProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3696
wxArrayString labels=wxArrayString(),
3697
wxArrayInt values=wxArrayInt(),
3698
int value=0) -> PGProperty
3700
return _propgrid.NewEnumProperty(*args, **kwargs)
3702
def NewEditEnumProperty(*args, **kwargs):
3704
NewEditEnumProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3705
wxArrayString labels=wxArrayString(),
3706
wxArrayInt values=wxArrayInt(),
3707
String value=wxEmptyString) -> PGProperty
3709
return _propgrid.NewEditEnumProperty(*args, **kwargs)
3711
def NewFlagsProperty(*args, **kwargs):
3713
NewFlagsProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3714
wxArrayString labels=wxArrayString(),
3715
wxArrayInt values=wxArrayInt(),
3716
int value=0) -> PGProperty
3718
return _propgrid.NewFlagsProperty(*args, **kwargs)
3720
def NewLongStringProperty(*args, **kwargs):
3722
NewLongStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3723
String value=wxEmptyString) -> PGProperty
3725
return _propgrid.NewLongStringProperty(*args, **kwargs)
3727
def NewFileProperty(*args, **kwargs):
3729
NewFileProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3730
String value=wxEmptyString) -> PGProperty
3732
return _propgrid.NewFileProperty(*args, **kwargs)
3734
def NewDirProperty(*args, **kwargs):
3736
NewDirProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3737
String value=wxEmptyString) -> PGProperty
3739
return _propgrid.NewDirProperty(*args, **kwargs)
3741
def NewArrayStringProperty(*args, **kwargs):
3743
NewArrayStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3744
wxArrayString value=wxArrayString()) -> PGProperty
3746
return _propgrid.NewArrayStringProperty(*args, **kwargs)
3748
def NewFontProperty(*args, **kwargs):
3750
NewFontProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3751
Font value=wxFont()) -> PGProperty
3753
return _propgrid.NewFontProperty(*args, **kwargs)
3755
def NewSystemColourProperty(*args, **kwargs):
3757
NewSystemColourProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3758
ColourPropertyValue value=wxColourPropertyValue()) -> PGProperty
3760
return _propgrid.NewSystemColourProperty(*args, **kwargs)
3762
def NewColourProperty(*args, **kwargs):
3764
NewColourProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3765
Colour value=wxColour()) -> PGProperty
3767
return _propgrid.NewColourProperty(*args, **kwargs)
3769
def NewCursorProperty(*args, **kwargs):
3771
NewCursorProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3772
int value=0) -> PGProperty
3774
return _propgrid.NewCursorProperty(*args, **kwargs)
3776
def NewImageFileProperty(*args, **kwargs):
3778
NewImageFileProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3779
String value=wxEmptyString) -> PGProperty
3781
return _propgrid.NewImageFileProperty(*args, **kwargs)
3783
def NewMultiChoiceProperty(*args, **kwargs):
3785
NewMultiChoiceProperty(String label, String name=(*wxPGProperty::sm_wxPG_LABEL),
3786
wxArrayString choices=wxArrayString(),
3787
wxArrayString value=wxArrayString()) -> PGProperty
3789
return _propgrid.NewMultiChoiceProperty(*args, **kwargs)
3791
def NewDateProperty(*args, **kwargs):
3793
NewDateProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3794
DateTime value=wxDateTime()) -> PGProperty
3796
return _propgrid.NewDateProperty(*args, **kwargs)
3797
class PyFloatProperty(FloatProperty):
3798
"""Proxy of C++ PyFloatProperty class"""
3799
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3800
__repr__ = _swig_repr
3801
def __init__(self, *args, **kwargs):
3803
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3804
double value=0.0) -> PyFloatProperty
3806
_propgrid.PyFloatProperty_swiginit(self,_propgrid.new_PyFloatProperty(*args, **kwargs))
3807
self._SetSelf(self); self._RegisterMethods()
3809
def CallSuperMethod(self, *args, **kwargs):
3813
self._super_call = True
3815
res = getattr(PyFloatProperty, funcname)(*args2, **kwargs)
3817
del self._super_call
3820
def _RegisterMethods(self):
3821
cls = self.__class__
3822
if not hasattr(cls,'_pyswig_methods_registered'):
3823
cls._pyswig_methods_registered = True
3824
ls = [ab for ab in cls.__dict__.iteritems()]
3826
if not a.startswith('_'):
3827
setattr(cls, '%s_t_'%a, b)
3829
def _SetSelf(*args, **kwargs):
3830
"""_SetSelf(self, PyObject self)"""
3831
return _propgrid.PyFloatProperty__SetSelf(*args, **kwargs)
3833
_propgrid.PyFloatProperty_swigregister(PyFloatProperty)
3835
class PyEditorDialogAdapter(PGEditorDialogAdapter):
3836
"""Proxy of C++ PyEditorDialogAdapter class"""
3837
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3838
__repr__ = _swig_repr
3839
def __init__(self, *args, **kwargs):
3840
"""__init__(self) -> PyEditorDialogAdapter"""
3841
_propgrid.PyEditorDialogAdapter_swiginit(self,_propgrid.new_PyEditorDialogAdapter(*args, **kwargs))
3842
self._SetSelf(self); self._RegisterMethods()
3844
def CallSuperMethod(self, *args, **kwargs):
3848
self._super_call = True
3850
res = getattr(PyEditorDialogAdapter, funcname)(*args2, **kwargs)
3852
del self._super_call
3855
def _RegisterMethods(self):
3856
cls = self.__class__
3857
if not hasattr(cls,'_pyswig_methods_registered'):
3858
cls._pyswig_methods_registered = True
3859
ls = [ab for ab in cls.__dict__.iteritems()]
3861
if not a.startswith('_'):
3862
setattr(cls, '%s_t_'%a, b)
3864
def _SetSelf(*args, **kwargs):
3865
"""_SetSelf(self, PyObject self)"""
3866
return _propgrid.PyEditorDialogAdapter__SetSelf(*args, **kwargs)
3868
_propgrid.PyEditorDialogAdapter_swigregister(PyEditorDialogAdapter)
3870
class PyEnumProperty(EnumProperty):
3871
"""Proxy of C++ PyEnumProperty class"""
3872
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3873
__repr__ = _swig_repr
3874
def __init__(self, *args, **kwargs):
3876
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3877
wxArrayString labels=wxArrayString(),
3878
wxArrayInt values=wxArrayInt(),
3879
int value=0) -> PyEnumProperty
3881
_propgrid.PyEnumProperty_swiginit(self,_propgrid.new_PyEnumProperty(*args, **kwargs))
3882
self._SetSelf(self); self._RegisterMethods()
3884
def CallSuperMethod(self, *args, **kwargs):
3888
self._super_call = True
3890
res = getattr(PyEnumProperty, funcname)(*args2, **kwargs)
3892
del self._super_call
3895
def _RegisterMethods(self):
3896
cls = self.__class__
3897
if not hasattr(cls,'_pyswig_methods_registered'):
3898
cls._pyswig_methods_registered = True
3899
ls = [ab for ab in cls.__dict__.iteritems()]
3901
if not a.startswith('_'):
3902
setattr(cls, '%s_t_'%a, b)
3904
def _SetSelf(*args, **kwargs):
3905
"""_SetSelf(self, PyObject self)"""
3906
return _propgrid.PyEnumProperty__SetSelf(*args, **kwargs)
3908
_propgrid.PyEnumProperty_swigregister(PyEnumProperty)
3910
class PyArrayStringProperty(ArrayStringProperty):
3911
"""Proxy of C++ PyArrayStringProperty class"""
3912
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3913
__repr__ = _swig_repr
3914
def __init__(self, *args, **kwargs):
3916
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
3917
wxArrayString value=wxArrayString()) -> PyArrayStringProperty
3919
_propgrid.PyArrayStringProperty_swiginit(self,_propgrid.new_PyArrayStringProperty(*args, **kwargs))
3920
self._SetSelf(self); self._RegisterMethods()
3922
def CallSuperMethod(self, *args, **kwargs):
3926
self._super_call = True
3928
res = getattr(PyArrayStringProperty, funcname)(*args2, **kwargs)
3930
del self._super_call
3933
def _RegisterMethods(self):
3934
cls = self.__class__
3935
if not hasattr(cls,'_pyswig_methods_registered'):
3936
cls._pyswig_methods_registered = True
3937
ls = [ab for ab in cls.__dict__.iteritems()]
3939
if not a.startswith('_'):
3940
setattr(cls, '%s_t_'%a, b)
3942
def _SetSelf(*args, **kwargs):
3943
"""_SetSelf(self, PyObject self)"""
3944
return _propgrid.PyArrayStringProperty__SetSelf(*args, **kwargs)
3946
_propgrid.PyArrayStringProperty_swigregister(PyArrayStringProperty)
3948
class PyComboBoxEditor(PGComboBoxEditor):
3949
"""Proxy of C++ PyComboBoxEditor class"""
3950
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3951
__repr__ = _swig_repr
3952
def __init__(self, *args, **kwargs):
3953
"""__init__(self) -> PyComboBoxEditor"""
3954
_propgrid.PyComboBoxEditor_swiginit(self,_propgrid.new_PyComboBoxEditor(*args, **kwargs))
3955
self._SetSelf(self); self._RegisterMethods()
3957
def CallSuperMethod(self, *args, **kwargs):
3961
self._super_call = True
3963
res = getattr(PyComboBoxEditor, funcname)(*args2, **kwargs)
3965
del self._super_call
3968
def _RegisterMethods(self):
3969
cls = self.__class__
3970
if not hasattr(cls,'_pyswig_methods_registered'):
3971
cls._pyswig_methods_registered = True
3972
ls = [ab for ab in cls.__dict__.iteritems()]
3974
if not a.startswith('_'):
3975
setattr(cls, '%s_t_'%a, b)
3977
def _SetSelf(*args, **kwargs):
3978
"""_SetSelf(self, PyObject self)"""
3979
return _propgrid.PyComboBoxEditor__SetSelf(*args, **kwargs)
3981
_propgrid.PyComboBoxEditor_swigregister(PyComboBoxEditor)
3983
class PyFileDialogAdapter(PGFileDialogAdapter):
3984
"""Proxy of C++ PyFileDialogAdapter class"""
3985
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3986
__repr__ = _swig_repr
3987
def __init__(self, *args, **kwargs):
3988
"""__init__(self) -> PyFileDialogAdapter"""
3989
_propgrid.PyFileDialogAdapter_swiginit(self,_propgrid.new_PyFileDialogAdapter(*args, **kwargs))
3990
self._SetSelf(self); self._RegisterMethods()
3992
def CallSuperMethod(self, *args, **kwargs):
3996
self._super_call = True
3998
res = getattr(PyFileDialogAdapter, funcname)(*args2, **kwargs)
4000
del self._super_call
4003
def _RegisterMethods(self):
4004
cls = self.__class__
4005
if not hasattr(cls,'_pyswig_methods_registered'):
4006
cls._pyswig_methods_registered = True
4007
ls = [ab for ab in cls.__dict__.iteritems()]
4009
if not a.startswith('_'):
4010
setattr(cls, '%s_t_'%a, b)
4012
def _SetSelf(*args, **kwargs):
4013
"""_SetSelf(self, PyObject self)"""
4014
return _propgrid.PyFileDialogAdapter__SetSelf(*args, **kwargs)
4016
_propgrid.PyFileDialogAdapter_swigregister(PyFileDialogAdapter)
4018
class PyStringProperty(StringProperty):
4019
"""Proxy of C++ PyStringProperty class"""
4020
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4021
__repr__ = _swig_repr
4022
def __init__(self, *args, **kwargs):
4024
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4025
String value=wxEmptyString) -> PyStringProperty
4027
_propgrid.PyStringProperty_swiginit(self,_propgrid.new_PyStringProperty(*args, **kwargs))
4028
self._SetSelf(self); self._RegisterMethods()
4030
def CallSuperMethod(self, *args, **kwargs):
4034
self._super_call = True
4036
res = getattr(PyStringProperty, funcname)(*args2, **kwargs)
4038
del self._super_call
4041
def _RegisterMethods(self):
4042
cls = self.__class__
4043
if not hasattr(cls,'_pyswig_methods_registered'):
4044
cls._pyswig_methods_registered = True
4045
ls = [ab for ab in cls.__dict__.iteritems()]
4047
if not a.startswith('_'):
4048
setattr(cls, '%s_t_'%a, b)
4050
def _SetSelf(*args, **kwargs):
4051
"""_SetSelf(self, PyObject self)"""
4052
return _propgrid.PyStringProperty__SetSelf(*args, **kwargs)
4054
_propgrid.PyStringProperty_swigregister(PyStringProperty)
4056
class PyLongStringDialogAdapter(PGLongStringDialogAdapter):
4057
"""Proxy of C++ PyLongStringDialogAdapter class"""
4058
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4059
__repr__ = _swig_repr
4060
def __init__(self, *args, **kwargs):
4061
"""__init__(self) -> PyLongStringDialogAdapter"""
4062
_propgrid.PyLongStringDialogAdapter_swiginit(self,_propgrid.new_PyLongStringDialogAdapter(*args, **kwargs))
4063
self._SetSelf(self); self._RegisterMethods()
4065
def CallSuperMethod(self, *args, **kwargs):
4069
self._super_call = True
4071
res = getattr(PyLongStringDialogAdapter, funcname)(*args2, **kwargs)
4073
del self._super_call
4076
def _RegisterMethods(self):
4077
cls = self.__class__
4078
if not hasattr(cls,'_pyswig_methods_registered'):
4079
cls._pyswig_methods_registered = True
4080
ls = [ab for ab in cls.__dict__.iteritems()]
4082
if not a.startswith('_'):
4083
setattr(cls, '%s_t_'%a, b)
4085
def _SetSelf(*args, **kwargs):
4086
"""_SetSelf(self, PyObject self)"""
4087
return _propgrid.PyLongStringDialogAdapter__SetSelf(*args, **kwargs)
4089
_propgrid.PyLongStringDialogAdapter_swigregister(PyLongStringDialogAdapter)
4091
class PyEditEnumProperty(EditEnumProperty):
4092
"""Proxy of C++ PyEditEnumProperty class"""
4093
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4094
__repr__ = _swig_repr
4095
def __init__(self, *args):
4097
__init__(self, String label, String name, wxChar labels, long values,
4098
String value) -> PyEditEnumProperty
4099
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4100
wxArrayString labels=wxArrayString(),
4101
wxArrayInt values=wxArrayInt(),
4102
String value=wxEmptyString) -> PyEditEnumProperty
4103
__init__(self, String label, String name, PGChoices choices, String value=wxEmptyString) -> PyEditEnumProperty
4104
__init__(self, String label, String name, wxChar labels, long values,
4105
PGChoices choicesCache, String value) -> PyEditEnumProperty
4107
_propgrid.PyEditEnumProperty_swiginit(self,_propgrid.new_PyEditEnumProperty(*args))
4108
self._SetSelf(self); self._RegisterMethods()
4110
def CallSuperMethod(self, *args, **kwargs):
4114
self._super_call = True
4116
res = getattr(PyEditEnumProperty, funcname)(*args2, **kwargs)
4118
del self._super_call
4121
def _RegisterMethods(self):
4122
cls = self.__class__
4123
if not hasattr(cls,'_pyswig_methods_registered'):
4124
cls._pyswig_methods_registered = True
4125
ls = [ab for ab in cls.__dict__.iteritems()]
4127
if not a.startswith('_'):
4128
setattr(cls, '%s_t_'%a, b)
4130
def _SetSelf(*args, **kwargs):
4131
"""_SetSelf(self, PyObject self)"""
4132
return _propgrid.PyEditEnumProperty__SetSelf(*args, **kwargs)
4134
_propgrid.PyEditEnumProperty_swigregister(PyEditEnumProperty)
4136
class PyTextCtrlEditor(PGTextCtrlEditor):
4137
"""Proxy of C++ PyTextCtrlEditor class"""
4138
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4139
__repr__ = _swig_repr
4140
def __init__(self, *args, **kwargs):
4141
"""__init__(self) -> PyTextCtrlEditor"""
4142
_propgrid.PyTextCtrlEditor_swiginit(self,_propgrid.new_PyTextCtrlEditor(*args, **kwargs))
4143
self._SetSelf(self); self._RegisterMethods()
4145
def CallSuperMethod(self, *args, **kwargs):
4149
self._super_call = True
4151
res = getattr(PyTextCtrlEditor, funcname)(*args2, **kwargs)
4153
del self._super_call
4156
def _RegisterMethods(self):
4157
cls = self.__class__
4158
if not hasattr(cls,'_pyswig_methods_registered'):
4159
cls._pyswig_methods_registered = True
4160
ls = [ab for ab in cls.__dict__.iteritems()]
4162
if not a.startswith('_'):
4163
setattr(cls, '%s_t_'%a, b)
4165
def _SetSelf(*args, **kwargs):
4166
"""_SetSelf(self, PyObject self)"""
4167
return _propgrid.PyTextCtrlEditor__SetSelf(*args, **kwargs)
4169
_propgrid.PyTextCtrlEditor_swigregister(PyTextCtrlEditor)
4171
class PySystemColourProperty(SystemColourProperty):
4172
"""Proxy of C++ PySystemColourProperty class"""
4173
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4174
__repr__ = _swig_repr
4175
def __init__(self, *args):
4177
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4178
ColourPropertyValue value=wxColourPropertyValue()) -> PySystemColourProperty
4179
__init__(self, String label, String name, wxChar labels, long values,
4180
PGChoices choicesCache, ColourPropertyValue value) -> PySystemColourProperty
4181
__init__(self, String label, String name, wxChar labels, long values,
4182
PGChoices choicesCache, Colour value) -> PySystemColourProperty
4184
_propgrid.PySystemColourProperty_swiginit(self,_propgrid.new_PySystemColourProperty(*args))
4185
self._SetSelf(self); self._RegisterMethods()
4187
def CallSuperMethod(self, *args, **kwargs):
4191
self._super_call = True
4193
res = getattr(PySystemColourProperty, funcname)(*args2, **kwargs)
4195
del self._super_call
4198
def _RegisterMethods(self):
4199
cls = self.__class__
4200
if not hasattr(cls,'_pyswig_methods_registered'):
4201
cls._pyswig_methods_registered = True
4202
ls = [ab for ab in cls.__dict__.iteritems()]
4204
if not a.startswith('_'):
4205
setattr(cls, '%s_t_'%a, b)
4207
def _SetSelf(*args, **kwargs):
4208
"""_SetSelf(self, PyObject self)"""
4209
return _propgrid.PySystemColourProperty__SetSelf(*args, **kwargs)
4211
_propgrid.PySystemColourProperty_swigregister(PySystemColourProperty)
4213
class PyFlagsProperty(FlagsProperty):
4214
"""Proxy of C++ PyFlagsProperty class"""
4215
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4216
__repr__ = _swig_repr
4217
def __init__(self, *args, **kwargs):
4219
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4220
wxArrayString labels=wxArrayString(),
4221
wxArrayInt values=wxArrayInt(),
4222
int value=0) -> PyFlagsProperty
4224
_propgrid.PyFlagsProperty_swiginit(self,_propgrid.new_PyFlagsProperty(*args, **kwargs))
4225
self._SetSelf(self); self._RegisterMethods()
4227
def CallSuperMethod(self, *args, **kwargs):
4231
self._super_call = True
4233
res = getattr(PyFlagsProperty, funcname)(*args2, **kwargs)
4235
del self._super_call
4238
def _RegisterMethods(self):
4239
cls = self.__class__
4240
if not hasattr(cls,'_pyswig_methods_registered'):
4241
cls._pyswig_methods_registered = True
4242
ls = [ab for ab in cls.__dict__.iteritems()]
4244
if not a.startswith('_'):
4245
setattr(cls, '%s_t_'%a, b)
4247
def _SetSelf(*args, **kwargs):
4248
"""_SetSelf(self, PyObject self)"""
4249
return _propgrid.PyFlagsProperty__SetSelf(*args, **kwargs)
4251
_propgrid.PyFlagsProperty_swigregister(PyFlagsProperty)
4253
class PyFontProperty(FontProperty):
4254
"""Proxy of C++ PyFontProperty class"""
4255
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4256
__repr__ = _swig_repr
4257
def __init__(self, *args, **kwargs):
4259
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4260
Font value=wxFont()) -> PyFontProperty
4262
_propgrid.PyFontProperty_swiginit(self,_propgrid.new_PyFontProperty(*args, **kwargs))
4263
self._SetSelf(self); self._RegisterMethods()
4265
def CallSuperMethod(self, *args, **kwargs):
4269
self._super_call = True
4271
res = getattr(PyFontProperty, funcname)(*args2, **kwargs)
4273
del self._super_call
4276
def _RegisterMethods(self):
4277
cls = self.__class__
4278
if not hasattr(cls,'_pyswig_methods_registered'):
4279
cls._pyswig_methods_registered = True
4280
ls = [ab for ab in cls.__dict__.iteritems()]
4282
if not a.startswith('_'):
4283
setattr(cls, '%s_t_'%a, b)
4285
def _SetSelf(*args, **kwargs):
4286
"""_SetSelf(self, PyObject self)"""
4287
return _propgrid.PyFontProperty__SetSelf(*args, **kwargs)
4289
_propgrid.PyFontProperty_swigregister(PyFontProperty)
4291
class PyColourProperty(ColourProperty):
4292
"""Proxy of C++ PyColourProperty class"""
4293
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4294
__repr__ = _swig_repr
4295
def __init__(self, *args, **kwargs):
4297
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4298
Colour value=*wxWHITE) -> PyColourProperty
4300
_propgrid.PyColourProperty_swiginit(self,_propgrid.new_PyColourProperty(*args, **kwargs))
4301
self._SetSelf(self); self._RegisterMethods()
4303
def CallSuperMethod(self, *args, **kwargs):
4307
self._super_call = True
4309
res = getattr(PyColourProperty, funcname)(*args2, **kwargs)
4311
del self._super_call
4314
def _RegisterMethods(self):
4315
cls = self.__class__
4316
if not hasattr(cls,'_pyswig_methods_registered'):
4317
cls._pyswig_methods_registered = True
4318
ls = [ab for ab in cls.__dict__.iteritems()]
4320
if not a.startswith('_'):
4321
setattr(cls, '%s_t_'%a, b)
4323
def _SetSelf(*args, **kwargs):
4324
"""_SetSelf(self, PyObject self)"""
4325
return _propgrid.PyColourProperty__SetSelf(*args, **kwargs)
4327
_propgrid.PyColourProperty_swigregister(PyColourProperty)
4329
class PyFileProperty(FileProperty):
4330
"""Proxy of C++ PyFileProperty class"""
4331
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4332
__repr__ = _swig_repr
4333
def __init__(self, *args, **kwargs):
4335
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4336
String value=wxEmptyString) -> PyFileProperty
4338
_propgrid.PyFileProperty_swiginit(self,_propgrid.new_PyFileProperty(*args, **kwargs))
4339
self._SetSelf(self); self._RegisterMethods()
4341
def CallSuperMethod(self, *args, **kwargs):
4345
self._super_call = True
4347
res = getattr(PyFileProperty, funcname)(*args2, **kwargs)
4349
del self._super_call
4352
def _RegisterMethods(self):
4353
cls = self.__class__
4354
if not hasattr(cls,'_pyswig_methods_registered'):
4355
cls._pyswig_methods_registered = True
4356
ls = [ab for ab in cls.__dict__.iteritems()]
4358
if not a.startswith('_'):
4359
setattr(cls, '%s_t_'%a, b)
4361
def _SetSelf(*args, **kwargs):
4362
"""_SetSelf(self, PyObject self)"""
4363
return _propgrid.PyFileProperty__SetSelf(*args, **kwargs)
4365
_propgrid.PyFileProperty_swigregister(PyFileProperty)
4367
class PyIntProperty(IntProperty):
4368
"""Proxy of C++ PyIntProperty class"""
4369
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4370
__repr__ = _swig_repr
4371
def __init__(self, *args):
4373
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4374
long value=0) -> PyIntProperty
4375
__init__(self, String label, String name, wxLongLong value) -> PyIntProperty
4377
_propgrid.PyIntProperty_swiginit(self,_propgrid.new_PyIntProperty(*args))
4378
self._SetSelf(self); self._RegisterMethods()
4380
def CallSuperMethod(self, *args, **kwargs):
4384
self._super_call = True
4386
res = getattr(PyIntProperty, funcname)(*args2, **kwargs)
4388
del self._super_call
4391
def _RegisterMethods(self):
4392
cls = self.__class__
4393
if not hasattr(cls,'_pyswig_methods_registered'):
4394
cls._pyswig_methods_registered = True
4395
ls = [ab for ab in cls.__dict__.iteritems()]
4397
if not a.startswith('_'):
4398
setattr(cls, '%s_t_'%a, b)
4400
def _SetSelf(*args, **kwargs):
4401
"""_SetSelf(self, PyObject self)"""
4402
return _propgrid.PyIntProperty__SetSelf(*args, **kwargs)
4404
_propgrid.PyIntProperty_swigregister(PyIntProperty)
4406
class PyEditor(PGEditor):
4407
"""Proxy of C++ PyEditor class"""
4408
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4409
__repr__ = _swig_repr
4410
def __init__(self, *args, **kwargs):
4411
"""__init__(self) -> PyEditor"""
4412
_propgrid.PyEditor_swiginit(self,_propgrid.new_PyEditor(*args, **kwargs))
4413
self._SetSelf(self); self._RegisterMethods()
4415
def CallSuperMethod(self, *args, **kwargs):
4419
self._super_call = True
4421
res = getattr(PyEditor, funcname)(*args2, **kwargs)
4423
del self._super_call
4426
def _RegisterMethods(self):
4427
cls = self.__class__
4428
if not hasattr(cls,'_pyswig_methods_registered'):
4429
cls._pyswig_methods_registered = True
4430
ls = [ab for ab in cls.__dict__.iteritems()]
4432
if not a.startswith('_'):
4433
setattr(cls, '%s_t_'%a, b)
4435
def _SetSelf(*args, **kwargs):
4436
"""_SetSelf(self, PyObject self)"""
4437
return _propgrid.PyEditor__SetSelf(*args, **kwargs)
4439
_propgrid.PyEditor_swigregister(PyEditor)
4441
class PyChoiceEditor(PGChoiceEditor):
4442
"""Proxy of C++ PyChoiceEditor class"""
4443
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4444
__repr__ = _swig_repr
4445
def __init__(self, *args, **kwargs):
4446
"""__init__(self) -> PyChoiceEditor"""
4447
_propgrid.PyChoiceEditor_swiginit(self,_propgrid.new_PyChoiceEditor(*args, **kwargs))
4448
self._SetSelf(self); self._RegisterMethods()
4450
def CallSuperMethod(self, *args, **kwargs):
4454
self._super_call = True
4456
res = getattr(PyChoiceEditor, funcname)(*args2, **kwargs)
4458
del self._super_call
4461
def _RegisterMethods(self):
4462
cls = self.__class__
4463
if not hasattr(cls,'_pyswig_methods_registered'):
4464
cls._pyswig_methods_registered = True
4465
ls = [ab for ab in cls.__dict__.iteritems()]
4467
if not a.startswith('_'):
4468
setattr(cls, '%s_t_'%a, b)
4470
def _SetSelf(*args, **kwargs):
4471
"""_SetSelf(self, PyObject self)"""
4472
return _propgrid.PyChoiceEditor__SetSelf(*args, **kwargs)
4474
_propgrid.PyChoiceEditor_swigregister(PyChoiceEditor)
4476
class PyProperty(PGProperty):
4477
"""Proxy of C++ PyProperty class"""
4478
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4479
__repr__ = _swig_repr
4480
def __init__(self, *args):
4482
__init__(self) -> PyProperty
4483
__init__(self, String label, String name) -> PyProperty
4485
_propgrid.PyProperty_swiginit(self,_propgrid.new_PyProperty(*args))
4486
self._SetSelf(self); self._RegisterMethods()
4488
def CallSuperMethod(self, *args, **kwargs):
4492
self._super_call = True
4494
res = getattr(PyProperty, funcname)(*args2, **kwargs)
4496
del self._super_call
4499
def _RegisterMethods(self):
4500
cls = self.__class__
4501
if not hasattr(cls,'_pyswig_methods_registered'):
4502
cls._pyswig_methods_registered = True
4503
ls = [ab for ab in cls.__dict__.iteritems()]
4505
if not a.startswith('_'):
4506
setattr(cls, '%s_t_'%a, b)
4508
def _SetSelf(*args, **kwargs):
4509
"""_SetSelf(self, PyObject self)"""
4510
return _propgrid.PyProperty__SetSelf(*args, **kwargs)
4512
_propgrid.PyProperty_swigregister(PyProperty)
4514
class PyUIntProperty(UIntProperty):
4515
"""Proxy of C++ PyUIntProperty class"""
4516
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4517
__repr__ = _swig_repr
4518
def __init__(self, *args):
4520
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4521
long value=0) -> PyUIntProperty
4522
__init__(self, String label, String name, wxULongLong value) -> PyUIntProperty
4524
_propgrid.PyUIntProperty_swiginit(self,_propgrid.new_PyUIntProperty(*args))
4525
self._SetSelf(self); self._RegisterMethods()
4527
def CallSuperMethod(self, *args, **kwargs):
4531
self._super_call = True
4533
res = getattr(PyUIntProperty, funcname)(*args2, **kwargs)
4535
del self._super_call
4538
def _RegisterMethods(self):
4539
cls = self.__class__
4540
if not hasattr(cls,'_pyswig_methods_registered'):
4541
cls._pyswig_methods_registered = True
4542
ls = [ab for ab in cls.__dict__.iteritems()]
4544
if not a.startswith('_'):
4545
setattr(cls, '%s_t_'%a, b)
4547
def _SetSelf(*args, **kwargs):
4548
"""_SetSelf(self, PyObject self)"""
4549
return _propgrid.PyUIntProperty__SetSelf(*args, **kwargs)
4551
_propgrid.PyUIntProperty_swigregister(PyUIntProperty)
4553
class PyLongStringProperty(LongStringProperty):
4554
"""Proxy of C++ PyLongStringProperty class"""
4555
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4556
__repr__ = _swig_repr
4557
def __init__(self, *args, **kwargs):
4559
__init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL),
4560
String value=wxEmptyString) -> PyLongStringProperty
4562
_propgrid.PyLongStringProperty_swiginit(self,_propgrid.new_PyLongStringProperty(*args, **kwargs))
4563
self._SetSelf(self); self._RegisterMethods()
4565
def CallSuperMethod(self, *args, **kwargs):
4569
self._super_call = True
4571
res = getattr(PyLongStringProperty, funcname)(*args2, **kwargs)
4573
del self._super_call
4576
def _RegisterMethods(self):
4577
cls = self.__class__
4578
if not hasattr(cls,'_pyswig_methods_registered'):
4579
cls._pyswig_methods_registered = True
4580
ls = [ab for ab in cls.__dict__.iteritems()]
4582
if not a.startswith('_'):
4583
setattr(cls, '%s_t_'%a, b)
4585
def _SetSelf(*args, **kwargs):
4586
"""_SetSelf(self, PyObject self)"""
4587
return _propgrid.PyLongStringProperty__SetSelf(*args, **kwargs)
4589
_propgrid.PyLongStringProperty_swigregister(PyLongStringProperty)
4592
def RegisterEditor(*args, **kwargs):
4593
"""RegisterEditor(PGEditor editor, String editorName)"""
4594
return _propgrid.RegisterEditor(*args, **kwargs)
4595
EVT_PG_CHANGED = wx.PyEventBinder( wxEVT_PG_CHANGED, 1 )
4596
EVT_PG_CHANGING = wx.PyEventBinder( wxEVT_PG_CHANGING, 1 )
4597
EVT_PG_SELECTED = wx.PyEventBinder( wxEVT_PG_SELECTED, 1 )
4598
EVT_PG_HIGHLIGHTED = wx.PyEventBinder( wxEVT_PG_HIGHLIGHTED, 1 )
4599
EVT_PG_RIGHT_CLICK = wx.PyEventBinder( wxEVT_PG_RIGHT_CLICK, 1 )
4600
EVT_PG_PAGE_CHANGED = wx.PyEventBinder( wxEVT_PG_PAGE_CHANGED, 1 )
4601
EVT_PG_ITEM_COLLAPSED = wx.PyEventBinder( wxEVT_PG_ITEM_COLLAPSED, 1 )
4602
EVT_PG_ITEM_EXPANDED = wx.PyEventBinder( wxEVT_PG_ITEM_EXPANDED, 1 )
4603
EVT_PG_DOUBLE_CLICK = wx.PyEventBinder( wxEVT_PG_DOUBLE_CLICK, 1 )
4604
EVT_PG_LABEL_EDIT_BEGIN = wx.PyEventBinder( wxEVT_PG_LABEL_EDIT_BEGIN, 1 )
4605
EVT_PG_LABEL_EDIT_ENDING = wx.PyEventBinder( wxEVT_PG_LABEL_EDIT_ENDING, 1 )
4606
EVT_PG_COL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_PG_COL_BEGIN_DRAG, 1 )
4607
EVT_PG_COL_DRAGGING = wx.PyEventBinder( wxEVT_PG_COL_DRAGGING, 1 )
4608
EVT_PG_COL_END_DRAG = wx.PyEventBinder( wxEVT_PG_COL_END_DRAG, 1 )
4610
LABEL_AS_NAME = "@!"
4611
DEFAULT_IMAGE_SIZE = (-1,-1)
4612
NO_IMAGE_SIZE = (0,0)
4614
PG_BOOL_USE_CHECKBOX = "UseCheckbox"
4615
PG_BOOL_USE_DOUBLE_CLICK_CYCLING = "UseDClickCycling"
4616
PG_FLOAT_PRECISION = "Precision"
4617
PG_STRING_PASSWORD = "Password"
4618
PG_UINT_BASE = "Base"
4619
PG_UINT_PREFIX = "Prefix"
4620
PG_FILE_WILDCARD = "Wildcard"
4621
PG_FILE_SHOW_FULL_PATH = "ShowFullPath"
4622
PG_FILE_SHOW_RELATIVE_PATH = "ShowRelativePath"
4623
PG_FILE_INITIAL_PATH = "InitialPath"
4624
PG_FILE_DIALOG_TITLE = "DialogTitle"
4625
PG_DIR_DIALOG_MESSAGE = "DialogMessage"
4626
PG_DATE_FORMAT = "DateFormat"
4627
PG_DATE_PICKER_STYLE = "PickerStyle"
4630
PropertyCategory = NewPropertyCategory
4631
StringProperty = NewStringProperty
4632
IntProperty = NewIntProperty
4633
UIntProperty = NewUIntProperty
4634
FloatProperty = NewFloatProperty
4635
BoolProperty = NewBoolProperty
4636
EnumProperty = NewEnumProperty
4637
EditEnumProperty = NewEditEnumProperty
4638
FlagsProperty = NewFlagsProperty
4639
LongStringProperty = NewLongStringProperty
4640
FileProperty = NewFileProperty
4641
DirProperty = NewDirProperty
4642
ArrayStringProperty = NewArrayStringProperty
4643
FontProperty = NewFontProperty
4644
SystemColourProperty = NewSystemColourProperty
4645
ColourProperty = NewColourProperty
4646
CursorProperty = NewCursorProperty
4647
ImageFileProperty = NewImageFileProperty
4648
MultiChoiceProperty = NewMultiChoiceProperty
4649
DateProperty = NewDateProperty