~brian-sidebotham/wxwidgets-cmake/wxpython-2.9.4

« back to all changes in this revision

Viewing changes to wxPython/src/osx_cocoa/propgrid.py

  • Committer: Brian Sidebotham
  • Date: 2013-08-03 14:30:08 UTC
  • Revision ID: brian.sidebotham@gmail.com-20130803143008-c7806tkych1tp6fc
Initial import into Bazaar

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file was created automatically by SWIG 1.3.29.
 
2
# Don't modify this file, modify the SWIG interface instead.
 
3
 
 
4
"""
 
5
The `PropertyGrid` provides a specialized grid for editing
 
6
properties such as strings, numbers, colours, and string lists.
 
7
"""
 
8
 
 
9
import _propgrid
 
10
import new
 
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)
 
14
    if (name == "this"):
 
15
        if type(value).__name__ == 'PySwigObject':
 
16
            self.__dict__[name] = value
 
17
            return
 
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
 
22
    else:
 
23
        raise AttributeError("You cannot add attributes to %s" % self)
 
24
 
 
25
def _swig_setattr(self,class_type,name,value):
 
26
    return _swig_setattr_nondynamic(self,class_type,name,value,0)
 
27
 
 
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
 
33
 
 
34
def _swig_repr(self):
 
35
    try: strthis = "proxy of " + self.this.__repr__()
 
36
    except: strthis = ""
 
37
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
 
38
 
 
39
import types
 
40
try:
 
41
    _object = types.ObjectType
 
42
    _newclass = 1
 
43
except AttributeError:
 
44
    class _object : pass
 
45
    _newclass = 0
 
46
del types
 
47
 
 
48
 
 
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"):
 
53
            set(self,name,value)
 
54
        else:
 
55
            raise AttributeError("You cannot add attributes to %s" % self)
 
56
    return set_attr
 
57
 
 
58
 
 
59
import _core
 
60
import _windows
 
61
wx = _core 
 
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)
 
115
 
 
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): 
 
124
        """
 
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
 
129
        """
 
130
        _propgrid.PGCell_swiginit(self,_propgrid.new_PGCell(*args))
 
131
    __swig_destroy__ = _propgrid.delete_PGCell
 
132
    __del__ = lambda self : None;
 
133
    def GetData(*args):
 
134
        """
 
135
        GetData(self)
 
136
        GetData(self)
 
137
        """
 
138
        return _propgrid.PGCell_GetData(*args)
 
139
 
 
140
    def HasText(*args, **kwargs):
 
141
        """HasText(self) -> bool"""
 
142
        return _propgrid.PGCell_HasText(*args, **kwargs)
 
143
 
 
144
    def SetEmptyData(*args, **kwargs):
 
145
        """SetEmptyData(self)"""
 
146
        return _propgrid.PGCell_SetEmptyData(*args, **kwargs)
 
147
 
 
148
    def MergeFrom(*args, **kwargs):
 
149
        """MergeFrom(self, PGCell srcCell)"""
 
150
        return _propgrid.PGCell_MergeFrom(*args, **kwargs)
 
151
 
 
152
    def SetText(*args, **kwargs):
 
153
        """SetText(self, String text)"""
 
154
        return _propgrid.PGCell_SetText(*args, **kwargs)
 
155
 
 
156
    def SetBitmap(*args, **kwargs):
 
157
        """SetBitmap(self, Bitmap bitmap)"""
 
158
        return _propgrid.PGCell_SetBitmap(*args, **kwargs)
 
159
 
 
160
    def SetFgCol(*args, **kwargs):
 
161
        """SetFgCol(self, Colour col)"""
 
162
        return _propgrid.PGCell_SetFgCol(*args, **kwargs)
 
163
 
 
164
    def SetFont(*args, **kwargs):
 
165
        """SetFont(self, Font font)"""
 
166
        return _propgrid.PGCell_SetFont(*args, **kwargs)
 
167
 
 
168
    def SetBgCol(*args, **kwargs):
 
169
        """SetBgCol(self, Colour col)"""
 
170
        return _propgrid.PGCell_SetBgCol(*args, **kwargs)
 
171
 
 
172
    def GetText(*args, **kwargs):
 
173
        """GetText(self) -> String"""
 
174
        return _propgrid.PGCell_GetText(*args, **kwargs)
 
175
 
 
176
    def GetBitmap(*args, **kwargs):
 
177
        """GetBitmap(self) -> Bitmap"""
 
178
        return _propgrid.PGCell_GetBitmap(*args, **kwargs)
 
179
 
 
180
    def GetFgCol(*args, **kwargs):
 
181
        """GetFgCol(self) -> Colour"""
 
182
        return _propgrid.PGCell_GetFgCol(*args, **kwargs)
 
183
 
 
184
    def GetFont(*args, **kwargs):
 
185
        """GetFont(self) -> Font"""
 
186
        return _propgrid.PGCell_GetFont(*args, **kwargs)
 
187
 
 
188
    def GetBgCol(*args, **kwargs):
 
189
        """GetBgCol(self) -> Colour"""
 
190
        return _propgrid.PGCell_GetBgCol(*args, **kwargs)
 
191
 
 
192
    def IsInvalid(*args, **kwargs):
 
193
        """IsInvalid(self) -> bool"""
 
194
        return _propgrid.PGCell_IsInvalid(*args, **kwargs)
 
195
 
 
196
_propgrid.PGCell_swigregister(PGCell)
 
197
 
 
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): 
 
223
        """
 
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
 
229
        """
 
230
        _propgrid.PGChoices_swiginit(self,_propgrid.new_PGChoices(*args))
 
231
    __swig_destroy__ = _propgrid.delete_PGChoices
 
232
    __del__ = lambda self : None;
 
233
    def Add(*args):
 
234
        """
 
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)
 
239
        Add(self,  entry)
 
240
        """
 
241
        return _propgrid.PGChoices_Add(*args)
 
242
 
 
243
    def AddAsSorted(*args, **kwargs):
 
244
        """AddAsSorted(self, String label, int value=INT_MAX)"""
 
245
        return _propgrid.PGChoices_AddAsSorted(*args, **kwargs)
 
246
 
 
247
    def Assign(*args, **kwargs):
 
248
        """Assign(self, PGChoices a)"""
 
249
        return _propgrid.PGChoices_Assign(*args, **kwargs)
 
250
 
 
251
    def AssignData(*args, **kwargs):
 
252
        """AssignData(self,  data)"""
 
253
        return _propgrid.PGChoices_AssignData(*args, **kwargs)
 
254
 
 
255
    def Clear(*args, **kwargs):
 
256
        """Clear(self)"""
 
257
        return _propgrid.PGChoices_Clear(*args, **kwargs)
 
258
 
 
259
    def Copy(*args, **kwargs):
 
260
        """Copy(self) -> PGChoices"""
 
261
        return _propgrid.PGChoices_Copy(*args, **kwargs)
 
262
 
 
263
    def EnsureData(*args, **kwargs):
 
264
        """EnsureData(self)"""
 
265
        return _propgrid.PGChoices_EnsureData(*args, **kwargs)
 
266
 
 
267
    def GetId(*args, **kwargs):
 
268
        """GetId(self) -> PGChoicesId"""
 
269
        return _propgrid.PGChoices_GetId(*args, **kwargs)
 
270
 
 
271
    def GetLabel(*args, **kwargs):
 
272
        """GetLabel(self, int ind) -> String"""
 
273
        return _propgrid.PGChoices_GetLabel(*args, **kwargs)
 
274
 
 
275
    def GetCount(*args, **kwargs):
 
276
        """GetCount(self) -> int"""
 
277
        return _propgrid.PGChoices_GetCount(*args, **kwargs)
 
278
 
 
279
    def GetValue(*args, **kwargs):
 
280
        """GetValue(self, int ind) -> int"""
 
281
        return _propgrid.PGChoices_GetValue(*args, **kwargs)
 
282
 
 
283
    def GetValuesForStrings(*args, **kwargs):
 
284
        """GetValuesForStrings(self, wxArrayString strings) -> wxArrayInt"""
 
285
        return _propgrid.PGChoices_GetValuesForStrings(*args, **kwargs)
 
286
 
 
287
    def GetIndicesForStrings(*args, **kwargs):
 
288
        """GetIndicesForStrings(self, wxArrayString strings, wxArrayString unmatched=None) -> wxArrayInt"""
 
289
        return _propgrid.PGChoices_GetIndicesForStrings(*args, **kwargs)
 
290
 
 
291
    def Index(*args):
 
292
        """
 
293
        Index(self, String str) -> int
 
294
        Index(self, int val) -> int
 
295
        """
 
296
        return _propgrid.PGChoices_Index(*args)
 
297
 
 
298
    def Insert(*args):
 
299
        """
 
300
        Insert(self, String label, int index, int value=INT_MAX)
 
301
        Insert(self,  entry, int index)
 
302
        """
 
303
        return _propgrid.PGChoices_Insert(*args)
 
304
 
 
305
    def IsOk(*args, **kwargs):
 
306
        """IsOk(self) -> bool"""
 
307
        return _propgrid.PGChoices_IsOk(*args, **kwargs)
 
308
 
 
309
    def Item(*args):
 
310
        """
 
311
        Item(self, int i)
 
312
        Item(self, int i)
 
313
        """
 
314
        return _propgrid.PGChoices_Item(*args)
 
315
 
 
316
    def RemoveAt(*args, **kwargs):
 
317
        """RemoveAt(self, size_t nIndex, size_t count=1)"""
 
318
        return _propgrid.PGChoices_RemoveAt(*args, **kwargs)
 
319
 
 
320
    def Set(*args):
 
321
        """
 
322
        Set(self, wxChar labels, long values=None)
 
323
        Set(self, wxArrayString labels, wxArrayInt values=wxArrayInt())
 
324
        """
 
325
        return _propgrid.PGChoices_Set(*args)
 
326
 
 
327
    def AllocExclusive(*args, **kwargs):
 
328
        """AllocExclusive(self)"""
 
329
        return _propgrid.PGChoices_AllocExclusive(*args, **kwargs)
 
330
 
 
331
    def GetData(*args, **kwargs):
 
332
        """GetData(self)"""
 
333
        return _propgrid.PGChoices_GetData(*args, **kwargs)
 
334
 
 
335
    def GetDataPtr(*args, **kwargs):
 
336
        """GetDataPtr(self)"""
 
337
        return _propgrid.PGChoices_GetDataPtr(*args, **kwargs)
 
338
 
 
339
    def ExtractData(*args, **kwargs):
 
340
        """ExtractData(self)"""
 
341
        return _propgrid.PGChoices_ExtractData(*args, **kwargs)
 
342
 
 
343
    def GetLabels(*args, **kwargs):
 
344
        """GetLabels(self) -> wxArrayString"""
 
345
        return _propgrid.PGChoices_GetLabels(*args, **kwargs)
 
346
 
 
347
_propgrid.PGChoices_swigregister(PGChoices)
 
348
 
 
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): 
 
354
        """
 
355
        __init__(self) -> PGProperty
 
356
        __init__(self, String label, String name) -> PGProperty
 
357
        """
 
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)
 
364
 
 
365
    def DoGetValue(*args, **kwargs):
 
366
        """DoGetValue(self) -> wxVariant"""
 
367
        return _propgrid.PGProperty_DoGetValue(*args, **kwargs)
 
368
 
 
369
    def ValueToString(*args, **kwargs):
 
370
        """ValueToString(self, wxVariant value, int argFlags=0) -> String"""
 
371
        return _propgrid.PGProperty_ValueToString(*args, **kwargs)
 
372
 
 
373
    def SetValueFromString(*args, **kwargs):
 
374
        """SetValueFromString(self, String text, int flags=PG_PROGRAMMATIC_VALUE) -> bool"""
 
375
        return _propgrid.PGProperty_SetValueFromString(*args, **kwargs)
 
376
 
 
377
    def SetValueFromInt(*args, **kwargs):
 
378
        """SetValueFromInt(self, long value, int flags=0) -> bool"""
 
379
        return _propgrid.PGProperty_SetValueFromInt(*args, **kwargs)
 
380
 
 
381
    def OnMeasureImage(*args, **kwargs):
 
382
        """OnMeasureImage(self, int item=-1) -> Size"""
 
383
        return _propgrid.PGProperty_OnMeasureImage(*args, **kwargs)
 
384
 
 
385
    def OnEvent(*args, **kwargs):
 
386
        """OnEvent(self, PropertyGrid propgrid, Window wnd_primary, Event event) -> bool"""
 
387
        return _propgrid.PGProperty_OnEvent(*args, **kwargs)
 
388
 
 
389
    def ChildChanged(*args, **kwargs):
 
390
        """ChildChanged(self, wxVariant thisValue, int childIndex, wxVariant childValue) -> wxVariant"""
 
391
        return _propgrid.PGProperty_ChildChanged(*args, **kwargs)
 
392
 
 
393
    def DoGetEditorClass(*args, **kwargs):
 
394
        """DoGetEditorClass(self) -> PGEditor"""
 
395
        return _propgrid.PGProperty_DoGetEditorClass(*args, **kwargs)
 
396
 
 
397
    def DoGetValidator(*args, **kwargs):
 
398
        """DoGetValidator(self) -> Validator"""
 
399
        return _propgrid.PGProperty_DoGetValidator(*args, **kwargs)
 
400
 
 
401
    def OnCustomPaint(*args, **kwargs):
 
402
        """OnCustomPaint(self, DC dc, Rect rect, PGPaintData paintdata)"""
 
403
        return _propgrid.PGProperty_OnCustomPaint(*args, **kwargs)
 
404
 
 
405
    def GetCellRenderer(*args, **kwargs):
 
406
        """GetCellRenderer(self, int column)"""
 
407
        return _propgrid.PGProperty_GetCellRenderer(*args, **kwargs)
 
408
 
 
409
    def GetChoiceSelection(*args, **kwargs):
 
410
        """GetChoiceSelection(self) -> int"""
 
411
        return _propgrid.PGProperty_GetChoiceSelection(*args, **kwargs)
 
412
 
 
413
    def RefreshChildren(*args, **kwargs):
 
414
        """RefreshChildren(self)"""
 
415
        return _propgrid.PGProperty_RefreshChildren(*args, **kwargs)
 
416
 
 
417
    def DoSetAttribute(*args, **kwargs):
 
418
        """DoSetAttribute(self, String name, wxVariant value) -> bool"""
 
419
        return _propgrid.PGProperty_DoSetAttribute(*args, **kwargs)
 
420
 
 
421
    def DoGetAttribute(*args, **kwargs):
 
422
        """DoGetAttribute(self, String name) -> wxVariant"""
 
423
        return _propgrid.PGProperty_DoGetAttribute(*args, **kwargs)
 
424
 
 
425
    def GetEditorDialog(*args, **kwargs):
 
426
        """GetEditorDialog(self) -> PGEditorDialogAdapter"""
 
427
        return _propgrid.PGProperty_GetEditorDialog(*args, **kwargs)
 
428
 
 
429
    def OnValidationFailure(*args, **kwargs):
 
430
        """OnValidationFailure(self, wxVariant pendingValue)"""
 
431
        return _propgrid.PGProperty_OnValidationFailure(*args, **kwargs)
 
432
 
 
433
    def AddChoice(*args, **kwargs):
 
434
        """AddChoice(self, String label, int value=INT_MAX) -> int"""
 
435
        return _propgrid.PGProperty_AddChoice(*args, **kwargs)
 
436
 
 
437
    def AreChildrenComponents(*args, **kwargs):
 
438
        """AreChildrenComponents(self) -> bool"""
 
439
        return _propgrid.PGProperty_AreChildrenComponents(*args, **kwargs)
 
440
 
 
441
    def DeleteChildren(*args, **kwargs):
 
442
        """DeleteChildren(self)"""
 
443
        return _propgrid.PGProperty_DeleteChildren(*args, **kwargs)
 
444
 
 
445
    def DeleteChoice(*args, **kwargs):
 
446
        """DeleteChoice(self, int index)"""
 
447
        return _propgrid.PGProperty_DeleteChoice(*args, **kwargs)
 
448
 
 
449
    def Enable(*args, **kwargs):
 
450
        """Enable(self, bool enable=True)"""
 
451
        return _propgrid.PGProperty_Enable(*args, **kwargs)
 
452
 
 
453
    def EnableCommonValue(*args, **kwargs):
 
454
        """EnableCommonValue(self, bool enable=True)"""
 
455
        return _propgrid.PGProperty_EnableCommonValue(*args, **kwargs)
 
456
 
 
457
    def GenerateComposedValue(*args, **kwargs):
 
458
        """GenerateComposedValue(self) -> String"""
 
459
        return _propgrid.PGProperty_GenerateComposedValue(*args, **kwargs)
 
460
 
 
461
    def GetLabel(*args, **kwargs):
 
462
        """GetLabel(self) -> String"""
 
463
        return _propgrid.PGProperty_GetLabel(*args, **kwargs)
 
464
 
 
465
    def GetName(*args, **kwargs):
 
466
        """GetName(self) -> String"""
 
467
        return _propgrid.PGProperty_GetName(*args, **kwargs)
 
468
 
 
469
    def GetBaseName(*args, **kwargs):
 
470
        """GetBaseName(self) -> String"""
 
471
        return _propgrid.PGProperty_GetBaseName(*args, **kwargs)
 
472
 
 
473
    def GetChoices(*args, **kwargs):
 
474
        """GetChoices(self) -> PGChoices"""
 
475
        return _propgrid.PGProperty_GetChoices(*args, **kwargs)
 
476
 
 
477
    def GetY(*args, **kwargs):
 
478
        """GetY(self) -> int"""
 
479
        return _propgrid.PGProperty_GetY(*args, **kwargs)
 
480
 
 
481
    def GetValue(*args, **kwargs):
 
482
        """GetValue(self) -> wxVariant"""
 
483
        return _propgrid.PGProperty_GetValue(*args, **kwargs)
 
484
 
 
485
    def GetValuePlain(*args, **kwargs):
 
486
        """GetValuePlain(self) -> wxVariant"""
 
487
        return _propgrid.PGProperty_GetValuePlain(*args, **kwargs)
 
488
 
 
489
    def GetValueAsString(*args, **kwargs):
 
490
        """GetValueAsString(self, int argFlags=0) -> String"""
 
491
        return _propgrid.PGProperty_GetValueAsString(*args, **kwargs)
 
492
 
 
493
    def GetCell(*args):
 
494
        """
 
495
        GetCell(self, int column) -> PGCell
 
496
        GetCell(self, int column) -> PGCell
 
497
        """
 
498
        return _propgrid.PGProperty_GetCell(*args)
 
499
 
 
500
    def GetOrCreateCell(*args, **kwargs):
 
501
        """GetOrCreateCell(self, int column) -> PGCell"""
 
502
        return _propgrid.PGProperty_GetOrCreateCell(*args, **kwargs)
 
503
 
 
504
    def GetDisplayedCommonValueCount(*args, **kwargs):
 
505
        """GetDisplayedCommonValueCount(self) -> int"""
 
506
        return _propgrid.PGProperty_GetDisplayedCommonValueCount(*args, **kwargs)
 
507
 
 
508
    def GetDisplayedString(*args, **kwargs):
 
509
        """GetDisplayedString(self) -> String"""
 
510
        return _propgrid.PGProperty_GetDisplayedString(*args, **kwargs)
 
511
 
 
512
    def GetHintText(*args, **kwargs):
 
513
        """GetHintText(self) -> String"""
 
514
        return _propgrid.PGProperty_GetHintText(*args, **kwargs)
 
515
 
 
516
    def GetGrid(*args, **kwargs):
 
517
        """GetGrid(self) -> PropertyGrid"""
 
518
        return _propgrid.PGProperty_GetGrid(*args, **kwargs)
 
519
 
 
520
    def GetGridIfDisplayed(*args, **kwargs):
 
521
        """GetGridIfDisplayed(self) -> PropertyGrid"""
 
522
        return _propgrid.PGProperty_GetGridIfDisplayed(*args, **kwargs)
 
523
 
 
524
    def GetMainParent(*args, **kwargs):
 
525
        """GetMainParent(self) -> PGProperty"""
 
526
        return _propgrid.PGProperty_GetMainParent(*args, **kwargs)
 
527
 
 
528
    def GetParent(*args, **kwargs):
 
529
        """GetParent(self) -> PGProperty"""
 
530
        return _propgrid.PGProperty_GetParent(*args, **kwargs)
 
531
 
 
532
    def IsTextEditable(*args, **kwargs):
 
533
        """IsTextEditable(self) -> bool"""
 
534
        return _propgrid.PGProperty_IsTextEditable(*args, **kwargs)
 
535
 
 
536
    def IsValueUnspecified(*args, **kwargs):
 
537
        """IsValueUnspecified(self) -> bool"""
 
538
        return _propgrid.PGProperty_IsValueUnspecified(*args, **kwargs)
 
539
 
 
540
    def HasFlag(*args, **kwargs):
 
541
        """HasFlag(self, int flag) -> FlagType"""
 
542
        return _propgrid.PGProperty_HasFlag(*args, **kwargs)
 
543
 
 
544
    def GetAttributes(*args, **kwargs):
 
545
        """GetAttributes(self)"""
 
546
        return _propgrid.PGProperty_GetAttributes(*args, **kwargs)
 
547
 
 
548
    def GetAttributesAsList(*args, **kwargs):
 
549
        """GetAttributesAsList(self) -> wxVariant"""
 
550
        return _propgrid.PGProperty_GetAttributesAsList(*args, **kwargs)
 
551
 
 
552
    def GetFlags(*args, **kwargs):
 
553
        """GetFlags(self) -> FlagType"""
 
554
        return _propgrid.PGProperty_GetFlags(*args, **kwargs)
 
555
 
 
556
    def GetEditorClass(*args, **kwargs):
 
557
        """GetEditorClass(self) -> PGEditor"""
 
558
        return _propgrid.PGProperty_GetEditorClass(*args, **kwargs)
 
559
 
 
560
    def GetValueType(*args, **kwargs):
 
561
        """GetValueType(self) -> String"""
 
562
        return _propgrid.PGProperty_GetValueType(*args, **kwargs)
 
563
 
 
564
    def GetColumnEditor(*args, **kwargs):
 
565
        """GetColumnEditor(self, int column) -> PGEditor"""
 
566
        return _propgrid.PGProperty_GetColumnEditor(*args, **kwargs)
 
567
 
 
568
    def GetCommonValue(*args, **kwargs):
 
569
        """GetCommonValue(self) -> int"""
 
570
        return _propgrid.PGProperty_GetCommonValue(*args, **kwargs)
 
571
 
 
572
    def HasVisibleChildren(*args, **kwargs):
 
573
        """HasVisibleChildren(self) -> bool"""
 
574
        return _propgrid.PGProperty_HasVisibleChildren(*args, **kwargs)
 
575
 
 
576
    def InsertChild(*args, **kwargs):
 
577
        """InsertChild(self, int index, PGProperty childProperty) -> PGProperty"""
 
578
        return _propgrid.PGProperty_InsertChild(*args, **kwargs)
 
579
 
 
580
    def InsertChoice(*args, **kwargs):
 
581
        """InsertChoice(self, String label, int index, int value=INT_MAX) -> int"""
 
582
        return _propgrid.PGProperty_InsertChoice(*args, **kwargs)
 
583
 
 
584
    def IsCategory(*args, **kwargs):
 
585
        """IsCategory(self) -> bool"""
 
586
        return _propgrid.PGProperty_IsCategory(*args, **kwargs)
 
587
 
 
588
    def IsRoot(*args, **kwargs):
 
589
        """IsRoot(self) -> bool"""
 
590
        return _propgrid.PGProperty_IsRoot(*args, **kwargs)
 
591
 
 
592
    def IsSubProperty(*args, **kwargs):
 
593
        """IsSubProperty(self) -> bool"""
 
594
        return _propgrid.PGProperty_IsSubProperty(*args, **kwargs)
 
595
 
 
596
    def GetLastVisibleSubItem(*args, **kwargs):
 
597
        """GetLastVisibleSubItem(self) -> PGProperty"""
 
598
        return _propgrid.PGProperty_GetLastVisibleSubItem(*args, **kwargs)
 
599
 
 
600
    def GetDefaultValue(*args, **kwargs):
 
601
        """GetDefaultValue(self) -> wxVariant"""
 
602
        return _propgrid.PGProperty_GetDefaultValue(*args, **kwargs)
 
603
 
 
604
    def GetMaxLength(*args, **kwargs):
 
605
        """GetMaxLength(self) -> int"""
 
606
        return _propgrid.PGProperty_GetMaxLength(*args, **kwargs)
 
607
 
 
608
    def AreAllChildrenSpecified(*args, **kwargs):
 
609
        """AreAllChildrenSpecified(self, wxVariant pendingList=None) -> bool"""
 
610
        return _propgrid.PGProperty_AreAllChildrenSpecified(*args, **kwargs)
 
611
 
 
612
    def UpdateParentValues(*args, **kwargs):
 
613
        """UpdateParentValues(self) -> PGProperty"""
 
614
        return _propgrid.PGProperty_UpdateParentValues(*args, **kwargs)
 
615
 
 
616
    def UsesAutoUnspecified(*args, **kwargs):
 
617
        """UsesAutoUnspecified(self) -> bool"""
 
618
        return _propgrid.PGProperty_UsesAutoUnspecified(*args, **kwargs)
 
619
 
 
620
    def GetValueImage(*args, **kwargs):
 
621
        """GetValueImage(self) -> Bitmap"""
 
622
        return _propgrid.PGProperty_GetValueImage(*args, **kwargs)
 
623
 
 
624
    def GetAttribute(*args):
 
625
        """
 
626
        GetAttribute(self, String name) -> wxVariant
 
627
        GetAttribute(self, String name, String defVal) -> String
 
628
        """
 
629
        return _propgrid.PGProperty_GetAttribute(*args)
 
630
 
 
631
    def GetAttributeAsLong(*args, **kwargs):
 
632
        """GetAttributeAsLong(self, String name, long defVal) -> long"""
 
633
        return _propgrid.PGProperty_GetAttributeAsLong(*args, **kwargs)
 
634
 
 
635
    def GetAttributeAsDouble(*args, **kwargs):
 
636
        """GetAttributeAsDouble(self, String name, double defVal) -> double"""
 
637
        return _propgrid.PGProperty_GetAttributeAsDouble(*args, **kwargs)
 
638
 
 
639
    def GetDepth(*args, **kwargs):
 
640
        """GetDepth(self) -> int"""
 
641
        return _propgrid.PGProperty_GetDepth(*args, **kwargs)
 
642
 
 
643
    def GetFlagsAsString(*args, **kwargs):
 
644
        """GetFlagsAsString(self, FlagType flagsMask) -> String"""
 
645
        return _propgrid.PGProperty_GetFlagsAsString(*args, **kwargs)
 
646
 
 
647
    def GetIndexInParent(*args, **kwargs):
 
648
        """GetIndexInParent(self) -> int"""
 
649
        return _propgrid.PGProperty_GetIndexInParent(*args, **kwargs)
 
650
 
 
651
    def Hide(*args, **kwargs):
 
652
        """Hide(self, bool hide, int flags=PG_RECURSE) -> bool"""
 
653
        return _propgrid.PGProperty_Hide(*args, **kwargs)
 
654
 
 
655
    def IsExpanded(*args, **kwargs):
 
656
        """IsExpanded(self) -> bool"""
 
657
        return _propgrid.PGProperty_IsExpanded(*args, **kwargs)
 
658
 
 
659
    def IsVisible(*args, **kwargs):
 
660
        """IsVisible(self) -> bool"""
 
661
        return _propgrid.PGProperty_IsVisible(*args, **kwargs)
 
662
 
 
663
    def IsEnabled(*args, **kwargs):
 
664
        """IsEnabled(self) -> bool"""
 
665
        return _propgrid.PGProperty_IsEnabled(*args, **kwargs)
 
666
 
 
667
    def RecreateEditor(*args, **kwargs):
 
668
        """RecreateEditor(self) -> bool"""
 
669
        return _propgrid.PGProperty_RecreateEditor(*args, **kwargs)
 
670
 
 
671
    def RefreshEditor(*args, **kwargs):
 
672
        """RefreshEditor(self)"""
 
673
        return _propgrid.PGProperty_RefreshEditor(*args, **kwargs)
 
674
 
 
675
    def SetAttribute(*args, **kwargs):
 
676
        """SetAttribute(self, String name, wxVariant value)"""
 
677
        return _propgrid.PGProperty_SetAttribute(*args, **kwargs)
 
678
 
 
679
    def SetAttributes(*args, **kwargs):
 
680
        """SetAttributes(self,  attributes)"""
 
681
        return _propgrid.PGProperty_SetAttributes(*args, **kwargs)
 
682
 
 
683
    def SetAutoUnspecified(*args, **kwargs):
 
684
        """SetAutoUnspecified(self, bool enable=True)"""
 
685
        return _propgrid.PGProperty_SetAutoUnspecified(*args, **kwargs)
 
686
 
 
687
    def SetBackgroundColour(*args, **kwargs):
 
688
        """SetBackgroundColour(self, Colour colour, int flags=PG_RECURSE)"""
 
689
        return _propgrid.PGProperty_SetBackgroundColour(*args, **kwargs)
 
690
 
 
691
    def SetTextColour(*args, **kwargs):
 
692
        """SetTextColour(self, Colour colour, int flags=PG_RECURSE)"""
 
693
        return _propgrid.PGProperty_SetTextColour(*args, **kwargs)
 
694
 
 
695
    def SetDefaultValue(*args, **kwargs):
 
696
        """SetDefaultValue(self, wxVariant value)"""
 
697
        return _propgrid.PGProperty_SetDefaultValue(*args, **kwargs)
 
698
 
 
699
    def SetEditor(*args, **kwargs):
 
700
        """SetEditor(self, String editorName)"""
 
701
        return _propgrid.PGProperty_SetEditor(*args, **kwargs)
 
702
 
 
703
    def SetCell(*args, **kwargs):
 
704
        """SetCell(self, int column, PGCell cell)"""
 
705
        return _propgrid.PGProperty_SetCell(*args, **kwargs)
 
706
 
 
707
    def SetCommonValue(*args, **kwargs):
 
708
        """SetCommonValue(self, int commonValue)"""
 
709
        return _propgrid.PGProperty_SetCommonValue(*args, **kwargs)
 
710
 
 
711
    def SetFlagsFromString(*args, **kwargs):
 
712
        """SetFlagsFromString(self, String str)"""
 
713
        return _propgrid.PGProperty_SetFlagsFromString(*args, **kwargs)
 
714
 
 
715
    def SetModifiedStatus(*args, **kwargs):
 
716
        """SetModifiedStatus(self, bool modified)"""
 
717
        return _propgrid.PGProperty_SetModifiedStatus(*args, **kwargs)
 
718
 
 
719
    def SetValueInEvent(*args, **kwargs):
 
720
        """SetValueInEvent(self, wxVariant value)"""
 
721
        return _propgrid.PGProperty_SetValueInEvent(*args, **kwargs)
 
722
 
 
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)
 
726
 
 
727
    def SetValueImage(*args, **kwargs):
 
728
        """SetValueImage(self, Bitmap bmp)"""
 
729
        return _propgrid.PGProperty_SetValueImage(*args, **kwargs)
 
730
 
 
731
    def SetChoiceSelection(*args, **kwargs):
 
732
        """SetChoiceSelection(self, int newValue)"""
 
733
        return _propgrid.PGProperty_SetChoiceSelection(*args, **kwargs)
 
734
 
 
735
    def SetExpanded(*args, **kwargs):
 
736
        """SetExpanded(self, bool expanded)"""
 
737
        return _propgrid.PGProperty_SetExpanded(*args, **kwargs)
 
738
 
 
739
    def ChangeFlag(*args, **kwargs):
 
740
        """ChangeFlag(self, int flag, bool set)"""
 
741
        return _propgrid.PGProperty_ChangeFlag(*args, **kwargs)
 
742
 
 
743
    def SetFlagRecursively(*args, **kwargs):
 
744
        """SetFlagRecursively(self, int flag, bool set)"""
 
745
        return _propgrid.PGProperty_SetFlagRecursively(*args, **kwargs)
 
746
 
 
747
    def SetHelpString(*args, **kwargs):
 
748
        """SetHelpString(self, String helpString)"""
 
749
        return _propgrid.PGProperty_SetHelpString(*args, **kwargs)
 
750
 
 
751
    def SetLabel(*args, **kwargs):
 
752
        """SetLabel(self, String label)"""
 
753
        return _propgrid.PGProperty_SetLabel(*args, **kwargs)
 
754
 
 
755
    def SetName(*args, **kwargs):
 
756
        """SetName(self, String newName)"""
 
757
        return _propgrid.PGProperty_SetName(*args, **kwargs)
 
758
 
 
759
    def SetParentalType(*args, **kwargs):
 
760
        """SetParentalType(self, int flag)"""
 
761
        return _propgrid.PGProperty_SetParentalType(*args, **kwargs)
 
762
 
 
763
    def SetValueToUnspecified(*args, **kwargs):
 
764
        """SetValueToUnspecified(self)"""
 
765
        return _propgrid.PGProperty_SetValueToUnspecified(*args, **kwargs)
 
766
 
 
767
    def SetValuePlain(*args, **kwargs):
 
768
        """SetValuePlain(self, wxVariant value)"""
 
769
        return _propgrid.PGProperty_SetValuePlain(*args, **kwargs)
 
770
 
 
771
    def SetValidator(*args, **kwargs):
 
772
        """SetValidator(self, Validator validator)"""
 
773
        return _propgrid.PGProperty_SetValidator(*args, **kwargs)
 
774
 
 
775
    def GetValidator(*args, **kwargs):
 
776
        """GetValidator(self) -> Validator"""
 
777
        return _propgrid.PGProperty_GetValidator(*args, **kwargs)
 
778
 
 
779
    def SetMaxLength(*args, **kwargs):
 
780
        """SetMaxLength(self, int maxLen) -> bool"""
 
781
        return _propgrid.PGProperty_SetMaxLength(*args, **kwargs)
 
782
 
 
783
    def SetWasModified(*args, **kwargs):
 
784
        """SetWasModified(self, bool set=True)"""
 
785
        return _propgrid.PGProperty_SetWasModified(*args, **kwargs)
 
786
 
 
787
    def GetHelpString(*args, **kwargs):
 
788
        """GetHelpString(self) -> String"""
 
789
        return _propgrid.PGProperty_GetHelpString(*args, **kwargs)
 
790
 
 
791
    def IsSomeParent(*args, **kwargs):
 
792
        """IsSomeParent(self, PGProperty candidate_parent) -> bool"""
 
793
        return _propgrid.PGProperty_IsSomeParent(*args, **kwargs)
 
794
 
 
795
    def AdaptListToValue(*args, **kwargs):
 
796
        """AdaptListToValue(self, wxVariant list, wxVariant value)"""
 
797
        return _propgrid.PGProperty_AdaptListToValue(*args, **kwargs)
 
798
 
 
799
    def AddPrivateChild(*args, **kwargs):
 
800
        """AddPrivateChild(self, PGProperty prop)"""
 
801
        return _propgrid.PGProperty_AddPrivateChild(*args, **kwargs)
 
802
 
 
803
    def AppendChild(*args, **kwargs):
 
804
        """AppendChild(self, PGProperty prop) -> PGProperty"""
 
805
        return _propgrid.PGProperty_AppendChild(*args, **kwargs)
 
806
 
 
807
    def GetChildrenHeight(*args, **kwargs):
 
808
        """GetChildrenHeight(self, int lh, int iMax=-1) -> int"""
 
809
        return _propgrid.PGProperty_GetChildrenHeight(*args, **kwargs)
 
810
 
 
811
    def GetChildCount(*args, **kwargs):
 
812
        """GetChildCount(self) -> int"""
 
813
        return _propgrid.PGProperty_GetChildCount(*args, **kwargs)
 
814
 
 
815
    def Item(*args, **kwargs):
 
816
        """Item(self, int i) -> PGProperty"""
 
817
        return _propgrid.PGProperty_Item(*args, **kwargs)
 
818
 
 
819
    def Last(*args, **kwargs):
 
820
        """Last(self) -> PGProperty"""
 
821
        return _propgrid.PGProperty_Last(*args, **kwargs)
 
822
 
 
823
    def Index(*args, **kwargs):
 
824
        """Index(self, PGProperty p) -> int"""
 
825
        return _propgrid.PGProperty_Index(*args, **kwargs)
 
826
 
 
827
    def FixIndicesOfChildren(*args, **kwargs):
 
828
        """FixIndicesOfChildren(self, int starthere=0)"""
 
829
        return _propgrid.PGProperty_FixIndicesOfChildren(*args, **kwargs)
 
830
 
 
831
    def GetImageOffset(*args, **kwargs):
 
832
        """GetImageOffset(self, int imageWidth) -> int"""
 
833
        return _propgrid.PGProperty_GetImageOffset(*args, **kwargs)
 
834
 
 
835
    def GetItemAtY(*args, **kwargs):
 
836
        """GetItemAtY(self, int y) -> PGProperty"""
 
837
        return _propgrid.PGProperty_GetItemAtY(*args, **kwargs)
 
838
 
 
839
    def GetPropertyByName(*args, **kwargs):
 
840
        """GetPropertyByName(self, String name) -> PGProperty"""
 
841
        return _propgrid.PGProperty_GetPropertyByName(*args, **kwargs)
 
842
 
 
843
    def SetPyChoices(*args):
 
844
        """
 
845
        SetPyChoices(self, PGChoices chs) -> bool
 
846
        SetPyChoices(self, wxArrayString labels, wxArrayInt values=wxArrayInt()) -> bool
 
847
        """
 
848
        return _propgrid.PGProperty_SetPyChoices(*args)
 
849
 
 
850
    def PyBase_StringToValue(*args, **kwargs):
 
851
        """PyBase_StringToValue(self, String text, int argFlags=0) -> wxPGVariantAndBool"""
 
852
        return _propgrid.PGProperty_PyBase_StringToValue(*args, **kwargs)
 
853
 
 
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)
 
857
 
 
858
    m_value = property(GetValuePlain,SetValuePlain) 
 
859
    def GetPyClientData(*args, **kwargs):
 
860
        """
 
861
        GetPyClientData(self) -> PyObject
 
862
 
 
863
        Returns the client data object for a property
 
864
        """
 
865
        return _propgrid.PGProperty_GetPyClientData(*args, **kwargs)
 
866
 
 
867
    def SetPyClientData(*args, **kwargs):
 
868
        """
 
869
        SetPyClientData(self, PyObject clientData)
 
870
 
 
871
        Associate the given client data.
 
872
        """
 
873
        return _propgrid.PGProperty_SetPyClientData(*args, **kwargs)
 
874
 
 
875
    SetChoices = SetPyChoices
 
876
    StringToValue = PyBase_StringToValue
 
877
    IntToValue = PyBase_IntToValue
 
878
    GetClientObject = GetPyClientData
 
879
    SetClientObject = SetPyClientData
 
880
    GetClientData = GetPyClientData
 
881
    SetClientData = SetPyClientData
 
882
 
 
883
_propgrid.PGProperty_swigregister(PGProperty)
 
884
 
 
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)
 
897
 
 
898
    def GetProperty(*args, **kwargs):
 
899
        """GetProperty(self) -> PGProperty"""
 
900
        return _propgrid.PropertyGridHitTestResult_GetProperty(*args, **kwargs)
 
901
 
 
902
    def GetSplitter(*args, **kwargs):
 
903
        """GetSplitter(self) -> int"""
 
904
        return _propgrid.PropertyGridHitTestResult_GetSplitter(*args, **kwargs)
 
905
 
 
906
    def GetSplitterHitOffset(*args, **kwargs):
 
907
        """GetSplitterHitOffset(self) -> int"""
 
908
        return _propgrid.PropertyGridHitTestResult_GetSplitterHitOffset(*args, **kwargs)
 
909
 
 
910
_propgrid.PropertyGridHitTestResult_swigregister(PropertyGridHitTestResult)
 
911
 
 
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)
 
935
 
 
936
    def AtEnd(*args, **kwargs):
 
937
        """AtEnd(self) -> bool"""
 
938
        return _propgrid.PropertyGridIteratorBase_AtEnd(*args, **kwargs)
 
939
 
 
940
    def GetProperty(*args, **kwargs):
 
941
        """GetProperty(self) -> PGProperty"""
 
942
        return _propgrid.PropertyGridIteratorBase_GetProperty(*args, **kwargs)
 
943
 
 
944
    def Init(*args):
 
945
        """
 
946
        Init(self,  state, int flags, PGProperty property, int dir=1)
 
947
        Init(self,  state, int flags, int startPos=TOP, int dir=0)
 
948
        """
 
949
        return _propgrid.PropertyGridIteratorBase_Init(*args)
 
950
 
 
951
    def Next(*args, **kwargs):
 
952
        """Next(self, bool iterateChildren=True)"""
 
953
        return _propgrid.PropertyGridIteratorBase_Next(*args, **kwargs)
 
954
 
 
955
    def Prev(*args, **kwargs):
 
956
        """Prev(self)"""
 
957
        return _propgrid.PropertyGridIteratorBase_Prev(*args, **kwargs)
 
958
 
 
959
    def SetBaseParent(*args, **kwargs):
 
960
        """SetBaseParent(self, PGProperty baseParent)"""
 
961
        return _propgrid.PropertyGridIteratorBase_SetBaseParent(*args, **kwargs)
 
962
 
 
963
_propgrid.PropertyGridIteratorBase_swigregister(PropertyGridIteratorBase)
 
964
 
 
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): 
 
970
        """
 
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
 
976
        """
 
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)
 
983
 
 
984
    def OneStep(*args, **kwargs):
 
985
        """
 
986
        OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None, 
 
987
            int dir=1) -> PGProperty
 
988
        """
 
989
        return _propgrid.PropertyGridIterator_OneStep(*args, **kwargs)
 
990
 
 
991
    OneStep = staticmethod(OneStep)
 
992
_propgrid.PropertyGridIterator_swigregister(PropertyGridIterator)
 
993
 
 
994
def PropertyGridIterator_OneStep(*args, **kwargs):
 
995
  """
 
996
    PropertyGridIterator_OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None, 
 
997
        int dir=1) -> PGProperty
 
998
    """
 
999
  return _propgrid.PropertyGridIterator_OneStep(*args, **kwargs)
 
1000
 
 
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)
 
1010
 
 
1011
    def OneStep(*args, **kwargs):
 
1012
        """
 
1013
        OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None, 
 
1014
            int dir=1) -> PGProperty
 
1015
        """
 
1016
        return _propgrid.PropertyGridConstIterator_OneStep(*args, **kwargs)
 
1017
 
 
1018
    OneStep = staticmethod(OneStep)
 
1019
    def __init__(self, *args): 
 
1020
        """
 
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
 
1027
        """
 
1028
        _propgrid.PropertyGridConstIterator_swiginit(self,_propgrid.new_PropertyGridConstIterator(*args))
 
1029
_propgrid.PropertyGridConstIterator_swigregister(PropertyGridConstIterator)
 
1030
 
 
1031
def PropertyGridConstIterator_OneStep(*args, **kwargs):
 
1032
  """
 
1033
    PropertyGridConstIterator_OneStep( state, int flags=PG_ITERATE_DEFAULT, PGProperty property=None, 
 
1034
        int dir=1) -> PGProperty
 
1035
    """
 
1036
  return _propgrid.PropertyGridConstIterator_OneStep(*args, **kwargs)
 
1037
 
 
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):
 
1044
        """Next(self)"""
 
1045
        return _propgrid.PGVIteratorBase_Next(*args, **kwargs)
 
1046
 
 
1047
_propgrid.PGVIteratorBase_swigregister(PGVIteratorBase)
 
1048
 
 
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):
 
1056
        """UnRef(self)"""
 
1057
        return _propgrid.PGVIterator_UnRef(*args, **kwargs)
 
1058
 
 
1059
    def __init__(self, *args): 
 
1060
        """
 
1061
        __init__(self) -> PGVIterator
 
1062
        __init__(self, PGVIteratorBase obj) -> PGVIterator
 
1063
        __init__(self, PGVIterator it) -> PGVIterator
 
1064
        """
 
1065
        _propgrid.PGVIterator_swiginit(self,_propgrid.new_PGVIterator(*args))
 
1066
    def Next(*args, **kwargs):
 
1067
        """Next(self)"""
 
1068
        return _propgrid.PGVIterator_Next(*args, **kwargs)
 
1069
 
 
1070
    def AtEnd(*args, **kwargs):
 
1071
        """AtEnd(self) -> bool"""
 
1072
        return _propgrid.PGVIterator_AtEnd(*args, **kwargs)
 
1073
 
 
1074
    def GetProperty(*args, **kwargs):
 
1075
        """GetProperty(self) -> PGProperty"""
 
1076
        return _propgrid.PGVIterator_GetProperty(*args, **kwargs)
 
1077
 
 
1078
_propgrid.PGVIterator_swigregister(PGVIterator)
 
1079
 
 
1080
 
 
1081
def PGTypeOperationFailed(*args, **kwargs):
 
1082
  """PGTypeOperationFailed(PGProperty p, String typestr, String op)"""
 
1083
  return _propgrid.PGTypeOperationFailed(*args, **kwargs)
 
1084
 
 
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)
 
1098
 
 
1099
    def AppendIn(*args, **kwargs):
 
1100
        """AppendIn(self, PGPropArg id, PGProperty newproperty) -> PGProperty"""
 
1101
        return _propgrid.PropertyGridInterface_AppendIn(*args, **kwargs)
 
1102
 
 
1103
    def BeginAddChildren(*args, **kwargs):
 
1104
        """BeginAddChildren(self, PGPropArg id)"""
 
1105
        return _propgrid.PropertyGridInterface_BeginAddChildren(*args, **kwargs)
 
1106
 
 
1107
    def Clear(*args, **kwargs):
 
1108
        """Clear(self)"""
 
1109
        return _propgrid.PropertyGridInterface_Clear(*args, **kwargs)
 
1110
 
 
1111
    def ClearSelection(*args, **kwargs):
 
1112
        """ClearSelection(self, bool validation=False) -> bool"""
 
1113
        return _propgrid.PropertyGridInterface_ClearSelection(*args, **kwargs)
 
1114
 
 
1115
    def ClearModifiedStatus(*args, **kwargs):
 
1116
        """ClearModifiedStatus(self)"""
 
1117
        return _propgrid.PropertyGridInterface_ClearModifiedStatus(*args, **kwargs)
 
1118
 
 
1119
    def Collapse(*args, **kwargs):
 
1120
        """Collapse(self, PGPropArg id) -> bool"""
 
1121
        return _propgrid.PropertyGridInterface_Collapse(*args, **kwargs)
 
1122
 
 
1123
    def CollapseAll(*args, **kwargs):
 
1124
        """CollapseAll(self) -> bool"""
 
1125
        return _propgrid.PropertyGridInterface_CollapseAll(*args, **kwargs)
 
1126
 
 
1127
    def ChangePropertyValue(*args, **kwargs):
 
1128
        """ChangePropertyValue(self, PGPropArg id, wxVariant newValue) -> bool"""
 
1129
        return _propgrid.PropertyGridInterface_ChangePropertyValue(*args, **kwargs)
 
1130
 
 
1131
    def DeleteProperty(*args, **kwargs):
 
1132
        """DeleteProperty(self, PGPropArg id)"""
 
1133
        return _propgrid.PropertyGridInterface_DeleteProperty(*args, **kwargs)
 
1134
 
 
1135
    def RemoveProperty(*args, **kwargs):
 
1136
        """RemoveProperty(self, PGPropArg id) -> PGProperty"""
 
1137
        return _propgrid.PropertyGridInterface_RemoveProperty(*args, **kwargs)
 
1138
 
 
1139
    def DisableProperty(*args, **kwargs):
 
1140
        """DisableProperty(self, PGPropArg id) -> bool"""
 
1141
        return _propgrid.PropertyGridInterface_DisableProperty(*args, **kwargs)
 
1142
 
 
1143
    def EditorValidate(*args, **kwargs):
 
1144
        """EditorValidate(self) -> bool"""
 
1145
        return _propgrid.PropertyGridInterface_EditorValidate(*args, **kwargs)
 
1146
 
 
1147
    def EnableProperty(*args, **kwargs):
 
1148
        """EnableProperty(self, PGPropArg id, bool enable=True) -> bool"""
 
1149
        return _propgrid.PropertyGridInterface_EnableProperty(*args, **kwargs)
 
1150
 
 
1151
    def EndAddChildren(*args, **kwargs):
 
1152
        """EndAddChildren(self, PGPropArg id)"""
 
1153
        return _propgrid.PropertyGridInterface_EndAddChildren(*args, **kwargs)
 
1154
 
 
1155
    def Expand(*args, **kwargs):
 
1156
        """Expand(self, PGPropArg id) -> bool"""
 
1157
        return _propgrid.PropertyGridInterface_Expand(*args, **kwargs)
 
1158
 
 
1159
    def ExpandAll(*args, **kwargs):
 
1160
        """ExpandAll(self, bool expand=True) -> bool"""
 
1161
        return _propgrid.PropertyGridInterface_ExpandAll(*args, **kwargs)
 
1162
 
 
1163
    def GetFirstChild(*args, **kwargs):
 
1164
        """GetFirstChild(self, PGPropArg id) -> PGProperty"""
 
1165
        return _propgrid.PropertyGridInterface_GetFirstChild(*args, **kwargs)
 
1166
 
 
1167
    def GetIterator(*args):
 
1168
        """
 
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
 
1173
        """
 
1174
        return _propgrid.PropertyGridInterface_GetIterator(*args)
 
1175
 
 
1176
    def GetFirst(*args):
 
1177
        """
 
1178
        GetFirst(self, int flags=PG_ITERATE_ALL) -> PGProperty
 
1179
        GetFirst(self, int flags=PG_ITERATE_ALL) -> PGProperty
 
1180
        """
 
1181
        return _propgrid.PropertyGridInterface_GetFirst(*args)
 
1182
 
 
1183
    def GetProperty(*args, **kwargs):
 
1184
        """GetProperty(self, String name) -> PGProperty"""
 
1185
        return _propgrid.PropertyGridInterface_GetProperty(*args, **kwargs)
 
1186
 
 
1187
    def GetPropertyAttributes(*args, **kwargs):
 
1188
        """GetPropertyAttributes(self, PGPropArg id)"""
 
1189
        return _propgrid.PropertyGridInterface_GetPropertyAttributes(*args, **kwargs)
 
1190
 
 
1191
    def GetPropertiesWithFlag(*args, **kwargs):
 
1192
        """
 
1193
        GetPropertiesWithFlag(self, wxArrayPGProperty targetArr, FlagType flags, bool inverse=False, 
 
1194
            int iterFlags=wxPG_ITERATE_PROPERTIES|wxPG_ITERATE_HIDDEN|wxPG_ITERATE_CATEGORIES)
 
1195
        """
 
1196
        return _propgrid.PropertyGridInterface_GetPropertiesWithFlag(*args, **kwargs)
 
1197
 
 
1198
    def GetPropertyAttribute(*args, **kwargs):
 
1199
        """GetPropertyAttribute(self, PGPropArg id, String attrName) -> wxVariant"""
 
1200
        return _propgrid.PropertyGridInterface_GetPropertyAttribute(*args, **kwargs)
 
1201
 
 
1202
    def GetPropertyCategory(*args, **kwargs):
 
1203
        """GetPropertyCategory(self, PGPropArg id)"""
 
1204
        return _propgrid.PropertyGridInterface_GetPropertyCategory(*args, **kwargs)
 
1205
 
 
1206
    def GetPropertyByLabel(*args, **kwargs):
 
1207
        """GetPropertyByLabel(self, String label) -> PGProperty"""
 
1208
        return _propgrid.PropertyGridInterface_GetPropertyByLabel(*args, **kwargs)
 
1209
 
 
1210
    def GetPropertyByName(*args):
 
1211
        """
 
1212
        GetPropertyByName(self, String name) -> PGProperty
 
1213
        GetPropertyByName(self, String name, String subname) -> PGProperty
 
1214
        """
 
1215
        return _propgrid.PropertyGridInterface_GetPropertyByName(*args)
 
1216
 
 
1217
    def GetPropertyEditor(*args, **kwargs):
 
1218
        """GetPropertyEditor(self, PGPropArg id) -> PGEditor"""
 
1219
        return _propgrid.PropertyGridInterface_GetPropertyEditor(*args, **kwargs)
 
1220
 
 
1221
    def GetPropertyHelpString(*args, **kwargs):
 
1222
        """GetPropertyHelpString(self, PGPropArg id) -> String"""
 
1223
        return _propgrid.PropertyGridInterface_GetPropertyHelpString(*args, **kwargs)
 
1224
 
 
1225
    def GetPropertyImage(*args, **kwargs):
 
1226
        """GetPropertyImage(self, PGPropArg id) -> Bitmap"""
 
1227
        return _propgrid.PropertyGridInterface_GetPropertyImage(*args, **kwargs)
 
1228
 
 
1229
    def GetPropertyLabel(*args, **kwargs):
 
1230
        """GetPropertyLabel(self, PGPropArg id) -> String"""
 
1231
        return _propgrid.PropertyGridInterface_GetPropertyLabel(*args, **kwargs)
 
1232
 
 
1233
    def GetPropertyName(*args, **kwargs):
 
1234
        """GetPropertyName(self, PGProperty property) -> String"""
 
1235
        return _propgrid.PropertyGridInterface_GetPropertyName(*args, **kwargs)
 
1236
 
 
1237
    def GetPropertyParent(*args, **kwargs):
 
1238
        """GetPropertyParent(self, PGPropArg id) -> PGProperty"""
 
1239
        return _propgrid.PropertyGridInterface_GetPropertyParent(*args, **kwargs)
 
1240
 
 
1241
    def GetPropertyValidator(*args, **kwargs):
 
1242
        """GetPropertyValidator(self, PGPropArg id) -> Validator"""
 
1243
        return _propgrid.PropertyGridInterface_GetPropertyValidator(*args, **kwargs)
 
1244
 
 
1245
    def GetPropertyValue(*args, **kwargs):
 
1246
        """GetPropertyValue(self, PGPropArg id) -> wxVariant"""
 
1247
        return _propgrid.PropertyGridInterface_GetPropertyValue(*args, **kwargs)
 
1248
 
 
1249
    def GetPropertyValueAsString(*args, **kwargs):
 
1250
        """GetPropertyValueAsString(self, PGPropArg id) -> String"""
 
1251
        return _propgrid.PropertyGridInterface_GetPropertyValueAsString(*args, **kwargs)
 
1252
 
 
1253
    def GetPropertyValueAsLong(*args, **kwargs):
 
1254
        """GetPropertyValueAsLong(self, PGPropArg id) -> long"""
 
1255
        return _propgrid.PropertyGridInterface_GetPropertyValueAsLong(*args, **kwargs)
 
1256
 
 
1257
    def GetPropertyValueAsULong(*args, **kwargs):
 
1258
        """GetPropertyValueAsULong(self, PGPropArg id) -> long"""
 
1259
        return _propgrid.PropertyGridInterface_GetPropertyValueAsULong(*args, **kwargs)
 
1260
 
 
1261
    def GetPropertyValueAsBool(*args, **kwargs):
 
1262
        """GetPropertyValueAsBool(self, PGPropArg id) -> bool"""
 
1263
        return _propgrid.PropertyGridInterface_GetPropertyValueAsBool(*args, **kwargs)
 
1264
 
 
1265
    def GetPropertyValueAsDouble(*args, **kwargs):
 
1266
        """GetPropertyValueAsDouble(self, PGPropArg id) -> double"""
 
1267
        return _propgrid.PropertyGridInterface_GetPropertyValueAsDouble(*args, **kwargs)
 
1268
 
 
1269
    def GetPropertyValueAsArrayString(*args, **kwargs):
 
1270
        """GetPropertyValueAsArrayString(self, PGPropArg id) -> wxArrayString"""
 
1271
        return _propgrid.PropertyGridInterface_GetPropertyValueAsArrayString(*args, **kwargs)
 
1272
 
 
1273
    def GetPropertyValueAsArrayInt(*args, **kwargs):
 
1274
        """GetPropertyValueAsArrayInt(self, PGPropArg id) -> wxArrayInt"""
 
1275
        return _propgrid.PropertyGridInterface_GetPropertyValueAsArrayInt(*args, **kwargs)
 
1276
 
 
1277
    def GetSelection(*args, **kwargs):
 
1278
        """GetSelection(self) -> PGProperty"""
 
1279
        return _propgrid.PropertyGridInterface_GetSelection(*args, **kwargs)
 
1280
 
 
1281
    def GetSelectedProperties(*args, **kwargs):
 
1282
        """GetSelectedProperties(self) -> wxArrayPGProperty"""
 
1283
        return _propgrid.PropertyGridInterface_GetSelectedProperties(*args, **kwargs)
 
1284
 
 
1285
    def GetVIterator(*args, **kwargs):
 
1286
        """GetVIterator(self, int flags) -> PGVIterator"""
 
1287
        return _propgrid.PropertyGridInterface_GetVIterator(*args, **kwargs)
 
1288
 
 
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)
 
1292
 
 
1293
    def InitAllTypeHandlers(*args, **kwargs):
 
1294
        """InitAllTypeHandlers()"""
 
1295
        return _propgrid.PropertyGridInterface_InitAllTypeHandlers(*args, **kwargs)
 
1296
 
 
1297
    InitAllTypeHandlers = staticmethod(InitAllTypeHandlers)
 
1298
    def Insert(*args):
 
1299
        """
 
1300
        Insert(self, PGPropArg priorThis, PGProperty newproperty) -> PGProperty
 
1301
        Insert(self, PGPropArg parent, int index, PGProperty newproperty) -> PGProperty
 
1302
        """
 
1303
        return _propgrid.PropertyGridInterface_Insert(*args)
 
1304
 
 
1305
    def IsPropertyCategory(*args, **kwargs):
 
1306
        """IsPropertyCategory(self, PGPropArg id) -> bool"""
 
1307
        return _propgrid.PropertyGridInterface_IsPropertyCategory(*args, **kwargs)
 
1308
 
 
1309
    def IsPropertyEnabled(*args, **kwargs):
 
1310
        """IsPropertyEnabled(self, PGPropArg id) -> bool"""
 
1311
        return _propgrid.PropertyGridInterface_IsPropertyEnabled(*args, **kwargs)
 
1312
 
 
1313
    def IsPropertyExpanded(*args, **kwargs):
 
1314
        """IsPropertyExpanded(self, PGPropArg id) -> bool"""
 
1315
        return _propgrid.PropertyGridInterface_IsPropertyExpanded(*args, **kwargs)
 
1316
 
 
1317
    def IsPropertyModified(*args, **kwargs):
 
1318
        """IsPropertyModified(self, PGPropArg id) -> bool"""
 
1319
        return _propgrid.PropertyGridInterface_IsPropertyModified(*args, **kwargs)
 
1320
 
 
1321
    def IsPropertySelected(*args, **kwargs):
 
1322
        """IsPropertySelected(self, PGPropArg id) -> bool"""
 
1323
        return _propgrid.PropertyGridInterface_IsPropertySelected(*args, **kwargs)
 
1324
 
 
1325
    def IsPropertyShown(*args, **kwargs):
 
1326
        """IsPropertyShown(self, PGPropArg id) -> bool"""
 
1327
        return _propgrid.PropertyGridInterface_IsPropertyShown(*args, **kwargs)
 
1328
 
 
1329
    def IsPropertyValueUnspecified(*args, **kwargs):
 
1330
        """IsPropertyValueUnspecified(self, PGPropArg id) -> bool"""
 
1331
        return _propgrid.PropertyGridInterface_IsPropertyValueUnspecified(*args, **kwargs)
 
1332
 
 
1333
    def LimitPropertyEditing(*args, **kwargs):
 
1334
        """LimitPropertyEditing(self, PGPropArg id, bool limit=True)"""
 
1335
        return _propgrid.PropertyGridInterface_LimitPropertyEditing(*args, **kwargs)
 
1336
 
 
1337
    def RefreshGrid(*args, **kwargs):
 
1338
        """RefreshGrid(self,  state=None)"""
 
1339
        return _propgrid.PropertyGridInterface_RefreshGrid(*args, **kwargs)
 
1340
 
 
1341
    def RegisterAdditionalEditors(*args, **kwargs):
 
1342
        """RegisterAdditionalEditors()"""
 
1343
        return _propgrid.PropertyGridInterface_RegisterAdditionalEditors(*args, **kwargs)
 
1344
 
 
1345
    RegisterAdditionalEditors = staticmethod(RegisterAdditionalEditors)
 
1346
    def ReplaceProperty(*args, **kwargs):
 
1347
        """ReplaceProperty(self, PGPropArg id, PGProperty property) -> PGProperty"""
 
1348
        return _propgrid.PropertyGridInterface_ReplaceProperty(*args, **kwargs)
 
1349
 
 
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)
 
1360
 
 
1361
    def SaveEditableState(*args, **kwargs):
 
1362
        """SaveEditableState(self, int includedStates=AllStates) -> String"""
 
1363
        return _propgrid.PropertyGridInterface_SaveEditableState(*args, **kwargs)
 
1364
 
 
1365
    def SetBoolChoices(*args, **kwargs):
 
1366
        """SetBoolChoices(String trueChoice, String falseChoice)"""
 
1367
        return _propgrid.PropertyGridInterface_SetBoolChoices(*args, **kwargs)
 
1368
 
 
1369
    SetBoolChoices = staticmethod(SetBoolChoices)
 
1370
    def SetColumnProportion(*args, **kwargs):
 
1371
        """SetColumnProportion(self, int column, int proportion) -> bool"""
 
1372
        return _propgrid.PropertyGridInterface_SetColumnProportion(*args, **kwargs)
 
1373
 
 
1374
    def GetColumnProportion(*args, **kwargs):
 
1375
        """GetColumnProportion(self, int column) -> int"""
 
1376
        return _propgrid.PropertyGridInterface_GetColumnProportion(*args, **kwargs)
 
1377
 
 
1378
    def SetPropertyAttribute(*args, **kwargs):
 
1379
        """SetPropertyAttribute(self, PGPropArg id, String attrName, wxVariant value, long argFlags=0)"""
 
1380
        return _propgrid.PropertyGridInterface_SetPropertyAttribute(*args, **kwargs)
 
1381
 
 
1382
    def SetPropertyAttributeAll(*args, **kwargs):
 
1383
        """SetPropertyAttributeAll(self, String attrName, wxVariant value)"""
 
1384
        return _propgrid.PropertyGridInterface_SetPropertyAttributeAll(*args, **kwargs)
 
1385
 
 
1386
    def SetPropertyBackgroundColour(*args, **kwargs):
 
1387
        """SetPropertyBackgroundColour(self, PGPropArg id, Colour colour, int flags=PG_RECURSE)"""
 
1388
        return _propgrid.PropertyGridInterface_SetPropertyBackgroundColour(*args, **kwargs)
 
1389
 
 
1390
    def SetPropertyColoursToDefault(*args, **kwargs):
 
1391
        """SetPropertyColoursToDefault(self, PGPropArg id)"""
 
1392
        return _propgrid.PropertyGridInterface_SetPropertyColoursToDefault(*args, **kwargs)
 
1393
 
 
1394
    def SetPropertyTextColour(*args, **kwargs):
 
1395
        """SetPropertyTextColour(self, PGPropArg id, Colour col, int flags=PG_RECURSE)"""
 
1396
        return _propgrid.PropertyGridInterface_SetPropertyTextColour(*args, **kwargs)
 
1397
 
 
1398
    def GetPropertyBackgroundColour(*args, **kwargs):
 
1399
        """GetPropertyBackgroundColour(self, PGPropArg id) -> Colour"""
 
1400
        return _propgrid.PropertyGridInterface_GetPropertyBackgroundColour(*args, **kwargs)
 
1401
 
 
1402
    def GetPropertyTextColour(*args, **kwargs):
 
1403
        """GetPropertyTextColour(self, PGPropArg id) -> Colour"""
 
1404
        return _propgrid.PropertyGridInterface_GetPropertyTextColour(*args, **kwargs)
 
1405
 
 
1406
    def SetPropertyCell(*args, **kwargs):
 
1407
        """
 
1408
        SetPropertyCell(self, PGPropArg id, int column, String text=wxEmptyString, 
 
1409
            Bitmap bitmap=wxNullBitmap, Colour fgCol=wxNullColour, 
 
1410
            Colour bgCol=wxNullColour)
 
1411
        """
 
1412
        return _propgrid.PropertyGridInterface_SetPropertyCell(*args, **kwargs)
 
1413
 
 
1414
    def SetPropertyEditor(*args, **kwargs):
 
1415
        """SetPropertyEditor(self, PGPropArg id, String editorName)"""
 
1416
        return _propgrid.PropertyGridInterface_SetPropertyEditor(*args, **kwargs)
 
1417
 
 
1418
    def SetPropertyLabel(*args, **kwargs):
 
1419
        """SetPropertyLabel(self, PGPropArg id, String newproplabel)"""
 
1420
        return _propgrid.PropertyGridInterface_SetPropertyLabel(*args, **kwargs)
 
1421
 
 
1422
    def SetPropertyName(*args, **kwargs):
 
1423
        """SetPropertyName(self, PGPropArg id, String newName)"""
 
1424
        return _propgrid.PropertyGridInterface_SetPropertyName(*args, **kwargs)
 
1425
 
 
1426
    def SetPropertyReadOnly(*args, **kwargs):
 
1427
        """SetPropertyReadOnly(self, PGPropArg id, bool set=True, int flags=PG_RECURSE)"""
 
1428
        return _propgrid.PropertyGridInterface_SetPropertyReadOnly(*args, **kwargs)
 
1429
 
 
1430
    def SetPropertyValueUnspecified(*args, **kwargs):
 
1431
        """SetPropertyValueUnspecified(self, PGPropArg id)"""
 
1432
        return _propgrid.PropertyGridInterface_SetPropertyValueUnspecified(*args, **kwargs)
 
1433
 
 
1434
    def SetPropertyHelpString(*args, **kwargs):
 
1435
        """SetPropertyHelpString(self, PGPropArg id, String helpString)"""
 
1436
        return _propgrid.PropertyGridInterface_SetPropertyHelpString(*args, **kwargs)
 
1437
 
 
1438
    def SetPropertyImage(*args, **kwargs):
 
1439
        """SetPropertyImage(self, PGPropArg id, Bitmap bmp)"""
 
1440
        return _propgrid.PropertyGridInterface_SetPropertyImage(*args, **kwargs)
 
1441
 
 
1442
    def SetPropertyMaxLength(*args, **kwargs):
 
1443
        """SetPropertyMaxLength(self, PGPropArg id, int maxLen) -> bool"""
 
1444
        return _propgrid.PropertyGridInterface_SetPropertyMaxLength(*args, **kwargs)
 
1445
 
 
1446
    def SetPropertyValidator(*args, **kwargs):
 
1447
        """SetPropertyValidator(self, PGPropArg id, Validator validator)"""
 
1448
        return _propgrid.PropertyGridInterface_SetPropertyValidator(*args, **kwargs)
 
1449
 
 
1450
    def SetPropertyValueString(*args, **kwargs):
 
1451
        """SetPropertyValueString(self, PGPropArg id, String value)"""
 
1452
        return _propgrid.PropertyGridInterface_SetPropertyValueString(*args, **kwargs)
 
1453
 
 
1454
    def SetPropertyValue(*args, **kwargs):
 
1455
        """SetPropertyValue(self, PGPropArg id, wxVariant value)"""
 
1456
        return _propgrid.PropertyGridInterface_SetPropertyValue(*args, **kwargs)
 
1457
 
 
1458
    def SetValidationFailureBehavior(*args, **kwargs):
 
1459
        """SetValidationFailureBehavior(self, int vfbFlags)"""
 
1460
        return _propgrid.PropertyGridInterface_SetValidationFailureBehavior(*args, **kwargs)
 
1461
 
 
1462
    def Sort(*args, **kwargs):
 
1463
        """Sort(self, int flags=0)"""
 
1464
        return _propgrid.PropertyGridInterface_Sort(*args, **kwargs)
 
1465
 
 
1466
    def SortChildren(*args, **kwargs):
 
1467
        """SortChildren(self, PGPropArg id, int flags=0)"""
 
1468
        return _propgrid.PropertyGridInterface_SortChildren(*args, **kwargs)
 
1469
 
 
1470
    def GetPropertyByNameA(*args, **kwargs):
 
1471
        """GetPropertyByNameA(self, String name) -> PGProperty"""
 
1472
        return _propgrid.PropertyGridInterface_GetPropertyByNameA(*args, **kwargs)
 
1473
 
 
1474
    def GetEditorByName(*args, **kwargs):
 
1475
        """GetEditorByName(String editorName) -> PGEditor"""
 
1476
        return _propgrid.PropertyGridInterface_GetEditorByName(*args, **kwargs)
 
1477
 
 
1478
    GetEditorByName = staticmethod(GetEditorByName)
 
1479
    def RefreshProperty(*args, **kwargs):
 
1480
        """RefreshProperty(self, PGProperty p)"""
 
1481
        return _propgrid.PropertyGridInterface_RefreshProperty(*args, **kwargs)
 
1482
 
 
1483
    def MapType(class_,factory):
 
1484
        "Registers Python type/class to property mapping.\n\nfactory: "
 
1485
        "Property builder function/class."
 
1486
        global _type2property
 
1487
        try:
 
1488
            mappings = _type2property
 
1489
        except NameError:
 
1490
            raise AssertionError("call only after a propertygrid or "
 
1491
                                 "manager instance constructed")
 
1492
 
 
1493
        mappings[class_] = factory
 
1494
 
 
1495
 
 
1496
    def DoDefaultTypeMappings(self):
 
1497
        "Map built-in properties."
 
1498
        global _type2property
 
1499
        try:
 
1500
            mappings = _type2property
 
1501
 
 
1502
            return
 
1503
        except NameError:
 
1504
            mappings = {}
 
1505
            _type2property = mappings
 
1506
 
 
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"
 
1519
 
 
1520
    def DoDefaultValueTypeMappings(self):
 
1521
        "Map pg value type ids to getter methods."
 
1522
        global _vt2getter
 
1523
        try:
 
1524
            vt2getter = _vt2getter
 
1525
 
 
1526
            return
 
1527
        except NameError:
 
1528
            vt2getter = {}
 
1529
            _vt2getter = vt2getter
 
1530
 
 
1531
    def GetPropertyValues(self,dict_=None, as_strings=False,
 
1532
                          inc_attributes=False):
 
1533
        "Returns values in the grid."
 
1534
        ""
 
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 "
 
1539
        "such."
 
1540
        "inc_attributes: if True, then property attributes are added"
 
1541
        "  as @<propname>@<attr>."
 
1542
        ""
 
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."
 
1546
 
 
1547
        if dict_ is None:
 
1548
            dict_ = {}
 
1549
        elif hasattr(dict_,'__dict__'):
 
1550
            dict_ = dict_.__dict__
 
1551
 
 
1552
        if not as_strings:
 
1553
            getter = self.GetPropertyValue
 
1554
        else:
 
1555
            getter = self.GetPropertyValueAsString
 
1556
 
 
1557
        it = self.GetVIterator(PG_ITERATE_PROPERTIES)
 
1558
        while not it.AtEnd():
 
1559
            p = it.GetProperty()
 
1560
            name = p.GetName()
 
1561
 
 
1562
            dict_[name] = getter(p)
 
1563
 
 
1564
            if inc_attributes:
 
1565
                attrs = p.GetAttributes()
 
1566
                if attrs and len(attrs):
 
1567
                    dict_['@%s@attr'%name] = attrs
 
1568
 
 
1569
            it.Next()
 
1570
 
 
1571
        return dict_
 
1572
 
 
1573
    GetValues = GetPropertyValues
 
1574
 
 
1575
 
 
1576
    def SetPropertyValues(self,dict_):
 
1577
        "Sets property values from dict_, which can be either\ndictionary "
 
1578
        "or an object with __dict__ attribute."
 
1579
        ""
 
1580
        "autofill: If true, keys with not relevant properties"
 
1581
        "  are auto-created. For more info, see AutoFill."
 
1582
        ""
 
1583
        "Notes:"
 
1584
        "  * Keys starting with underscore are ignored."
 
1585
        "  * Attributes can be set with entries named @<propname>@<attr>."
 
1586
        ""
 
1587
 
 
1588
        autofill = False
 
1589
 
 
1590
        if dict_ is None:
 
1591
            dict_ = {}
 
1592
        elif hasattr(dict_,'__dict__'):
 
1593
            dict_ = dict_.__dict__
 
1594
 
 
1595
        attr_dicts = []
 
1596
 
 
1597
        def set_sub_obj(k0,dict_):
 
1598
            for k,v in dict_.iteritems():
 
1599
                if k[0] != '_':
 
1600
                    if k.endswith('@attr'):
 
1601
                        attr_dicts.append((k[1:-5],v))
 
1602
                    else:
 
1603
                        try:
 
1604
                            self.SetPropertyValue(k,v)
 
1605
                        except:
 
1606
                            try:
 
1607
                                if autofill:
 
1608
                                    self._AutoFillOne(k0,k,v)
 
1609
                                    continue
 
1610
                            except:
 
1611
                                if isinstance(v,dict):
 
1612
                                    set_sub_obj(k,v)
 
1613
                                elif hasattr(v,'__dict__'):
 
1614
                                    set_sub_obj(k,v.__dict__)
 
1615
 
 
1616
 
 
1617
        for k,v in attr_dicts:
 
1618
            p = GetPropertyByName(k)
 
1619
            if not p:
 
1620
                raise AssertionError("No such property: '%s'"%k)
 
1621
            for an,av in v.iteritems():
 
1622
                p.SetAttribute(an, av)
 
1623
 
 
1624
 
 
1625
        cur_page = False
 
1626
        is_manager = isinstance(self,PropertyGridManager)
 
1627
 
 
1628
        try:
 
1629
            set_sub_obj(self.GetGrid().GetRoot(),dict_)
 
1630
        except:
 
1631
            import traceback
 
1632
            traceback.print_exc()
 
1633
 
 
1634
        self.Refresh()
 
1635
 
 
1636
    SetValues = SetPropertyValues
 
1637
 
 
1638
    def _AutoFillMany(self,cat,dict_):
 
1639
        for k,v in dict_.iteritems():
 
1640
            self._AutoFillOne(cat,k,v)
 
1641
 
 
1642
 
 
1643
    def _AutoFillOne(self,cat,k,v):
 
1644
        global _type2property
 
1645
 
 
1646
        factory = _type2property.get(v.__class__,None)
 
1647
 
 
1648
        if factory:
 
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__))
 
1659
 
 
1660
 
 
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."
 
1664
 
 
1665
        self.edited_objects[parent] = obj
 
1666
 
 
1667
        cur_page = False
 
1668
        is_manager = isinstance(self,PropertyGridManager)
 
1669
 
 
1670
        if not parent:
 
1671
            if is_manager:
 
1672
                page = self.GetCurrentPage()
 
1673
                page.Clear()
 
1674
                parent = page.GetRoot()
 
1675
            else:
 
1676
                self.Clear()
 
1677
                parent = self.GetGrid().GetRoot()
 
1678
        else:
 
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):
 
1684
                    break
 
1685
 
 
1686
                self.DeleteProperty(p)
 
1687
 
 
1688
                name = p.GetName()
 
1689
                it.Next()
 
1690
 
 
1691
        if not is_manager or page == self.GetCurrentPage():
 
1692
            self.Freeze()
 
1693
            cur_page = True
 
1694
 
 
1695
        try:
 
1696
            self._AutoFillMany(parent,obj.__dict__)
 
1697
        except:
 
1698
            import traceback
 
1699
            traceback.print_exc()
 
1700
 
 
1701
        if cur_page:
 
1702
            self.Thaw()
 
1703
 
 
1704
    def RegisterEditor(self, editor, editorName=None):
 
1705
        "Transform class into instance, if necessary."
 
1706
        if not isinstance(editor, PGEditor):
 
1707
            editor = editor()
 
1708
        if not editorName:
 
1709
            editorName = editor.__class__.__name__
 
1710
        try:
 
1711
            self._editor_instances.append(editor)
 
1712
        except:
 
1713
            self._editor_instances = [editor]
 
1714
        RegisterEditor(editor, editorName)
 
1715
 
 
1716
    def GetPropertyClientData(self, p):
 
1717
        if isinstance(p, basestring):
 
1718
            p = self.GetPropertyByName(p)
 
1719
        return p.GetClientData()
 
1720
 
 
1721
    def SetPropertyClientData(self, p, data):
 
1722
        if isinstance(p, basestring):
 
1723
            p = self.GetPropertyByName(p)
 
1724
        return p.SetClientData(data)
 
1725
 
 
1726
    def GetPyIterator(self, flags=PG_ITERATE_DEFAULT,
 
1727
                      firstProperty=None):
 
1728
        """
 
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::
 
1733
 
 
1734
            iterator = propGrid.GetPyIterator(wx.propgrid.PG_ITERATE_ALL)
 
1735
            for prop in iterator:
 
1736
                print(prop)
 
1737
 
 
1738
        :see: `wx.propgrid.PropertyGridInterface.Properties`
 
1739
              `wx.propgrid.PropertyGridInterface.Items`
 
1740
        """
 
1741
        it = self.GetIterator(flags, firstProperty)
 
1742
        while not it.AtEnd():
 
1743
            yield it.GetProperty()
 
1744
            it.Next()
 
1745
 
 
1746
    def GetPyVIterator(self, flags=PG_ITERATE_DEFAULT):
 
1747
        """
 
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`::
 
1752
 
 
1753
            iterator = propGridManager.GetPyVIterator(wx.propgrid.PG_ITERATE_ALL)
 
1754
            for prop in iterator:
 
1755
                print(prop)
 
1756
 
 
1757
        :see: `wx.propgrid.PropertyGridInterface.Properties`
 
1758
              `wx.propgrid.PropertyGridInterface.Items`
 
1759
        """
 
1760
        it = self.GetVIterator(flags)
 
1761
        while not it.AtEnd():
 
1762
            yield it.GetProperty()
 
1763
            it.Next()
 
1764
 
 
1765
    @property
 
1766
    def Properties(self):
 
1767
        """
 
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::
 
1771
 
 
1772
            for prop in propGrid.Properties:
 
1773
                print(prop)
 
1774
 
 
1775
        :see: `wx.propgrid.PropertyGridInterface.Items`
 
1776
              `wx.propgrid.PropertyGridInterface.GetPyIterator`
 
1777
        """
 
1778
        it = self.GetVIterator(PG_ITERATE_NORMAL)
 
1779
        while not it.AtEnd():
 
1780
            yield it.GetProperty()
 
1781
            it.Next()
 
1782
 
 
1783
    @property
 
1784
    def Items(self):
 
1785
        """
 
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::
 
1789
 
 
1790
            for prop in propGrid.Items:
 
1791
                print(prop)
 
1792
 
 
1793
        :see: `wx.propgrid.PropertyGridInterface.Properties`
 
1794
              `wx.propgrid.PropertyGridInterface.GetPyIterator`
 
1795
        """
 
1796
        it = self.GetVIterator(PG_ITERATE_NORMAL | PG_ITERATE_CATEGORIES)
 
1797
        while not it.AtEnd():
 
1798
            yield it.GetProperty()
 
1799
            it.Next()
 
1800
 
 
1801
_propgrid.PropertyGridInterface_swigregister(PropertyGridInterface)
 
1802
 
 
1803
def PropertyGridInterface_InitAllTypeHandlers(*args):
 
1804
  """PropertyGridInterface_InitAllTypeHandlers()"""
 
1805
  return _propgrid.PropertyGridInterface_InitAllTypeHandlers(*args)
 
1806
 
 
1807
def PropertyGridInterface_RegisterAdditionalEditors(*args):
 
1808
  """PropertyGridInterface_RegisterAdditionalEditors()"""
 
1809
  return _propgrid.PropertyGridInterface_RegisterAdditionalEditors(*args)
 
1810
 
 
1811
def PropertyGridInterface_SetBoolChoices(*args, **kwargs):
 
1812
  """PropertyGridInterface_SetBoolChoices(String trueChoice, String falseChoice)"""
 
1813
  return _propgrid.PropertyGridInterface_SetBoolChoices(*args, **kwargs)
 
1814
 
 
1815
def PropertyGridInterface_GetEditorByName(*args, **kwargs):
 
1816
  """PropertyGridInterface_GetEditorByName(String editorName) -> PGEditor"""
 
1817
  return _propgrid.PropertyGridInterface_GetEditorByName(*args, **kwargs)
 
1818
 
 
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)
 
1861
 
 
1862
    def GetLabel(*args, **kwargs):
 
1863
        """GetLabel(self) -> String"""
 
1864
        return _propgrid.PGCommonValue_GetLabel(*args, **kwargs)
 
1865
 
 
1866
    def GetRenderer(*args, **kwargs):
 
1867
        """GetRenderer(self)"""
 
1868
        return _propgrid.PGCommonValue_GetRenderer(*args, **kwargs)
 
1869
 
 
1870
_propgrid.PGCommonValue_swigregister(PGCommonValue)
 
1871
 
 
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)
 
1892
 
 
1893
    def GetFailureMessage(*args, **kwargs):
 
1894
        """GetFailureMessage(self) -> String"""
 
1895
        return _propgrid.PGValidationInfo_GetFailureMessage(*args, **kwargs)
 
1896
 
 
1897
    def GetValue(*args, **kwargs):
 
1898
        """GetValue(self) -> wxVariant"""
 
1899
        return _propgrid.PGValidationInfo_GetValue(*args, **kwargs)
 
1900
 
 
1901
    def SetFailureBehavior(*args, **kwargs):
 
1902
        """SetFailureBehavior(self, char failureBehavior)"""
 
1903
        return _propgrid.PGValidationInfo_SetFailureBehavior(*args, **kwargs)
 
1904
 
 
1905
    def SetFailureMessage(*args, **kwargs):
 
1906
        """SetFailureMessage(self, String message)"""
 
1907
        return _propgrid.PGValidationInfo_SetFailureMessage(*args, **kwargs)
 
1908
 
 
1909
_propgrid.PGValidationInfo_swigregister(PGValidationInfo)
 
1910
 
 
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): 
 
1966
        """
 
1967
        __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
 
1968
            Size size=DefaultSize, long style=(0), 
 
1969
            String name=wxPropertyGridNameStr) -> PropertyGrid
 
1970
        """
 
1971
        _propgrid.PropertyGrid_swiginit(self,_propgrid.new_PropertyGrid(*args, **kwargs))
 
1972
        
 
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 = {}
 
1979
    
 
1980
 
 
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)
 
1986
 
 
1987
    def DedicateKey(*args, **kwargs):
 
1988
        """DedicateKey(self, int keycode)"""
 
1989
        return _propgrid.PropertyGrid_DedicateKey(*args, **kwargs)
 
1990
 
 
1991
    def AutoGetTranslation(*args, **kwargs):
 
1992
        """AutoGetTranslation(bool enable)"""
 
1993
        return _propgrid.PropertyGrid_AutoGetTranslation(*args, **kwargs)
 
1994
 
 
1995
    AutoGetTranslation = staticmethod(AutoGetTranslation)
 
1996
    def ChangePropertyValue(*args, **kwargs):
 
1997
        """ChangePropertyValue(self, PGPropArg id, wxVariant newValue) -> bool"""
 
1998
        return _propgrid.PropertyGrid_ChangePropertyValue(*args, **kwargs)
 
1999
 
 
2000
    def CenterSplitter(*args, **kwargs):
 
2001
        """CenterSplitter(self, bool enableAutoResizing=False)"""
 
2002
        return _propgrid.PropertyGrid_CenterSplitter(*args, **kwargs)
 
2003
 
 
2004
    def ClearActionTriggers(*args, **kwargs):
 
2005
        """ClearActionTriggers(self, int action)"""
 
2006
        return _propgrid.PropertyGrid_ClearActionTriggers(*args, **kwargs)
 
2007
 
 
2008
    def CommitChangesFromEditor(*args, **kwargs):
 
2009
        """CommitChangesFromEditor(self, int flags=0) -> bool"""
 
2010
        return _propgrid.PropertyGrid_CommitChangesFromEditor(*args, **kwargs)
 
2011
 
 
2012
    def Create(*args, **kwargs):
 
2013
        """
 
2014
        Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
 
2015
            Size size=DefaultSize, long style=(0), 
 
2016
            String name=wxPropertyGridNameStr) -> bool
 
2017
        """
 
2018
        return _propgrid.PropertyGrid_Create(*args, **kwargs)
 
2019
 
 
2020
    def EditorsValueWasModified(*args, **kwargs):
 
2021
        """EditorsValueWasModified(self)"""
 
2022
        return _propgrid.PropertyGrid_EditorsValueWasModified(*args, **kwargs)
 
2023
 
 
2024
    def EditorsValueWasNotModified(*args, **kwargs):
 
2025
        """EditorsValueWasNotModified(self)"""
 
2026
        return _propgrid.PropertyGrid_EditorsValueWasNotModified(*args, **kwargs)
 
2027
 
 
2028
    def EnableCategories(*args, **kwargs):
 
2029
        """EnableCategories(self, bool enable) -> bool"""
 
2030
        return _propgrid.PropertyGrid_EnableCategories(*args, **kwargs)
 
2031
 
 
2032
    def EnsureVisible(*args, **kwargs):
 
2033
        """EnsureVisible(self, PGPropArg id) -> bool"""
 
2034
        return _propgrid.PropertyGrid_EnsureVisible(*args, **kwargs)
 
2035
 
 
2036
    def FitColumns(*args, **kwargs):
 
2037
        """FitColumns(self) -> Size"""
 
2038
        return _propgrid.PropertyGrid_FitColumns(*args, **kwargs)
 
2039
 
 
2040
    def GetPanel(*args, **kwargs):
 
2041
        """GetPanel(self) -> Window"""
 
2042
        return _propgrid.PropertyGrid_GetPanel(*args, **kwargs)
 
2043
 
 
2044
    def GetCaptionBackgroundColour(*args, **kwargs):
 
2045
        """GetCaptionBackgroundColour(self) -> Colour"""
 
2046
        return _propgrid.PropertyGrid_GetCaptionBackgroundColour(*args, **kwargs)
 
2047
 
 
2048
    def GetCaptionFont(*args):
 
2049
        """
 
2050
        GetCaptionFont(self) -> Font
 
2051
        GetCaptionFont(self) -> Font
 
2052
        """
 
2053
        return _propgrid.PropertyGrid_GetCaptionFont(*args)
 
2054
 
 
2055
    def GetCaptionForegroundColour(*args, **kwargs):
 
2056
        """GetCaptionForegroundColour(self) -> Colour"""
 
2057
        return _propgrid.PropertyGrid_GetCaptionForegroundColour(*args, **kwargs)
 
2058
 
 
2059
    def GetCellBackgroundColour(*args, **kwargs):
 
2060
        """GetCellBackgroundColour(self) -> Colour"""
 
2061
        return _propgrid.PropertyGrid_GetCellBackgroundColour(*args, **kwargs)
 
2062
 
 
2063
    def GetCellDisabledTextColour(*args, **kwargs):
 
2064
        """GetCellDisabledTextColour(self) -> Colour"""
 
2065
        return _propgrid.PropertyGrid_GetCellDisabledTextColour(*args, **kwargs)
 
2066
 
 
2067
    def GetCellTextColour(*args, **kwargs):
 
2068
        """GetCellTextColour(self) -> Colour"""
 
2069
        return _propgrid.PropertyGrid_GetCellTextColour(*args, **kwargs)
 
2070
 
 
2071
    def GetColumnCount(*args, **kwargs):
 
2072
        """GetColumnCount(self) -> int"""
 
2073
        return _propgrid.PropertyGrid_GetColumnCount(*args, **kwargs)
 
2074
 
 
2075
    def GetEmptySpaceColour(*args, **kwargs):
 
2076
        """GetEmptySpaceColour(self) -> Colour"""
 
2077
        return _propgrid.PropertyGrid_GetEmptySpaceColour(*args, **kwargs)
 
2078
 
 
2079
    def GetFontHeight(*args, **kwargs):
 
2080
        """GetFontHeight(self) -> int"""
 
2081
        return _propgrid.PropertyGrid_GetFontHeight(*args, **kwargs)
 
2082
 
 
2083
    def GetGrid(*args, **kwargs):
 
2084
        """GetGrid(self) -> PropertyGrid"""
 
2085
        return _propgrid.PropertyGrid_GetGrid(*args, **kwargs)
 
2086
 
 
2087
    def GetImageRect(*args, **kwargs):
 
2088
        """GetImageRect(self, PGProperty p, int item) -> Rect"""
 
2089
        return _propgrid.PropertyGrid_GetImageRect(*args, **kwargs)
 
2090
 
 
2091
    def GetImageSize(*args, **kwargs):
 
2092
        """GetImageSize(self, PGProperty p=None, int item=-1) -> Size"""
 
2093
        return _propgrid.PropertyGrid_GetImageSize(*args, **kwargs)
 
2094
 
 
2095
    def GetLastItem(*args):
 
2096
        """
 
2097
        GetLastItem(self, int flags=PG_ITERATE_DEFAULT) -> PGProperty
 
2098
        GetLastItem(self, int flags=PG_ITERATE_DEFAULT) -> PGProperty
 
2099
        """
 
2100
        return _propgrid.PropertyGrid_GetLastItem(*args)
 
2101
 
 
2102
    def GetLineColour(*args, **kwargs):
 
2103
        """GetLineColour(self) -> Colour"""
 
2104
        return _propgrid.PropertyGrid_GetLineColour(*args, **kwargs)
 
2105
 
 
2106
    def GetMarginColour(*args, **kwargs):
 
2107
        """GetMarginColour(self) -> Colour"""
 
2108
        return _propgrid.PropertyGrid_GetMarginColour(*args, **kwargs)
 
2109
 
 
2110
    def GetMarginWidth(*args, **kwargs):
 
2111
        """GetMarginWidth(self) -> int"""
 
2112
        return _propgrid.PropertyGrid_GetMarginWidth(*args, **kwargs)
 
2113
 
 
2114
    def GetUncommittedPropertyValue(*args, **kwargs):
 
2115
        """GetUncommittedPropertyValue(self) -> wxVariant"""
 
2116
        return _propgrid.PropertyGrid_GetUncommittedPropertyValue(*args, **kwargs)
 
2117
 
 
2118
    def GetRoot(*args, **kwargs):
 
2119
        """GetRoot(self) -> PGProperty"""
 
2120
        return _propgrid.PropertyGrid_GetRoot(*args, **kwargs)
 
2121
 
 
2122
    def GetRowHeight(*args, **kwargs):
 
2123
        """GetRowHeight(self) -> int"""
 
2124
        return _propgrid.PropertyGrid_GetRowHeight(*args, **kwargs)
 
2125
 
 
2126
    def GetSelectedProperty(*args, **kwargs):
 
2127
        """GetSelectedProperty(self) -> PGProperty"""
 
2128
        return _propgrid.PropertyGrid_GetSelectedProperty(*args, **kwargs)
 
2129
 
 
2130
    def GetSelectionBackgroundColour(*args, **kwargs):
 
2131
        """GetSelectionBackgroundColour(self) -> Colour"""
 
2132
        return _propgrid.PropertyGrid_GetSelectionBackgroundColour(*args, **kwargs)
 
2133
 
 
2134
    def GetSelectionForegroundColour(*args, **kwargs):
 
2135
        """GetSelectionForegroundColour(self) -> Colour"""
 
2136
        return _propgrid.PropertyGrid_GetSelectionForegroundColour(*args, **kwargs)
 
2137
 
 
2138
    def GetSplitterPosition(*args, **kwargs):
 
2139
        """GetSplitterPosition(self, int splitterIndex=0) -> int"""
 
2140
        return _propgrid.PropertyGrid_GetSplitterPosition(*args, **kwargs)
 
2141
 
 
2142
    def GetEditorTextCtrl(*args, **kwargs):
 
2143
        """GetEditorTextCtrl(self) -> wxTextCtrl"""
 
2144
        return _propgrid.PropertyGrid_GetEditorTextCtrl(*args, **kwargs)
 
2145
 
 
2146
    def GetValidationInfo(*args, **kwargs):
 
2147
        """GetValidationInfo(self) -> PGValidationInfo"""
 
2148
        return _propgrid.PropertyGrid_GetValidationInfo(*args, **kwargs)
 
2149
 
 
2150
    def GetVerticalSpacing(*args, **kwargs):
 
2151
        """GetVerticalSpacing(self) -> int"""
 
2152
        return _propgrid.PropertyGrid_GetVerticalSpacing(*args, **kwargs)
 
2153
 
 
2154
    def IsEditorFocused(*args, **kwargs):
 
2155
        """IsEditorFocused(self) -> bool"""
 
2156
        return _propgrid.PropertyGrid_IsEditorFocused(*args, **kwargs)
 
2157
 
 
2158
    def IsEditorsValueModified(*args, **kwargs):
 
2159
        """IsEditorsValueModified(self) -> bool"""
 
2160
        return _propgrid.PropertyGrid_IsEditorsValueModified(*args, **kwargs)
 
2161
 
 
2162
    def HitTest(*args, **kwargs):
 
2163
        """
 
2164
        HitTest(self, Point pt) -> PropertyGridHitTestResult
 
2165
 
 
2166
        Test where the given (in client coords) point lies
 
2167
        """
 
2168
        return _propgrid.PropertyGrid_HitTest(*args, **kwargs)
 
2169
 
 
2170
    def IsAnyModified(*args, **kwargs):
 
2171
        """IsAnyModified(self) -> bool"""
 
2172
        return _propgrid.PropertyGrid_IsAnyModified(*args, **kwargs)
 
2173
 
 
2174
    def IsFrozen(*args, **kwargs):
 
2175
        """
 
2176
        IsFrozen(self) -> bool
 
2177
 
 
2178
        Returns ``True`` if the window has been frozen and not thawed yet.
 
2179
 
 
2180
        :see: `Freeze` and `Thaw`
 
2181
        """
 
2182
        return _propgrid.PropertyGrid_IsFrozen(*args, **kwargs)
 
2183
 
 
2184
    def OnTLPChanging(*args, **kwargs):
 
2185
        """OnTLPChanging(self, Window newTLP)"""
 
2186
        return _propgrid.PropertyGrid_OnTLPChanging(*args, **kwargs)
 
2187
 
 
2188
    def ResetColours(*args, **kwargs):
 
2189
        """ResetColours(self)"""
 
2190
        return _propgrid.PropertyGrid_ResetColours(*args, **kwargs)
 
2191
 
 
2192
    def ResetColumnSizes(*args, **kwargs):
 
2193
        """ResetColumnSizes(self, bool enableAutoResizing=False)"""
 
2194
        return _propgrid.PropertyGrid_ResetColumnSizes(*args, **kwargs)
 
2195
 
 
2196
    def SelectProperty(*args, **kwargs):
 
2197
        """SelectProperty(self, PGPropArg id, bool focus=False) -> bool"""
 
2198
        return _propgrid.PropertyGrid_SelectProperty(*args, **kwargs)
 
2199
 
 
2200
    def SetSelection(*args, **kwargs):
 
2201
        """SetSelection(self, wxArrayPGProperty newSelection)"""
 
2202
        return _propgrid.PropertyGrid_SetSelection(*args, **kwargs)
 
2203
 
 
2204
    def AddToSelection(*args, **kwargs):
 
2205
        """AddToSelection(self, PGPropArg id) -> bool"""
 
2206
        return _propgrid.PropertyGrid_AddToSelection(*args, **kwargs)
 
2207
 
 
2208
    def RemoveFromSelection(*args, **kwargs):
 
2209
        """RemoveFromSelection(self, PGPropArg id) -> bool"""
 
2210
        return _propgrid.PropertyGrid_RemoveFromSelection(*args, **kwargs)
 
2211
 
 
2212
    def MakeColumnEditable(*args, **kwargs):
 
2213
        """MakeColumnEditable(self, int column, bool editable=True)"""
 
2214
        return _propgrid.PropertyGrid_MakeColumnEditable(*args, **kwargs)
 
2215
 
 
2216
    def BeginLabelEdit(*args, **kwargs):
 
2217
        """BeginLabelEdit(self, int column=0)"""
 
2218
        return _propgrid.PropertyGrid_BeginLabelEdit(*args, **kwargs)
 
2219
 
 
2220
    def EndLabelEdit(*args, **kwargs):
 
2221
        """EndLabelEdit(self, bool commit=True)"""
 
2222
        return _propgrid.PropertyGrid_EndLabelEdit(*args, **kwargs)
 
2223
 
 
2224
    def GetLabelEditor(*args, **kwargs):
 
2225
        """GetLabelEditor(self) -> wxTextCtrl"""
 
2226
        return _propgrid.PropertyGrid_GetLabelEditor(*args, **kwargs)
 
2227
 
 
2228
    def SetCaptionBackgroundColour(*args, **kwargs):
 
2229
        """SetCaptionBackgroundColour(self, Colour col)"""
 
2230
        return _propgrid.PropertyGrid_SetCaptionBackgroundColour(*args, **kwargs)
 
2231
 
 
2232
    def SetCaptionTextColour(*args, **kwargs):
 
2233
        """SetCaptionTextColour(self, Colour col)"""
 
2234
        return _propgrid.PropertyGrid_SetCaptionTextColour(*args, **kwargs)
 
2235
 
 
2236
    def SetCellBackgroundColour(*args, **kwargs):
 
2237
        """SetCellBackgroundColour(self, Colour col)"""
 
2238
        return _propgrid.PropertyGrid_SetCellBackgroundColour(*args, **kwargs)
 
2239
 
 
2240
    def SetCellDisabledTextColour(*args, **kwargs):
 
2241
        """SetCellDisabledTextColour(self, Colour col)"""
 
2242
        return _propgrid.PropertyGrid_SetCellDisabledTextColour(*args, **kwargs)
 
2243
 
 
2244
    def SetCellTextColour(*args, **kwargs):
 
2245
        """SetCellTextColour(self, Colour col)"""
 
2246
        return _propgrid.PropertyGrid_SetCellTextColour(*args, **kwargs)
 
2247
 
 
2248
    def SetColumnCount(*args, **kwargs):
 
2249
        """SetColumnCount(self, int colCount)"""
 
2250
        return _propgrid.PropertyGrid_SetColumnCount(*args, **kwargs)
 
2251
 
 
2252
    def SetCurrentCategory(*args, **kwargs):
 
2253
        """SetCurrentCategory(self, PGPropArg id)"""
 
2254
        return _propgrid.PropertyGrid_SetCurrentCategory(*args, **kwargs)
 
2255
 
 
2256
    def SetEmptySpaceColour(*args, **kwargs):
 
2257
        """SetEmptySpaceColour(self, Colour col)"""
 
2258
        return _propgrid.PropertyGrid_SetEmptySpaceColour(*args, **kwargs)
 
2259
 
 
2260
    def SetLineColour(*args, **kwargs):
 
2261
        """SetLineColour(self, Colour col)"""
 
2262
        return _propgrid.PropertyGrid_SetLineColour(*args, **kwargs)
 
2263
 
 
2264
    def SetMarginColour(*args, **kwargs):
 
2265
        """SetMarginColour(self, Colour col)"""
 
2266
        return _propgrid.PropertyGrid_SetMarginColour(*args, **kwargs)
 
2267
 
 
2268
    def SetSelectionBackgroundColour(*args, **kwargs):
 
2269
        """SetSelectionBackgroundColour(self, Colour col)"""
 
2270
        return _propgrid.PropertyGrid_SetSelectionBackgroundColour(*args, **kwargs)
 
2271
 
 
2272
    def SetSelectionTextColour(*args, **kwargs):
 
2273
        """SetSelectionTextColour(self, Colour col)"""
 
2274
        return _propgrid.PropertyGrid_SetSelectionTextColour(*args, **kwargs)
 
2275
 
 
2276
    def SetSplitterPosition(*args, **kwargs):
 
2277
        """SetSplitterPosition(self, int newXPos, int col=0)"""
 
2278
        return _propgrid.PropertyGrid_SetSplitterPosition(*args, **kwargs)
 
2279
 
 
2280
    def SetSortFunction(*args, **kwargs):
 
2281
        """SetSortFunction(self, PGSortCallback sortFunction)"""
 
2282
        return _propgrid.PropertyGrid_SetSortFunction(*args, **kwargs)
 
2283
 
 
2284
    def GetSortFunction(*args, **kwargs):
 
2285
        """GetSortFunction(self) -> PGSortCallback"""
 
2286
        return _propgrid.PropertyGrid_GetSortFunction(*args, **kwargs)
 
2287
 
 
2288
    def SetUnspecifiedValueAppearance(*args, **kwargs):
 
2289
        """SetUnspecifiedValueAppearance(self, PGCell cell)"""
 
2290
        return _propgrid.PropertyGrid_SetUnspecifiedValueAppearance(*args, **kwargs)
 
2291
 
 
2292
    def GetUnspecifiedValueAppearance(*args, **kwargs):
 
2293
        """GetUnspecifiedValueAppearance(self) -> PGCell"""
 
2294
        return _propgrid.PropertyGrid_GetUnspecifiedValueAppearance(*args, **kwargs)
 
2295
 
 
2296
    def GetUnspecifiedValueText(*args, **kwargs):
 
2297
        """GetUnspecifiedValueText(self, int argFlags=0) -> String"""
 
2298
        return _propgrid.PropertyGrid_GetUnspecifiedValueText(*args, **kwargs)
 
2299
 
 
2300
    def SetVirtualWidth(*args, **kwargs):
 
2301
        """SetVirtualWidth(self, int width)"""
 
2302
        return _propgrid.PropertyGrid_SetVirtualWidth(*args, **kwargs)
 
2303
 
 
2304
    def SetSplitterLeft(*args, **kwargs):
 
2305
        """SetSplitterLeft(self, bool privateChildrenToo=False)"""
 
2306
        return _propgrid.PropertyGrid_SetSplitterLeft(*args, **kwargs)
 
2307
 
 
2308
    def SetVerticalSpacing(*args, **kwargs):
 
2309
        """SetVerticalSpacing(self, int vspacing)"""
 
2310
        return _propgrid.PropertyGrid_SetVerticalSpacing(*args, **kwargs)
 
2311
 
 
2312
    def ShowPropertyError(*args, **kwargs):
 
2313
        """ShowPropertyError(self, PGPropArg id, String msg)"""
 
2314
        return _propgrid.PropertyGrid_ShowPropertyError(*args, **kwargs)
 
2315
 
 
2316
    def HasVirtualWidth(*args, **kwargs):
 
2317
        """HasVirtualWidth(self) -> bool"""
 
2318
        return _propgrid.PropertyGrid_HasVirtualWidth(*args, **kwargs)
 
2319
 
 
2320
    def GetCommonValue(*args, **kwargs):
 
2321
        """GetCommonValue(self, int i) -> PGCommonValue"""
 
2322
        return _propgrid.PropertyGrid_GetCommonValue(*args, **kwargs)
 
2323
 
 
2324
    def GetCommonValueCount(*args, **kwargs):
 
2325
        """GetCommonValueCount(self) -> int"""
 
2326
        return _propgrid.PropertyGrid_GetCommonValueCount(*args, **kwargs)
 
2327
 
 
2328
    def GetCommonValueLabel(*args, **kwargs):
 
2329
        """GetCommonValueLabel(self, int i) -> String"""
 
2330
        return _propgrid.PropertyGrid_GetCommonValueLabel(*args, **kwargs)
 
2331
 
 
2332
    def GetUnspecifiedCommonValue(*args, **kwargs):
 
2333
        """GetUnspecifiedCommonValue(self) -> int"""
 
2334
        return _propgrid.PropertyGrid_GetUnspecifiedCommonValue(*args, **kwargs)
 
2335
 
 
2336
    def SetUnspecifiedCommonValue(*args, **kwargs):
 
2337
        """SetUnspecifiedCommonValue(self, int index)"""
 
2338
        return _propgrid.PropertyGrid_SetUnspecifiedCommonValue(*args, **kwargs)
 
2339
 
 
2340
    def GenerateEditorButton(*args, **kwargs):
 
2341
        """GenerateEditorButton(self, Point pos, Size sz) -> Window"""
 
2342
        return _propgrid.PropertyGrid_GenerateEditorButton(*args, **kwargs)
 
2343
 
 
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)
 
2347
 
 
2348
    def GenerateEditorTextCtrl(*args, **kwargs):
 
2349
        """
 
2350
        GenerateEditorTextCtrl(self, Point pos, Size sz, String value, Window secondary, 
 
2351
            int extraStyle=0, int maxLen=0, int forColumn=1) -> Window
 
2352
        """
 
2353
        return _propgrid.PropertyGrid_GenerateEditorTextCtrl(*args, **kwargs)
 
2354
 
 
2355
    def GenerateEditorTextCtrlAndButton(*args, **kwargs):
 
2356
        """
 
2357
        GenerateEditorTextCtrlAndButton(self, Point pos, Size sz, Window psecondary, int limited_editing, 
 
2358
            PGProperty property) -> Window
 
2359
        """
 
2360
        return _propgrid.PropertyGrid_GenerateEditorTextCtrlAndButton(*args, **kwargs)
 
2361
 
 
2362
    def GetGoodEditorDialogPosition(*args, **kwargs):
 
2363
        """GetGoodEditorDialogPosition(self, PGProperty p, Size sz) -> Point"""
 
2364
        return _propgrid.PropertyGrid_GetGoodEditorDialogPosition(*args, **kwargs)
 
2365
 
 
2366
    def ExpandEscapeSequences(*args, **kwargs):
 
2367
        """ExpandEscapeSequences(String dst_str, String src_str) -> String"""
 
2368
        return _propgrid.PropertyGrid_ExpandEscapeSequences(*args, **kwargs)
 
2369
 
 
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)
 
2374
 
 
2375
    CreateEscapeSequences = staticmethod(CreateEscapeSequences)
 
2376
    def GetPropertyRect(*args, **kwargs):
 
2377
        """GetPropertyRect(self, PGProperty p1, PGProperty p2) -> Rect"""
 
2378
        return _propgrid.PropertyGrid_GetPropertyRect(*args, **kwargs)
 
2379
 
 
2380
    def GetEditorControl(*args, **kwargs):
 
2381
        """GetEditorControl(self) -> Window"""
 
2382
        return _propgrid.PropertyGrid_GetEditorControl(*args, **kwargs)
 
2383
 
 
2384
    def GetPrimaryEditor(*args, **kwargs):
 
2385
        """GetPrimaryEditor(self) -> Window"""
 
2386
        return _propgrid.PropertyGrid_GetPrimaryEditor(*args, **kwargs)
 
2387
 
 
2388
    def GetEditorControlSecondary(*args, **kwargs):
 
2389
        """GetEditorControlSecondary(self) -> Window"""
 
2390
        return _propgrid.PropertyGrid_GetEditorControlSecondary(*args, **kwargs)
 
2391
 
 
2392
    def RefreshEditor(*args, **kwargs):
 
2393
        """RefreshEditor(self)"""
 
2394
        return _propgrid.PropertyGrid_RefreshEditor(*args, **kwargs)
 
2395
 
 
2396
    def HandleCustomEditorEvent(*args, **kwargs):
 
2397
        """HandleCustomEditorEvent(self, Event event) -> bool"""
 
2398
        return _propgrid.PropertyGrid_HandleCustomEditorEvent(*args, **kwargs)
 
2399
 
 
2400
    def GetInternalFlags(*args, **kwargs):
 
2401
        """GetInternalFlags(self) -> long"""
 
2402
        return _propgrid.PropertyGrid_GetInternalFlags(*args, **kwargs)
 
2403
 
 
2404
    def HasInternalFlag(*args, **kwargs):
 
2405
        """HasInternalFlag(self, long flag) -> bool"""
 
2406
        return _propgrid.PropertyGrid_HasInternalFlag(*args, **kwargs)
 
2407
 
 
2408
    def SetInternalFlag(*args, **kwargs):
 
2409
        """SetInternalFlag(self, long flag)"""
 
2410
        return _propgrid.PropertyGrid_SetInternalFlag(*args, **kwargs)
 
2411
 
 
2412
    def ClearInternalFlag(*args, **kwargs):
 
2413
        """ClearInternalFlag(self, long flag)"""
 
2414
        return _propgrid.PropertyGrid_ClearInternalFlag(*args, **kwargs)
 
2415
 
 
2416
    def DoubleToString(*args, **kwargs):
 
2417
        """
 
2418
        DoubleToString(String target, double value, int precision, bool removeZeroes, 
 
2419
            String precTemplate=None) -> String
 
2420
        """
 
2421
        return _propgrid.PropertyGrid_DoubleToString(*args, **kwargs)
 
2422
 
 
2423
    DoubleToString = staticmethod(DoubleToString)
 
2424
    def ValueChangeInEvent(*args, **kwargs):
 
2425
        """ValueChangeInEvent(self, wxVariant variant)"""
 
2426
        return _propgrid.PropertyGrid_ValueChangeInEvent(*args, **kwargs)
 
2427
 
 
2428
    def WasValueChangedInEvent(*args, **kwargs):
 
2429
        """WasValueChangedInEvent(self) -> bool"""
 
2430
        return _propgrid.PropertyGrid_WasValueChangedInEvent(*args, **kwargs)
 
2431
 
 
2432
    def IsMainButtonEvent(*args, **kwargs):
 
2433
        """IsMainButtonEvent(self, Event event) -> bool"""
 
2434
        return _propgrid.PropertyGrid_IsMainButtonEvent(*args, **kwargs)
 
2435
 
 
2436
    def DoHidePropertyError(*args, **kwargs):
 
2437
        """DoHidePropertyError(self, PGProperty property)"""
 
2438
        return _propgrid.PropertyGrid_DoHidePropertyError(*args, **kwargs)
 
2439
 
 
2440
    def GetSpacingY(*args, **kwargs):
 
2441
        """GetSpacingY(self) -> int"""
 
2442
        return _propgrid.PropertyGrid_GetSpacingY(*args, **kwargs)
 
2443
 
 
2444
    def SetupTextCtrlValue(*args, **kwargs):
 
2445
        """SetupTextCtrlValue(self, String text)"""
 
2446
        return _propgrid.PropertyGrid_SetupTextCtrlValue(*args, **kwargs)
 
2447
 
 
2448
    def UnfocusEditor(*args, **kwargs):
 
2449
        """UnfocusEditor(self) -> bool"""
 
2450
        return _propgrid.PropertyGrid_UnfocusEditor(*args, **kwargs)
 
2451
 
 
2452
    def GetPropertyDefaultCell(*args, **kwargs):
 
2453
        """GetPropertyDefaultCell(self) -> PGCell"""
 
2454
        return _propgrid.PropertyGrid_GetPropertyDefaultCell(*args, **kwargs)
 
2455
 
 
2456
    def GetCategoryDefaultCell(*args, **kwargs):
 
2457
        """GetCategoryDefaultCell(self) -> PGCell"""
 
2458
        return _propgrid.PropertyGrid_GetCategoryDefaultCell(*args, **kwargs)
 
2459
 
 
2460
    def GetItemAtY(*args, **kwargs):
 
2461
        """GetItemAtY(self, int y) -> PGProperty"""
 
2462
        return _propgrid.PropertyGrid_GetItemAtY(*args, **kwargs)
 
2463
 
 
2464
_propgrid.PropertyGrid_swigregister(PropertyGrid)
 
2465
 
 
2466
def PropertyGrid_AutoGetTranslation(*args, **kwargs):
 
2467
  """PropertyGrid_AutoGetTranslation(bool enable)"""
 
2468
  return _propgrid.PropertyGrid_AutoGetTranslation(*args, **kwargs)
 
2469
 
 
2470
def PropertyGrid_ExpandEscapeSequences(*args, **kwargs):
 
2471
  """PropertyGrid_ExpandEscapeSequences(String dst_str, String src_str) -> String"""
 
2472
  return _propgrid.PropertyGrid_ExpandEscapeSequences(*args, **kwargs)
 
2473
 
 
2474
def PropertyGrid_CreateEscapeSequences(*args, **kwargs):
 
2475
  """PropertyGrid_CreateEscapeSequences(String dst_str, String src_str) -> String"""
 
2476
  return _propgrid.PropertyGrid_CreateEscapeSequences(*args, **kwargs)
 
2477
 
 
2478
def PropertyGrid_DoubleToString(*args, **kwargs):
 
2479
  """
 
2480
    PropertyGrid_DoubleToString(String target, double value, int precision, bool removeZeroes, 
 
2481
        String precTemplate=None) -> String
 
2482
    """
 
2483
  return _propgrid.PropertyGrid_DoubleToString(*args, **kwargs)
 
2484
 
 
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)
 
2512
 
 
2513
    def GetMainParent(*args, **kwargs):
 
2514
        """GetMainParent(self) -> PGProperty"""
 
2515
        return _propgrid.PropertyGridEvent_GetMainParent(*args, **kwargs)
 
2516
 
 
2517
    def GetProperty(*args, **kwargs):
 
2518
        """GetProperty(self) -> PGProperty"""
 
2519
        return _propgrid.PropertyGridEvent_GetProperty(*args, **kwargs)
 
2520
 
 
2521
    def GetValidationInfo(*args, **kwargs):
 
2522
        """GetValidationInfo(self) -> PGValidationInfo"""
 
2523
        return _propgrid.PropertyGridEvent_GetValidationInfo(*args, **kwargs)
 
2524
 
 
2525
    def CanVeto(*args, **kwargs):
 
2526
        """CanVeto(self) -> bool"""
 
2527
        return _propgrid.PropertyGridEvent_CanVeto(*args, **kwargs)
 
2528
 
 
2529
    def Veto(*args, **kwargs):
 
2530
        """Veto(self, bool veto=True)"""
 
2531
        return _propgrid.PropertyGridEvent_Veto(*args, **kwargs)
 
2532
 
 
2533
    def GetPropertyName(*args, **kwargs):
 
2534
        """GetPropertyName(self) -> String"""
 
2535
        return _propgrid.PropertyGridEvent_GetPropertyName(*args, **kwargs)
 
2536
 
 
2537
    def GetPropertyValue(*args, **kwargs):
 
2538
        """GetPropertyValue(self) -> wxVariant"""
 
2539
        return _propgrid.PropertyGridEvent_GetPropertyValue(*args, **kwargs)
 
2540
 
 
2541
    def GetValue(*args, **kwargs):
 
2542
        """GetValue(self) -> wxVariant"""
 
2543
        return _propgrid.PropertyGridEvent_GetValue(*args, **kwargs)
 
2544
 
 
2545
    def SetValidationFailureBehavior(*args, **kwargs):
 
2546
        """SetValidationFailureBehavior(self, char flags)"""
 
2547
        return _propgrid.PropertyGridEvent_SetValidationFailureBehavior(*args, **kwargs)
 
2548
 
 
2549
    def SetValidationFailureMessage(*args, **kwargs):
 
2550
        """SetValidationFailureMessage(self, String message)"""
 
2551
        return _propgrid.PropertyGridEvent_SetValidationFailureMessage(*args, **kwargs)
 
2552
 
 
2553
    def SetColumn(*args, **kwargs):
 
2554
        """SetColumn(self, int column)"""
 
2555
        return _propgrid.PropertyGridEvent_SetColumn(*args, **kwargs)
 
2556
 
 
2557
    def SetCanVeto(*args, **kwargs):
 
2558
        """SetCanVeto(self, bool canVeto)"""
 
2559
        return _propgrid.PropertyGridEvent_SetCanVeto(*args, **kwargs)
 
2560
 
 
2561
    def WasVetoed(*args, **kwargs):
 
2562
        """WasVetoed(self) -> bool"""
 
2563
        return _propgrid.PropertyGridEvent_WasVetoed(*args, **kwargs)
 
2564
 
 
2565
    def SetProperty(*args, **kwargs):
 
2566
        """SetProperty(self, PGProperty p)"""
 
2567
        return _propgrid.PropertyGridEvent_SetProperty(*args, **kwargs)
 
2568
 
 
2569
_propgrid.PropertyGridEvent_swigregister(PropertyGridEvent)
 
2570
 
 
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)
 
2581
 
 
2582
    def SetGrid(*args, **kwargs):
 
2583
        """SetGrid(self, PropertyGrid pg)"""
 
2584
        return _propgrid.PropertyGridPopulator_SetGrid(*args, **kwargs)
 
2585
 
 
2586
    def Add(*args, **kwargs):
 
2587
        """
 
2588
        Add(self, String propClass, String propLabel, String propName, 
 
2589
            String propValue, PGChoices pChoices=None) -> PGProperty
 
2590
        """
 
2591
        return _propgrid.PropertyGridPopulator_Add(*args, **kwargs)
 
2592
 
 
2593
    def AddChildren(*args, **kwargs):
 
2594
        """AddChildren(self, PGProperty property)"""
 
2595
        return _propgrid.PropertyGridPopulator_AddChildren(*args, **kwargs)
 
2596
 
 
2597
    def AddAttribute(*args, **kwargs):
 
2598
        """AddAttribute(self, String name, String type, String value) -> bool"""
 
2599
        return _propgrid.PropertyGridPopulator_AddAttribute(*args, **kwargs)
 
2600
 
 
2601
    def DoScanForChildren(*args, **kwargs):
 
2602
        """DoScanForChildren(self)"""
 
2603
        return _propgrid.PropertyGridPopulator_DoScanForChildren(*args, **kwargs)
 
2604
 
 
2605
    def GetCurParent(*args, **kwargs):
 
2606
        """GetCurParent(self) -> PGProperty"""
 
2607
        return _propgrid.PropertyGridPopulator_GetCurParent(*args, **kwargs)
 
2608
 
 
2609
    def GetState(*args):
 
2610
        """
 
2611
        GetState(self)
 
2612
        GetState(self)
 
2613
        """
 
2614
        return _propgrid.PropertyGridPopulator_GetState(*args)
 
2615
 
 
2616
    def ToLongPCT(*args, **kwargs):
 
2617
        """ToLongPCT(String s, long pval, long max) -> bool"""
 
2618
        return _propgrid.PropertyGridPopulator_ToLongPCT(*args, **kwargs)
 
2619
 
 
2620
    ToLongPCT = staticmethod(ToLongPCT)
 
2621
    def ParseChoices(*args, **kwargs):
 
2622
        """ParseChoices(self, String choicesString, String idString) -> PGChoices"""
 
2623
        return _propgrid.PropertyGridPopulator_ParseChoices(*args, **kwargs)
 
2624
 
 
2625
    def ProcessError(*args, **kwargs):
 
2626
        """ProcessError(self, String msg)"""
 
2627
        return _propgrid.PropertyGridPopulator_ProcessError(*args, **kwargs)
 
2628
 
 
2629
_propgrid.PropertyGridPopulator_swigregister(PropertyGridPopulator)
 
2630
 
 
2631
def PropertyGridPopulator_ToLongPCT(*args, **kwargs):
 
2632
  """PropertyGridPopulator_ToLongPCT(String s, long pval, long max) -> bool"""
 
2633
  return _propgrid.PropertyGridPopulator_ToLongPCT(*args, **kwargs)
 
2634
 
 
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)
 
2645
 
 
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)
 
2649
 
 
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)
 
2660
 
 
2661
    def CreateControls(*args, **kwargs):
 
2662
        """
 
2663
        CreateControls(self, PropertyGrid propgrid, PGProperty property, Point pos, 
 
2664
            Size size) -> PGWindowList
 
2665
        """
 
2666
        return _propgrid.PGEditor_CreateControls(*args, **kwargs)
 
2667
 
 
2668
    def UpdateControl(*args, **kwargs):
 
2669
        """UpdateControl(self, PGProperty property, Window ctrl)"""
 
2670
        return _propgrid.PGEditor_UpdateControl(*args, **kwargs)
 
2671
 
 
2672
    def DrawValue(*args, **kwargs):
 
2673
        """DrawValue(self, DC dc, Rect rect, PGProperty property, String text)"""
 
2674
        return _propgrid.PGEditor_DrawValue(*args, **kwargs)
 
2675
 
 
2676
    def OnEvent(*args, **kwargs):
 
2677
        """
 
2678
        OnEvent(self, PropertyGrid propgrid, PGProperty property, Window wnd_primary, 
 
2679
            Event event) -> bool
 
2680
        """
 
2681
        return _propgrid.PGEditor_OnEvent(*args, **kwargs)
 
2682
 
 
2683
    def SetControlAppearance(*args, **kwargs):
 
2684
        """
 
2685
        SetControlAppearance(self, PropertyGrid pg, PGProperty property, Window ctrl, 
 
2686
            PGCell appearance, PGCell oldAppearance, bool unspecified)
 
2687
        """
 
2688
        return _propgrid.PGEditor_SetControlAppearance(*args, **kwargs)
 
2689
 
 
2690
    def SetValueToUnspecified(*args, **kwargs):
 
2691
        """SetValueToUnspecified(self, PGProperty property, Window ctrl)"""
 
2692
        return _propgrid.PGEditor_SetValueToUnspecified(*args, **kwargs)
 
2693
 
 
2694
    def SetControlStringValue(*args, **kwargs):
 
2695
        """SetControlStringValue(self, PGProperty property, Window ctrl, String txt)"""
 
2696
        return _propgrid.PGEditor_SetControlStringValue(*args, **kwargs)
 
2697
 
 
2698
    def SetControlIntValue(*args, **kwargs):
 
2699
        """SetControlIntValue(self, PGProperty property, Window ctrl, int value)"""
 
2700
        return _propgrid.PGEditor_SetControlIntValue(*args, **kwargs)
 
2701
 
 
2702
    def InsertItem(*args, **kwargs):
 
2703
        """InsertItem(self, Window ctrl, String label, int index) -> int"""
 
2704
        return _propgrid.PGEditor_InsertItem(*args, **kwargs)
 
2705
 
 
2706
    def DeleteItem(*args, **kwargs):
 
2707
        """DeleteItem(self, Window ctrl, int index)"""
 
2708
        return _propgrid.PGEditor_DeleteItem(*args, **kwargs)
 
2709
 
 
2710
    def OnFocus(*args, **kwargs):
 
2711
        """OnFocus(self, PGProperty property, Window wnd)"""
 
2712
        return _propgrid.PGEditor_OnFocus(*args, **kwargs)
 
2713
 
 
2714
    def CanContainCustomImage(*args, **kwargs):
 
2715
        """CanContainCustomImage(self) -> bool"""
 
2716
        return _propgrid.PGEditor_CanContainCustomImage(*args, **kwargs)
 
2717
 
 
2718
    m_clientData = property(_propgrid.PGEditor_m_clientData_get, _propgrid.PGEditor_m_clientData_set)
 
2719
_propgrid.PGEditor_swigregister(PGEditor)
 
2720
 
 
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):
 
2731
        """
 
2732
        OnTextCtrlEvent(PropertyGrid propgrid, PGProperty property, Window ctrl, 
 
2733
            Event event) -> bool
 
2734
        """
 
2735
        return _propgrid.PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs)
 
2736
 
 
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)
 
2741
 
 
2742
    GetTextCtrlValueFromControl = staticmethod(GetTextCtrlValueFromControl)
 
2743
_propgrid.PGTextCtrlEditor_swigregister(PGTextCtrlEditor)
 
2744
 
 
2745
def PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs):
 
2746
  """
 
2747
    PGTextCtrlEditor_OnTextCtrlEvent(PropertyGrid propgrid, PGProperty property, Window ctrl, 
 
2748
        Event event) -> bool
 
2749
    """
 
2750
  return _propgrid.PGTextCtrlEditor_OnTextCtrlEvent(*args, **kwargs)
 
2751
 
 
2752
def PGTextCtrlEditor_GetTextCtrlValueFromControl(*args, **kwargs):
 
2753
  """PGTextCtrlEditor_GetTextCtrlValueFromControl(wxVariant variant, PGProperty property, Window ctrl) -> bool"""
 
2754
  return _propgrid.PGTextCtrlEditor_GetTextCtrlValueFromControl(*args, **kwargs)
 
2755
 
 
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):
 
2766
        """
 
2767
        CreateControlsBase(self, PropertyGrid propgrid, PGProperty property, Point pos, 
 
2768
            Size sz, long extraStyle) -> Window
 
2769
        """
 
2770
        return _propgrid.PGChoiceEditor_CreateControlsBase(*args, **kwargs)
 
2771
 
 
2772
_propgrid.PGChoiceEditor_swigregister(PGChoiceEditor)
 
2773
 
 
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)
 
2784
 
 
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)
 
2795
 
 
2796
    def DoShowDialog(*args, **kwargs):
 
2797
        """DoShowDialog(self, PropertyGrid propGrid, PGProperty property) -> bool"""
 
2798
        return _propgrid.PGEditorDialogAdapter_DoShowDialog(*args, **kwargs)
 
2799
 
 
2800
    def SetValue(*args, **kwargs):
 
2801
        """SetValue(self, wxVariant value)"""
 
2802
        return _propgrid.PGEditorDialogAdapter_SetValue(*args, **kwargs)
 
2803
 
 
2804
    def GetValue(*args, **kwargs):
 
2805
        """GetValue(self) -> wxVariant"""
 
2806
        return _propgrid.PGEditorDialogAdapter_GetValue(*args, **kwargs)
 
2807
 
 
2808
    m_clientData = property(_propgrid.PGEditorDialogAdapter_m_clientData_get, _propgrid.PGEditorDialogAdapter_m_clientData_set)
 
2809
_propgrid.PGEditorDialogAdapter_swigregister(PGEditorDialogAdapter)
 
2810
 
 
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))
 
2818
        
 
2819
        self._setOORInfo(self)
 
2820
    
 
2821
 
 
2822
    __swig_destroy__ = _propgrid.delete_PGMultiButton
 
2823
    __del__ = lambda self : None;
 
2824
    def GetButton(*args):
 
2825
        """
 
2826
        GetButton(self, int i) -> Window
 
2827
        GetButton(self, int i) -> Window
 
2828
        """
 
2829
        return _propgrid.PGMultiButton_GetButton(*args)
 
2830
 
 
2831
    def GetButtonId(*args, **kwargs):
 
2832
        """GetButtonId(self, int i) -> int"""
 
2833
        return _propgrid.PGMultiButton_GetButtonId(*args, **kwargs)
 
2834
 
 
2835
    def GetCount(*args, **kwargs):
 
2836
        """GetCount(self) -> int"""
 
2837
        return _propgrid.PGMultiButton_GetCount(*args, **kwargs)
 
2838
 
 
2839
    def Add(*args, **kwargs):
 
2840
        """Add(self, String label, int id=-2)"""
 
2841
        return _propgrid.PGMultiButton_Add(*args, **kwargs)
 
2842
 
 
2843
    def GetPrimarySize(*args, **kwargs):
 
2844
        """GetPrimarySize(self) -> Size"""
 
2845
        return _propgrid.PGMultiButton_GetPrimarySize(*args, **kwargs)
 
2846
 
 
2847
    def Finalize(*args, **kwargs):
 
2848
        """Finalize(self, PropertyGrid propGrid, Point pos)"""
 
2849
        return _propgrid.PGMultiButton_Finalize(*args, **kwargs)
 
2850
 
 
2851
    def AddBitmapButton(*args, **kwargs):
 
2852
        """AddBitmapButton(self, Bitmap bitmap, int id=-2)"""
 
2853
        return _propgrid.PGMultiButton_AddBitmapButton(*args, **kwargs)
 
2854
 
 
2855
    def AddButton(self, *args, **kwargs):
 
2856
        return self.Add(*args, **kwargs)
 
2857
 
 
2858
_propgrid.PGMultiButton_swigregister(PGMultiButton)
 
2859
 
 
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): 
 
2865
        """
 
2866
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
2867
            String value=wxEmptyString) -> StringProperty
 
2868
        """
 
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)
 
2873
 
 
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)
 
2892
 
 
2893
_propgrid.NumericPropertyValidator_swigregister(NumericPropertyValidator)
 
2894
 
 
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): 
 
2902
        """
 
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
 
2906
        """
 
2907
        _propgrid.IntProperty_swiginit(self,_propgrid.new_IntProperty(*args))
 
2908
    def GetClassValidator(*args, **kwargs):
 
2909
        """GetClassValidator() -> Validator"""
 
2910
        return _propgrid.IntProperty_GetClassValidator(*args, **kwargs)
 
2911
 
 
2912
    GetClassValidator = staticmethod(GetClassValidator)
 
2913
    def DoValidation(*args, **kwargs):
 
2914
        """
 
2915
        DoValidation(PGProperty property, wxLongLong_t value, PGValidationInfo pValidationInfo, 
 
2916
            int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
 
2917
        """
 
2918
        return _propgrid.IntProperty_DoValidation(*args, **kwargs)
 
2919
 
 
2920
    DoValidation = staticmethod(DoValidation)
 
2921
_propgrid.IntProperty_swigregister(IntProperty)
 
2922
 
 
2923
def IntProperty_GetClassValidator(*args):
 
2924
  """IntProperty_GetClassValidator() -> Validator"""
 
2925
  return _propgrid.IntProperty_GetClassValidator(*args)
 
2926
 
 
2927
def IntProperty_DoValidation(*args, **kwargs):
 
2928
  """
 
2929
    IntProperty_DoValidation(PGProperty property, wxLongLong_t value, PGValidationInfo pValidationInfo, 
 
2930
        int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
 
2931
    """
 
2932
  return _propgrid.IntProperty_DoValidation(*args, **kwargs)
 
2933
 
 
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): 
 
2941
        """
 
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
 
2945
        """
 
2946
        _propgrid.UIntProperty_swiginit(self,_propgrid.new_UIntProperty(*args))
 
2947
_propgrid.UIntProperty_swigregister(UIntProperty)
 
2948
 
 
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): 
 
2954
        """
 
2955
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
2956
            double value=0.0) -> FloatProperty
 
2957
        """
 
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):
 
2962
        """
 
2963
        DoValidation(PGProperty property, double value, PGValidationInfo pValidationInfo, 
 
2964
            int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
 
2965
        """
 
2966
        return _propgrid.FloatProperty_DoValidation(*args, **kwargs)
 
2967
 
 
2968
    DoValidation = staticmethod(DoValidation)
 
2969
    def GetClassValidator(*args, **kwargs):
 
2970
        """GetClassValidator() -> Validator"""
 
2971
        return _propgrid.FloatProperty_GetClassValidator(*args, **kwargs)
 
2972
 
 
2973
    GetClassValidator = staticmethod(GetClassValidator)
 
2974
_propgrid.FloatProperty_swigregister(FloatProperty)
 
2975
 
 
2976
def FloatProperty_DoValidation(*args, **kwargs):
 
2977
  """
 
2978
    FloatProperty_DoValidation(PGProperty property, double value, PGValidationInfo pValidationInfo, 
 
2979
        int mode=PG_PROPERTY_VALIDATION_ERROR_MESSAGE) -> bool
 
2980
    """
 
2981
  return _propgrid.FloatProperty_DoValidation(*args, **kwargs)
 
2982
 
 
2983
def FloatProperty_GetClassValidator(*args):
 
2984
  """FloatProperty_GetClassValidator() -> Validator"""
 
2985
  return _propgrid.FloatProperty_GetClassValidator(*args)
 
2986
 
 
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): 
 
2992
        """
 
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
 
2997
        """
 
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)
 
3004
 
 
3005
    def GetIndexForValue(*args, **kwargs):
 
3006
        """GetIndexForValue(self, int value) -> int"""
 
3007
        return _propgrid.EnumProperty_GetIndexForValue(*args, **kwargs)
 
3008
 
 
3009
_propgrid.EnumProperty_swigregister(EnumProperty)
 
3010
 
 
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): 
 
3016
        """
 
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
 
3026
        """
 
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)
 
3031
 
 
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): 
 
3037
        """
 
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
 
3042
        """
 
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)
 
3049
 
 
3050
    def GetLabel(*args, **kwargs):
 
3051
        """GetLabel(self, size_t ind) -> String"""
 
3052
        return _propgrid.FlagsProperty_GetLabel(*args, **kwargs)
 
3053
 
 
3054
_propgrid.FlagsProperty_swigregister(FlagsProperty)
 
3055
 
 
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)
 
3062
 
 
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): 
 
3068
        """
 
3069
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3070
            String value=wxEmptyString) -> FileProperty
 
3071
        """
 
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)
 
3078
 
 
3079
    GetClassValidator = staticmethod(GetClassValidator)
 
3080
    def GetFileName(*args, **kwargs):
 
3081
        """GetFileName(self) -> wxFileName"""
 
3082
        return _propgrid.FileProperty_GetFileName(*args, **kwargs)
 
3083
 
 
3084
_propgrid.FileProperty_swigregister(FileProperty)
 
3085
 
 
3086
def FileProperty_GetClassValidator(*args):
 
3087
  """FileProperty_GetClassValidator() -> Validator"""
 
3088
  return _propgrid.FileProperty_GetClassValidator(*args)
 
3089
 
 
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)
 
3096
 
 
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): 
 
3102
        """
 
3103
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3104
            String value=wxEmptyString) -> LongStringProperty
 
3105
        """
 
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)
 
3112
 
 
3113
    def DisplayEditorDialog(*args, **kwargs):
 
3114
        """DisplayEditorDialog(PGProperty prop, PropertyGrid propGrid, String value) -> bool"""
 
3115
        return _propgrid.LongStringProperty_DisplayEditorDialog(*args, **kwargs)
 
3116
 
 
3117
    DisplayEditorDialog = staticmethod(DisplayEditorDialog)
 
3118
_propgrid.LongStringProperty_swigregister(LongStringProperty)
 
3119
 
 
3120
def LongStringProperty_DisplayEditorDialog(*args, **kwargs):
 
3121
  """LongStringProperty_DisplayEditorDialog(PGProperty prop, PropertyGrid propGrid, String value) -> bool"""
 
3122
  return _propgrid.LongStringProperty_DisplayEditorDialog(*args, **kwargs)
 
3123
 
 
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): 
 
3129
        """
 
3130
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3131
            wxArrayString value=wxArrayString()) -> ArrayStringProperty
 
3132
        """
 
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)
 
3139
 
 
3140
    def OnCustomStringEdit(*args, **kwargs):
 
3141
        """OnCustomStringEdit(self, Window parent, String value) -> bool"""
 
3142
        return _propgrid.ArrayStringProperty_OnCustomStringEdit(*args, **kwargs)
 
3143
 
 
3144
    def OnButtonClick(*args, **kwargs):
 
3145
        """OnButtonClick(self, PropertyGrid propgrid, Window primary, wxChar cbt) -> bool"""
 
3146
        return _propgrid.ArrayStringProperty_OnButtonClick(*args, **kwargs)
 
3147
 
 
3148
    Escape = _propgrid.ArrayStringProperty_Escape
 
3149
    QuoteStrings = _propgrid.ArrayStringProperty_QuoteStrings
 
3150
    def ArrayStringToString(*args, **kwargs):
 
3151
        """
 
3152
        ArrayStringToString(String dst, wxArrayString src, wxUniChar delimiter, 
 
3153
            int flags)
 
3154
        """
 
3155
        return _propgrid.ArrayStringProperty_ArrayStringToString(*args, **kwargs)
 
3156
 
 
3157
    ArrayStringToString = staticmethod(ArrayStringToString)
 
3158
_propgrid.ArrayStringProperty_swigregister(ArrayStringProperty)
 
3159
 
 
3160
def ArrayStringProperty_ArrayStringToString(*args, **kwargs):
 
3161
  """
 
3162
    ArrayStringProperty_ArrayStringToString(String dst, wxArrayString src, wxUniChar delimiter, 
 
3163
        int flags)
 
3164
    """
 
3165
  return _propgrid.ArrayStringProperty_ArrayStringToString(*args, **kwargs)
 
3166
 
 
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):
 
3175
        """Init(self)"""
 
3176
        return _propgrid.PGArrayEditorDialog_Init(*args, **kwargs)
 
3177
 
 
3178
    def Create(*args, **kwargs):
 
3179
        """
 
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
 
3183
        """
 
3184
        return _propgrid.PGArrayEditorDialog_Create(*args, **kwargs)
 
3185
 
 
3186
    def EnableCustomNewAction(*args, **kwargs):
 
3187
        """EnableCustomNewAction(self)"""
 
3188
        return _propgrid.PGArrayEditorDialog_EnableCustomNewAction(*args, **kwargs)
 
3189
 
 
3190
    def SetDialogValue(*args, **kwargs):
 
3191
        """SetDialogValue(self, wxVariant value)"""
 
3192
        return _propgrid.PGArrayEditorDialog_SetDialogValue(*args, **kwargs)
 
3193
 
 
3194
    def GetDialogValue(*args, **kwargs):
 
3195
        """GetDialogValue(self) -> wxVariant"""
 
3196
        return _propgrid.PGArrayEditorDialog_GetDialogValue(*args, **kwargs)
 
3197
 
 
3198
    def GetTextCtrlValidator(*args, **kwargs):
 
3199
        """GetTextCtrlValidator(self) -> Validator"""
 
3200
        return _propgrid.PGArrayEditorDialog_GetTextCtrlValidator(*args, **kwargs)
 
3201
 
 
3202
    def IsModified(*args, **kwargs):
 
3203
        """IsModified(self) -> bool"""
 
3204
        return _propgrid.PGArrayEditorDialog_IsModified(*args, **kwargs)
 
3205
 
 
3206
    def GetSelection(*args, **kwargs):
 
3207
        """GetSelection(self) -> int"""
 
3208
        return _propgrid.PGArrayEditorDialog_GetSelection(*args, **kwargs)
 
3209
 
 
3210
    def OnAddClick(*args, **kwargs):
 
3211
        """OnAddClick(self, CommandEvent event)"""
 
3212
        return _propgrid.PGArrayEditorDialog_OnAddClick(*args, **kwargs)
 
3213
 
 
3214
    def OnDeleteClick(*args, **kwargs):
 
3215
        """OnDeleteClick(self, CommandEvent event)"""
 
3216
        return _propgrid.PGArrayEditorDialog_OnDeleteClick(*args, **kwargs)
 
3217
 
 
3218
    def OnUpClick(*args, **kwargs):
 
3219
        """OnUpClick(self, CommandEvent event)"""
 
3220
        return _propgrid.PGArrayEditorDialog_OnUpClick(*args, **kwargs)
 
3221
 
 
3222
    def OnDownClick(*args, **kwargs):
 
3223
        """OnDownClick(self, CommandEvent event)"""
 
3224
        return _propgrid.PGArrayEditorDialog_OnDownClick(*args, **kwargs)
 
3225
 
 
3226
    def OnEndLabelEdit(*args, **kwargs):
 
3227
        """OnEndLabelEdit(self, ListEvent event)"""
 
3228
        return _propgrid.PGArrayEditorDialog_OnEndLabelEdit(*args, **kwargs)
 
3229
 
 
3230
    def OnIdle(*args, **kwargs):
 
3231
        """OnIdle(self, IdleEvent event)"""
 
3232
        return _propgrid.PGArrayEditorDialog_OnIdle(*args, **kwargs)
 
3233
 
 
3234
_propgrid.PGArrayEditorDialog_swigregister(PGArrayEditorDialog)
 
3235
 
 
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):
 
3246
        """Init(self)"""
 
3247
        return _propgrid.PGArrayStringEditorDialog_Init(*args, **kwargs)
 
3248
 
 
3249
    def SetCustomButton(*args, **kwargs):
 
3250
        """SetCustomButton(self, String custBtText, ArrayStringProperty pcc)"""
 
3251
        return _propgrid.PGArrayStringEditorDialog_SetCustomButton(*args, **kwargs)
 
3252
 
 
3253
    def OnCustomNewAction(*args, **kwargs):
 
3254
        """OnCustomNewAction(self, String resString) -> bool"""
 
3255
        return _propgrid.PGArrayStringEditorDialog_OnCustomNewAction(*args, **kwargs)
 
3256
 
 
3257
_propgrid.PGArrayStringEditorDialog_swigregister(PGArrayStringEditorDialog)
 
3258
 
 
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)
 
3273
 
 
3274
    def __init__(self, *args): 
 
3275
        """
 
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
 
3281
        """
 
3282
        _propgrid.ColourPropertyValue_swiginit(self,_propgrid.new_ColourPropertyValue(*args))
 
3283
_propgrid.ColourPropertyValue_swigregister(ColourPropertyValue)
 
3284
 
 
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): 
 
3290
        """
 
3291
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3292
            Font value=wxFont()) -> FontProperty
 
3293
        """
 
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)
 
3298
 
 
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): 
 
3304
        """
 
3305
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3306
            ColourPropertyValue value=wxColourPropertyValue()) -> SystemColourProperty
 
3307
        """
 
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)
 
3314
 
 
3315
    def GetCustomColourIndex(*args, **kwargs):
 
3316
        """GetCustomColourIndex(self) -> int"""
 
3317
        return _propgrid.SystemColourProperty_GetCustomColourIndex(*args, **kwargs)
 
3318
 
 
3319
    def QueryColourFromUser(*args, **kwargs):
 
3320
        """QueryColourFromUser(self, wxVariant variant) -> bool"""
 
3321
        return _propgrid.SystemColourProperty_QueryColourFromUser(*args, **kwargs)
 
3322
 
 
3323
    def GetColour(*args, **kwargs):
 
3324
        """GetColour(self, int index) -> Colour"""
 
3325
        return _propgrid.SystemColourProperty_GetColour(*args, **kwargs)
 
3326
 
 
3327
    def GetVal(*args, **kwargs):
 
3328
        """GetVal(self, wxVariant pVariant=None) -> ColourPropertyValue"""
 
3329
        return _propgrid.SystemColourProperty_GetVal(*args, **kwargs)
 
3330
 
 
3331
_propgrid.SystemColourProperty_swigregister(SystemColourProperty)
 
3332
 
 
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): 
 
3338
        """
 
3339
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3340
            Colour value=*wxWHITE) -> ColourProperty
 
3341
        """
 
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)
 
3346
 
 
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)
 
3359
 
 
3360
    def GetIndex(*args, **kwargs):
 
3361
        """GetIndex(self) -> int"""
 
3362
        return _propgrid.PropertyGridPage_GetIndex(*args, **kwargs)
 
3363
 
 
3364
    def GetSplitterPosition(*args, **kwargs):
 
3365
        """GetSplitterPosition(self, int col=0) -> int"""
 
3366
        return _propgrid.PropertyGridPage_GetSplitterPosition(*args, **kwargs)
 
3367
 
 
3368
    def GetRoot(*args, **kwargs):
 
3369
        """GetRoot(self) -> PGProperty"""
 
3370
        return _propgrid.PropertyGridPage_GetRoot(*args, **kwargs)
 
3371
 
 
3372
    def GetStatePtr(*args):
 
3373
        """
 
3374
        GetStatePtr(self)
 
3375
        GetStatePtr(self)
 
3376
        """
 
3377
        return _propgrid.PropertyGridPage_GetStatePtr(*args)
 
3378
 
 
3379
    def GetToolId(*args, **kwargs):
 
3380
        """GetToolId(self) -> int"""
 
3381
        return _propgrid.PropertyGridPage_GetToolId(*args, **kwargs)
 
3382
 
 
3383
    def Init(*args, **kwargs):
 
3384
        """Init(self)"""
 
3385
        return _propgrid.PropertyGridPage_Init(*args, **kwargs)
 
3386
 
 
3387
    def IsHandlingAllEvents(*args, **kwargs):
 
3388
        """IsHandlingAllEvents(self) -> bool"""
 
3389
        return _propgrid.PropertyGridPage_IsHandlingAllEvents(*args, **kwargs)
 
3390
 
 
3391
    def OnShow(*args, **kwargs):
 
3392
        """OnShow(self)"""
 
3393
        return _propgrid.PropertyGridPage_OnShow(*args, **kwargs)
 
3394
 
 
3395
    def SetSplitterPosition(*args, **kwargs):
 
3396
        """SetSplitterPosition(self, int splitterPos, int col=0)"""
 
3397
        return _propgrid.PropertyGridPage_SetSplitterPosition(*args, **kwargs)
 
3398
 
 
3399
_propgrid.PropertyGridPage_swigregister(PropertyGridPage)
 
3400
 
 
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): 
 
3406
        """
 
3407
        __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
 
3408
            Size size=DefaultSize, long style=(0), 
 
3409
            String name=wxPropertyGridManagerNameStr) -> PropertyGridManager
 
3410
        """
 
3411
        _propgrid.PropertyGridManager_swiginit(self,_propgrid.new_PropertyGridManager(*args, **kwargs))
 
3412
        
 
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 = {}
 
3419
    
 
3420
 
 
3421
    __swig_destroy__ = _propgrid.delete_PropertyGridManager
 
3422
    __del__ = lambda self : None;
 
3423
    def AddPage(*args, **kwargs):
 
3424
        """
 
3425
        AddPage(self, String label=wxEmptyString, Bitmap bmp=wxNullBitmap, 
 
3426
            PropertyGridPage pageObj=None) -> PropertyGridPage
 
3427
        """
 
3428
        return _propgrid.PropertyGridManager_AddPage(*args, **kwargs)
 
3429
 
 
3430
    def ClearPage(*args, **kwargs):
 
3431
        """ClearPage(self, int page)"""
 
3432
        return _propgrid.PropertyGridManager_ClearPage(*args, **kwargs)
 
3433
 
 
3434
    def CommitChangesFromEditor(*args, **kwargs):
 
3435
        """CommitChangesFromEditor(self, int flags=0) -> bool"""
 
3436
        return _propgrid.PropertyGridManager_CommitChangesFromEditor(*args, **kwargs)
 
3437
 
 
3438
    def Create(*args, **kwargs):
 
3439
        """
 
3440
        Create(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition, 
 
3441
            Size size=DefaultSize, long style=(0), 
 
3442
            String name=wxPropertyGridManagerNameStr) -> bool
 
3443
        """
 
3444
        return _propgrid.PropertyGridManager_Create(*args, **kwargs)
 
3445
 
 
3446
    def EnableCategories(*args, **kwargs):
 
3447
        """EnableCategories(self, bool enable) -> bool"""
 
3448
        return _propgrid.PropertyGridManager_EnableCategories(*args, **kwargs)
 
3449
 
 
3450
    def EnsureVisible(*args, **kwargs):
 
3451
        """EnsureVisible(self, PGPropArg id) -> bool"""
 
3452
        return _propgrid.PropertyGridManager_EnsureVisible(*args, **kwargs)
 
3453
 
 
3454
    def GetColumnCount(*args, **kwargs):
 
3455
        """GetColumnCount(self, int page=-1) -> int"""
 
3456
        return _propgrid.PropertyGridManager_GetColumnCount(*args, **kwargs)
 
3457
 
 
3458
    def GetDescBoxHeight(*args, **kwargs):
 
3459
        """GetDescBoxHeight(self) -> int"""
 
3460
        return _propgrid.PropertyGridManager_GetDescBoxHeight(*args, **kwargs)
 
3461
 
 
3462
    def GetGrid(*args):
 
3463
        """
 
3464
        GetGrid(self) -> PropertyGrid
 
3465
        GetGrid(self) -> PropertyGrid
 
3466
        """
 
3467
        return _propgrid.PropertyGridManager_GetGrid(*args)
 
3468
 
 
3469
    def GetIterator(*args):
 
3470
        """
 
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
 
3475
        """
 
3476
        return _propgrid.PropertyGridManager_GetIterator(*args)
 
3477
 
 
3478
    def GetCurrentPage(*args, **kwargs):
 
3479
        """GetCurrentPage(self) -> PropertyGridPage"""
 
3480
        return _propgrid.PropertyGridManager_GetCurrentPage(*args, **kwargs)
 
3481
 
 
3482
    def GetPage(*args):
 
3483
        """
 
3484
        GetPage(self, int ind) -> PropertyGridPage
 
3485
        GetPage(self, String name) -> PropertyGridPage
 
3486
        """
 
3487
        return _propgrid.PropertyGridManager_GetPage(*args)
 
3488
 
 
3489
    def GetPageByName(*args, **kwargs):
 
3490
        """GetPageByName(self, String name) -> int"""
 
3491
        return _propgrid.PropertyGridManager_GetPageByName(*args, **kwargs)
 
3492
 
 
3493
    def GetPageByState(*args, **kwargs):
 
3494
        """GetPageByState(self,  pstate) -> int"""
 
3495
        return _propgrid.PropertyGridManager_GetPageByState(*args, **kwargs)
 
3496
 
 
3497
    def GetPageCount(*args, **kwargs):
 
3498
        """GetPageCount(self) -> size_t"""
 
3499
        return _propgrid.PropertyGridManager_GetPageCount(*args, **kwargs)
 
3500
 
 
3501
    def GetPageName(*args, **kwargs):
 
3502
        """GetPageName(self, int index) -> String"""
 
3503
        return _propgrid.PropertyGridManager_GetPageName(*args, **kwargs)
 
3504
 
 
3505
    def GetPageRoot(*args, **kwargs):
 
3506
        """GetPageRoot(self, int index) -> PGProperty"""
 
3507
        return _propgrid.PropertyGridManager_GetPageRoot(*args, **kwargs)
 
3508
 
 
3509
    def GetSelectedPage(*args, **kwargs):
 
3510
        """GetSelectedPage(self) -> int"""
 
3511
        return _propgrid.PropertyGridManager_GetSelectedPage(*args, **kwargs)
 
3512
 
 
3513
    def GetSelectedProperty(*args, **kwargs):
 
3514
        """GetSelectedProperty(self) -> PGProperty"""
 
3515
        return _propgrid.PropertyGridManager_GetSelectedProperty(*args, **kwargs)
 
3516
 
 
3517
    def GetSelection(*args, **kwargs):
 
3518
        """GetSelection(self) -> PGProperty"""
 
3519
        return _propgrid.PropertyGridManager_GetSelection(*args, **kwargs)
 
3520
 
 
3521
    def GetToolBar(*args, **kwargs):
 
3522
        """GetToolBar(self) -> wxToolBar"""
 
3523
        return _propgrid.PropertyGridManager_GetToolBar(*args, **kwargs)
 
3524
 
 
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)
 
3528
 
 
3529
    def IsAnyModified(*args, **kwargs):
 
3530
        """IsAnyModified(self) -> bool"""
 
3531
        return _propgrid.PropertyGridManager_IsAnyModified(*args, **kwargs)
 
3532
 
 
3533
    def IsFrozen(*args, **kwargs):
 
3534
        """
 
3535
        IsFrozen(self) -> bool
 
3536
 
 
3537
        Returns ``True`` if the window has been frozen and not thawed yet.
 
3538
 
 
3539
        :see: `Freeze` and `Thaw`
 
3540
        """
 
3541
        return _propgrid.PropertyGridManager_IsFrozen(*args, **kwargs)
 
3542
 
 
3543
    def IsPageModified(*args, **kwargs):
 
3544
        """IsPageModified(self, size_t index) -> bool"""
 
3545
        return _propgrid.PropertyGridManager_IsPageModified(*args, **kwargs)
 
3546
 
 
3547
    def IsPropertySelected(*args, **kwargs):
 
3548
        """IsPropertySelected(self, PGPropArg id) -> bool"""
 
3549
        return _propgrid.PropertyGridManager_IsPropertySelected(*args, **kwargs)
 
3550
 
 
3551
    def RemovePage(*args, **kwargs):
 
3552
        """RemovePage(self, int page) -> bool"""
 
3553
        return _propgrid.PropertyGridManager_RemovePage(*args, **kwargs)
 
3554
 
 
3555
    def SelectPage(*args):
 
3556
        """
 
3557
        SelectPage(self, int index)
 
3558
        SelectPage(self, String label)
 
3559
        SelectPage(self, PropertyGridPage ptr)
 
3560
        """
 
3561
        return _propgrid.PropertyGridManager_SelectPage(*args)
 
3562
 
 
3563
    def SelectProperty(*args, **kwargs):
 
3564
        """SelectProperty(self, PGPropArg id, bool focus=False) -> bool"""
 
3565
        return _propgrid.PropertyGridManager_SelectProperty(*args, **kwargs)
 
3566
 
 
3567
    def SetColumnTitle(*args, **kwargs):
 
3568
        """SetColumnTitle(self, int idx, String title)"""
 
3569
        return _propgrid.PropertyGridManager_SetColumnTitle(*args, **kwargs)
 
3570
 
 
3571
    def SetColumnCount(*args, **kwargs):
 
3572
        """SetColumnCount(self, int colCount, int page=-1)"""
 
3573
        return _propgrid.PropertyGridManager_SetColumnCount(*args, **kwargs)
 
3574
 
 
3575
    def SetDescription(*args, **kwargs):
 
3576
        """SetDescription(self, String label, String content)"""
 
3577
        return _propgrid.PropertyGridManager_SetDescription(*args, **kwargs)
 
3578
 
 
3579
    def SetDescBoxHeight(*args, **kwargs):
 
3580
        """SetDescBoxHeight(self, int ht, bool refresh=True)"""
 
3581
        return _propgrid.PropertyGridManager_SetDescBoxHeight(*args, **kwargs)
 
3582
 
 
3583
    def SetSplitterLeft(*args, **kwargs):
 
3584
        """SetSplitterLeft(self, bool subProps=False, bool allPages=True)"""
 
3585
        return _propgrid.PropertyGridManager_SetSplitterLeft(*args, **kwargs)
 
3586
 
 
3587
    def SetPageSplitterLeft(*args, **kwargs):
 
3588
        """SetPageSplitterLeft(self, int page, bool subProps=False)"""
 
3589
        return _propgrid.PropertyGridManager_SetPageSplitterLeft(*args, **kwargs)
 
3590
 
 
3591
    def SetPageSplitterPosition(*args, **kwargs):
 
3592
        """SetPageSplitterPosition(self, int page, int pos, int column=0)"""
 
3593
        return _propgrid.PropertyGridManager_SetPageSplitterPosition(*args, **kwargs)
 
3594
 
 
3595
    def SetSplitterPosition(*args, **kwargs):
 
3596
        """SetSplitterPosition(self, int pos, int column=0)"""
 
3597
        return _propgrid.PropertyGridManager_SetSplitterPosition(*args, **kwargs)
 
3598
 
 
3599
    def SetId(*args, **kwargs):
 
3600
        """
 
3601
        SetId(self, int winid)
 
3602
 
 
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.
 
3607
        """
 
3608
        return _propgrid.PropertyGridManager_SetId(*args, **kwargs)
 
3609
 
 
3610
    def Freeze(*args, **kwargs):
 
3611
        """
 
3612
        Freeze(self)
 
3613
 
 
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
 
3618
        been undone.
 
3619
 
 
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.
 
3625
        """
 
3626
        return _propgrid.PropertyGridManager_Freeze(*args, **kwargs)
 
3627
 
 
3628
    def Thaw(*args, **kwargs):
 
3629
        """
 
3630
        Thaw(self)
 
3631
 
 
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.
 
3635
        """
 
3636
        return _propgrid.PropertyGridManager_Thaw(*args, **kwargs)
 
3637
 
 
3638
    def Reparent(*args, **kwargs):
 
3639
        """Reparent(self, wxWindowBase newParent) -> bool"""
 
3640
        return _propgrid.PropertyGridManager_Reparent(*args, **kwargs)
 
3641
 
 
3642
    def GetValuesFromPage(self,
 
3643
                          page,
 
3644
                          dict_=None,
 
3645
                          as_strings=False,
 
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)
 
3650
 
 
3651
_propgrid.PropertyGridManager_swigregister(PropertyGridManager)
 
3652
 
 
3653
 
 
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)
 
3657
 
 
3658
def NewStringProperty(*args, **kwargs):
 
3659
  """
 
3660
    NewStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3661
        String value=wxEmptyString) -> PGProperty
 
3662
    """
 
3663
  return _propgrid.NewStringProperty(*args, **kwargs)
 
3664
 
 
3665
def NewUIntProperty(*args, **kwargs):
 
3666
  """
 
3667
    NewUIntProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3668
        long value=0) -> PGProperty
 
3669
    """
 
3670
  return _propgrid.NewUIntProperty(*args, **kwargs)
 
3671
 
 
3672
def NewIntProperty(*args, **kwargs):
 
3673
  """
 
3674
    NewIntProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3675
        long value=0) -> PGProperty
 
3676
    """
 
3677
  return _propgrid.NewIntProperty(*args, **kwargs)
 
3678
 
 
3679
def NewFloatProperty(*args, **kwargs):
 
3680
  """
 
3681
    NewFloatProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3682
        double value=0.0) -> PGProperty
 
3683
    """
 
3684
  return _propgrid.NewFloatProperty(*args, **kwargs)
 
3685
 
 
3686
def NewBoolProperty(*args, **kwargs):
 
3687
  """
 
3688
    NewBoolProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3689
        bool value=False) -> PGProperty
 
3690
    """
 
3691
  return _propgrid.NewBoolProperty(*args, **kwargs)
 
3692
 
 
3693
def NewEnumProperty(*args, **kwargs):
 
3694
  """
 
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
 
3699
    """
 
3700
  return _propgrid.NewEnumProperty(*args, **kwargs)
 
3701
 
 
3702
def NewEditEnumProperty(*args, **kwargs):
 
3703
  """
 
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
 
3708
    """
 
3709
  return _propgrid.NewEditEnumProperty(*args, **kwargs)
 
3710
 
 
3711
def NewFlagsProperty(*args, **kwargs):
 
3712
  """
 
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
 
3717
    """
 
3718
  return _propgrid.NewFlagsProperty(*args, **kwargs)
 
3719
 
 
3720
def NewLongStringProperty(*args, **kwargs):
 
3721
  """
 
3722
    NewLongStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3723
        String value=wxEmptyString) -> PGProperty
 
3724
    """
 
3725
  return _propgrid.NewLongStringProperty(*args, **kwargs)
 
3726
 
 
3727
def NewFileProperty(*args, **kwargs):
 
3728
  """
 
3729
    NewFileProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3730
        String value=wxEmptyString) -> PGProperty
 
3731
    """
 
3732
  return _propgrid.NewFileProperty(*args, **kwargs)
 
3733
 
 
3734
def NewDirProperty(*args, **kwargs):
 
3735
  """
 
3736
    NewDirProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3737
        String value=wxEmptyString) -> PGProperty
 
3738
    """
 
3739
  return _propgrid.NewDirProperty(*args, **kwargs)
 
3740
 
 
3741
def NewArrayStringProperty(*args, **kwargs):
 
3742
  """
 
3743
    NewArrayStringProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3744
        wxArrayString value=wxArrayString()) -> PGProperty
 
3745
    """
 
3746
  return _propgrid.NewArrayStringProperty(*args, **kwargs)
 
3747
 
 
3748
def NewFontProperty(*args, **kwargs):
 
3749
  """
 
3750
    NewFontProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3751
        Font value=wxFont()) -> PGProperty
 
3752
    """
 
3753
  return _propgrid.NewFontProperty(*args, **kwargs)
 
3754
 
 
3755
def NewSystemColourProperty(*args, **kwargs):
 
3756
  """
 
3757
    NewSystemColourProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3758
        ColourPropertyValue value=wxColourPropertyValue()) -> PGProperty
 
3759
    """
 
3760
  return _propgrid.NewSystemColourProperty(*args, **kwargs)
 
3761
 
 
3762
def NewColourProperty(*args, **kwargs):
 
3763
  """
 
3764
    NewColourProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3765
        Colour value=wxColour()) -> PGProperty
 
3766
    """
 
3767
  return _propgrid.NewColourProperty(*args, **kwargs)
 
3768
 
 
3769
def NewCursorProperty(*args, **kwargs):
 
3770
  """
 
3771
    NewCursorProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3772
        int value=0) -> PGProperty
 
3773
    """
 
3774
  return _propgrid.NewCursorProperty(*args, **kwargs)
 
3775
 
 
3776
def NewImageFileProperty(*args, **kwargs):
 
3777
  """
 
3778
    NewImageFileProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3779
        String value=wxEmptyString) -> PGProperty
 
3780
    """
 
3781
  return _propgrid.NewImageFileProperty(*args, **kwargs)
 
3782
 
 
3783
def NewMultiChoiceProperty(*args, **kwargs):
 
3784
  """
 
3785
    NewMultiChoiceProperty(String label, String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3786
        wxArrayString choices=wxArrayString(), 
 
3787
        wxArrayString value=wxArrayString()) -> PGProperty
 
3788
    """
 
3789
  return _propgrid.NewMultiChoiceProperty(*args, **kwargs)
 
3790
 
 
3791
def NewDateProperty(*args, **kwargs):
 
3792
  """
 
3793
    NewDateProperty(String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3794
        DateTime value=wxDateTime()) -> PGProperty
 
3795
    """
 
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): 
 
3802
        """
 
3803
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3804
            double value=0.0) -> PyFloatProperty
 
3805
        """
 
3806
        _propgrid.PyFloatProperty_swiginit(self,_propgrid.new_PyFloatProperty(*args, **kwargs))
 
3807
        self._SetSelf(self); self._RegisterMethods()
 
3808
 
 
3809
    def CallSuperMethod(self, *args, **kwargs):
 
3810
        funcname = args[0]
 
3811
        args2 = list(args)
 
3812
        args2[0] = self
 
3813
        self._super_call = True
 
3814
        try:
 
3815
            res = getattr(PyFloatProperty, funcname)(*args2, **kwargs)
 
3816
        finally:
 
3817
            del self._super_call
 
3818
        return res
 
3819
 
 
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()]
 
3825
            for a, b in ls:
 
3826
                if not a.startswith('_'):
 
3827
                    setattr(cls, '%s_t_'%a, b)
 
3828
 
 
3829
    def _SetSelf(*args, **kwargs):
 
3830
        """_SetSelf(self, PyObject self)"""
 
3831
        return _propgrid.PyFloatProperty__SetSelf(*args, **kwargs)
 
3832
 
 
3833
_propgrid.PyFloatProperty_swigregister(PyFloatProperty)
 
3834
 
 
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()
 
3843
 
 
3844
    def CallSuperMethod(self, *args, **kwargs):
 
3845
        funcname = args[0]
 
3846
        args2 = list(args)
 
3847
        args2[0] = self
 
3848
        self._super_call = True
 
3849
        try:
 
3850
            res = getattr(PyEditorDialogAdapter, funcname)(*args2, **kwargs)
 
3851
        finally:
 
3852
            del self._super_call
 
3853
        return res
 
3854
 
 
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()]
 
3860
            for a, b in ls:
 
3861
                if not a.startswith('_'):
 
3862
                    setattr(cls, '%s_t_'%a, b)
 
3863
 
 
3864
    def _SetSelf(*args, **kwargs):
 
3865
        """_SetSelf(self, PyObject self)"""
 
3866
        return _propgrid.PyEditorDialogAdapter__SetSelf(*args, **kwargs)
 
3867
 
 
3868
_propgrid.PyEditorDialogAdapter_swigregister(PyEditorDialogAdapter)
 
3869
 
 
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): 
 
3875
        """
 
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
 
3880
        """
 
3881
        _propgrid.PyEnumProperty_swiginit(self,_propgrid.new_PyEnumProperty(*args, **kwargs))
 
3882
        self._SetSelf(self); self._RegisterMethods()
 
3883
 
 
3884
    def CallSuperMethod(self, *args, **kwargs):
 
3885
        funcname = args[0]
 
3886
        args2 = list(args)
 
3887
        args2[0] = self
 
3888
        self._super_call = True
 
3889
        try:
 
3890
            res = getattr(PyEnumProperty, funcname)(*args2, **kwargs)
 
3891
        finally:
 
3892
            del self._super_call
 
3893
        return res
 
3894
 
 
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()]
 
3900
            for a, b in ls:
 
3901
                if not a.startswith('_'):
 
3902
                    setattr(cls, '%s_t_'%a, b)
 
3903
 
 
3904
    def _SetSelf(*args, **kwargs):
 
3905
        """_SetSelf(self, PyObject self)"""
 
3906
        return _propgrid.PyEnumProperty__SetSelf(*args, **kwargs)
 
3907
 
 
3908
_propgrid.PyEnumProperty_swigregister(PyEnumProperty)
 
3909
 
 
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): 
 
3915
        """
 
3916
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
3917
            wxArrayString value=wxArrayString()) -> PyArrayStringProperty
 
3918
        """
 
3919
        _propgrid.PyArrayStringProperty_swiginit(self,_propgrid.new_PyArrayStringProperty(*args, **kwargs))
 
3920
        self._SetSelf(self); self._RegisterMethods()
 
3921
 
 
3922
    def CallSuperMethod(self, *args, **kwargs):
 
3923
        funcname = args[0]
 
3924
        args2 = list(args)
 
3925
        args2[0] = self
 
3926
        self._super_call = True
 
3927
        try:
 
3928
            res = getattr(PyArrayStringProperty, funcname)(*args2, **kwargs)
 
3929
        finally:
 
3930
            del self._super_call
 
3931
        return res
 
3932
 
 
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()]
 
3938
            for a, b in ls:
 
3939
                if not a.startswith('_'):
 
3940
                    setattr(cls, '%s_t_'%a, b)
 
3941
 
 
3942
    def _SetSelf(*args, **kwargs):
 
3943
        """_SetSelf(self, PyObject self)"""
 
3944
        return _propgrid.PyArrayStringProperty__SetSelf(*args, **kwargs)
 
3945
 
 
3946
_propgrid.PyArrayStringProperty_swigregister(PyArrayStringProperty)
 
3947
 
 
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()
 
3956
 
 
3957
    def CallSuperMethod(self, *args, **kwargs):
 
3958
        funcname = args[0]
 
3959
        args2 = list(args)
 
3960
        args2[0] = self
 
3961
        self._super_call = True
 
3962
        try:
 
3963
            res = getattr(PyComboBoxEditor, funcname)(*args2, **kwargs)
 
3964
        finally:
 
3965
            del self._super_call
 
3966
        return res
 
3967
 
 
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()]
 
3973
            for a, b in ls:
 
3974
                if not a.startswith('_'):
 
3975
                    setattr(cls, '%s_t_'%a, b)
 
3976
 
 
3977
    def _SetSelf(*args, **kwargs):
 
3978
        """_SetSelf(self, PyObject self)"""
 
3979
        return _propgrid.PyComboBoxEditor__SetSelf(*args, **kwargs)
 
3980
 
 
3981
_propgrid.PyComboBoxEditor_swigregister(PyComboBoxEditor)
 
3982
 
 
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()
 
3991
 
 
3992
    def CallSuperMethod(self, *args, **kwargs):
 
3993
        funcname = args[0]
 
3994
        args2 = list(args)
 
3995
        args2[0] = self
 
3996
        self._super_call = True
 
3997
        try:
 
3998
            res = getattr(PyFileDialogAdapter, funcname)(*args2, **kwargs)
 
3999
        finally:
 
4000
            del self._super_call
 
4001
        return res
 
4002
 
 
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()]
 
4008
            for a, b in ls:
 
4009
                if not a.startswith('_'):
 
4010
                    setattr(cls, '%s_t_'%a, b)
 
4011
 
 
4012
    def _SetSelf(*args, **kwargs):
 
4013
        """_SetSelf(self, PyObject self)"""
 
4014
        return _propgrid.PyFileDialogAdapter__SetSelf(*args, **kwargs)
 
4015
 
 
4016
_propgrid.PyFileDialogAdapter_swigregister(PyFileDialogAdapter)
 
4017
 
 
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): 
 
4023
        """
 
4024
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
4025
            String value=wxEmptyString) -> PyStringProperty
 
4026
        """
 
4027
        _propgrid.PyStringProperty_swiginit(self,_propgrid.new_PyStringProperty(*args, **kwargs))
 
4028
        self._SetSelf(self); self._RegisterMethods()
 
4029
 
 
4030
    def CallSuperMethod(self, *args, **kwargs):
 
4031
        funcname = args[0]
 
4032
        args2 = list(args)
 
4033
        args2[0] = self
 
4034
        self._super_call = True
 
4035
        try:
 
4036
            res = getattr(PyStringProperty, funcname)(*args2, **kwargs)
 
4037
        finally:
 
4038
            del self._super_call
 
4039
        return res
 
4040
 
 
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()]
 
4046
            for a, b in ls:
 
4047
                if not a.startswith('_'):
 
4048
                    setattr(cls, '%s_t_'%a, b)
 
4049
 
 
4050
    def _SetSelf(*args, **kwargs):
 
4051
        """_SetSelf(self, PyObject self)"""
 
4052
        return _propgrid.PyStringProperty__SetSelf(*args, **kwargs)
 
4053
 
 
4054
_propgrid.PyStringProperty_swigregister(PyStringProperty)
 
4055
 
 
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()
 
4064
 
 
4065
    def CallSuperMethod(self, *args, **kwargs):
 
4066
        funcname = args[0]
 
4067
        args2 = list(args)
 
4068
        args2[0] = self
 
4069
        self._super_call = True
 
4070
        try:
 
4071
            res = getattr(PyLongStringDialogAdapter, funcname)(*args2, **kwargs)
 
4072
        finally:
 
4073
            del self._super_call
 
4074
        return res
 
4075
 
 
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()]
 
4081
            for a, b in ls:
 
4082
                if not a.startswith('_'):
 
4083
                    setattr(cls, '%s_t_'%a, b)
 
4084
 
 
4085
    def _SetSelf(*args, **kwargs):
 
4086
        """_SetSelf(self, PyObject self)"""
 
4087
        return _propgrid.PyLongStringDialogAdapter__SetSelf(*args, **kwargs)
 
4088
 
 
4089
_propgrid.PyLongStringDialogAdapter_swigregister(PyLongStringDialogAdapter)
 
4090
 
 
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): 
 
4096
        """
 
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
 
4106
        """
 
4107
        _propgrid.PyEditEnumProperty_swiginit(self,_propgrid.new_PyEditEnumProperty(*args))
 
4108
        self._SetSelf(self); self._RegisterMethods()
 
4109
 
 
4110
    def CallSuperMethod(self, *args, **kwargs):
 
4111
        funcname = args[0]
 
4112
        args2 = list(args)
 
4113
        args2[0] = self
 
4114
        self._super_call = True
 
4115
        try:
 
4116
            res = getattr(PyEditEnumProperty, funcname)(*args2, **kwargs)
 
4117
        finally:
 
4118
            del self._super_call
 
4119
        return res
 
4120
 
 
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()]
 
4126
            for a, b in ls:
 
4127
                if not a.startswith('_'):
 
4128
                    setattr(cls, '%s_t_'%a, b)
 
4129
 
 
4130
    def _SetSelf(*args, **kwargs):
 
4131
        """_SetSelf(self, PyObject self)"""
 
4132
        return _propgrid.PyEditEnumProperty__SetSelf(*args, **kwargs)
 
4133
 
 
4134
_propgrid.PyEditEnumProperty_swigregister(PyEditEnumProperty)
 
4135
 
 
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()
 
4144
 
 
4145
    def CallSuperMethod(self, *args, **kwargs):
 
4146
        funcname = args[0]
 
4147
        args2 = list(args)
 
4148
        args2[0] = self
 
4149
        self._super_call = True
 
4150
        try:
 
4151
            res = getattr(PyTextCtrlEditor, funcname)(*args2, **kwargs)
 
4152
        finally:
 
4153
            del self._super_call
 
4154
        return res
 
4155
 
 
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()]
 
4161
            for a, b in ls:
 
4162
                if not a.startswith('_'):
 
4163
                    setattr(cls, '%s_t_'%a, b)
 
4164
 
 
4165
    def _SetSelf(*args, **kwargs):
 
4166
        """_SetSelf(self, PyObject self)"""
 
4167
        return _propgrid.PyTextCtrlEditor__SetSelf(*args, **kwargs)
 
4168
 
 
4169
_propgrid.PyTextCtrlEditor_swigregister(PyTextCtrlEditor)
 
4170
 
 
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): 
 
4176
        """
 
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
 
4183
        """
 
4184
        _propgrid.PySystemColourProperty_swiginit(self,_propgrid.new_PySystemColourProperty(*args))
 
4185
        self._SetSelf(self); self._RegisterMethods()
 
4186
 
 
4187
    def CallSuperMethod(self, *args, **kwargs):
 
4188
        funcname = args[0]
 
4189
        args2 = list(args)
 
4190
        args2[0] = self
 
4191
        self._super_call = True
 
4192
        try:
 
4193
            res = getattr(PySystemColourProperty, funcname)(*args2, **kwargs)
 
4194
        finally:
 
4195
            del self._super_call
 
4196
        return res
 
4197
 
 
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()]
 
4203
            for a, b in ls:
 
4204
                if not a.startswith('_'):
 
4205
                    setattr(cls, '%s_t_'%a, b)
 
4206
 
 
4207
    def _SetSelf(*args, **kwargs):
 
4208
        """_SetSelf(self, PyObject self)"""
 
4209
        return _propgrid.PySystemColourProperty__SetSelf(*args, **kwargs)
 
4210
 
 
4211
_propgrid.PySystemColourProperty_swigregister(PySystemColourProperty)
 
4212
 
 
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): 
 
4218
        """
 
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
 
4223
        """
 
4224
        _propgrid.PyFlagsProperty_swiginit(self,_propgrid.new_PyFlagsProperty(*args, **kwargs))
 
4225
        self._SetSelf(self); self._RegisterMethods()
 
4226
 
 
4227
    def CallSuperMethod(self, *args, **kwargs):
 
4228
        funcname = args[0]
 
4229
        args2 = list(args)
 
4230
        args2[0] = self
 
4231
        self._super_call = True
 
4232
        try:
 
4233
            res = getattr(PyFlagsProperty, funcname)(*args2, **kwargs)
 
4234
        finally:
 
4235
            del self._super_call
 
4236
        return res
 
4237
 
 
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()]
 
4243
            for a, b in ls:
 
4244
                if not a.startswith('_'):
 
4245
                    setattr(cls, '%s_t_'%a, b)
 
4246
 
 
4247
    def _SetSelf(*args, **kwargs):
 
4248
        """_SetSelf(self, PyObject self)"""
 
4249
        return _propgrid.PyFlagsProperty__SetSelf(*args, **kwargs)
 
4250
 
 
4251
_propgrid.PyFlagsProperty_swigregister(PyFlagsProperty)
 
4252
 
 
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): 
 
4258
        """
 
4259
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
4260
            Font value=wxFont()) -> PyFontProperty
 
4261
        """
 
4262
        _propgrid.PyFontProperty_swiginit(self,_propgrid.new_PyFontProperty(*args, **kwargs))
 
4263
        self._SetSelf(self); self._RegisterMethods()
 
4264
 
 
4265
    def CallSuperMethod(self, *args, **kwargs):
 
4266
        funcname = args[0]
 
4267
        args2 = list(args)
 
4268
        args2[0] = self
 
4269
        self._super_call = True
 
4270
        try:
 
4271
            res = getattr(PyFontProperty, funcname)(*args2, **kwargs)
 
4272
        finally:
 
4273
            del self._super_call
 
4274
        return res
 
4275
 
 
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()]
 
4281
            for a, b in ls:
 
4282
                if not a.startswith('_'):
 
4283
                    setattr(cls, '%s_t_'%a, b)
 
4284
 
 
4285
    def _SetSelf(*args, **kwargs):
 
4286
        """_SetSelf(self, PyObject self)"""
 
4287
        return _propgrid.PyFontProperty__SetSelf(*args, **kwargs)
 
4288
 
 
4289
_propgrid.PyFontProperty_swigregister(PyFontProperty)
 
4290
 
 
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): 
 
4296
        """
 
4297
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
4298
            Colour value=*wxWHITE) -> PyColourProperty
 
4299
        """
 
4300
        _propgrid.PyColourProperty_swiginit(self,_propgrid.new_PyColourProperty(*args, **kwargs))
 
4301
        self._SetSelf(self); self._RegisterMethods()
 
4302
 
 
4303
    def CallSuperMethod(self, *args, **kwargs):
 
4304
        funcname = args[0]
 
4305
        args2 = list(args)
 
4306
        args2[0] = self
 
4307
        self._super_call = True
 
4308
        try:
 
4309
            res = getattr(PyColourProperty, funcname)(*args2, **kwargs)
 
4310
        finally:
 
4311
            del self._super_call
 
4312
        return res
 
4313
 
 
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()]
 
4319
            for a, b in ls:
 
4320
                if not a.startswith('_'):
 
4321
                    setattr(cls, '%s_t_'%a, b)
 
4322
 
 
4323
    def _SetSelf(*args, **kwargs):
 
4324
        """_SetSelf(self, PyObject self)"""
 
4325
        return _propgrid.PyColourProperty__SetSelf(*args, **kwargs)
 
4326
 
 
4327
_propgrid.PyColourProperty_swigregister(PyColourProperty)
 
4328
 
 
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): 
 
4334
        """
 
4335
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
4336
            String value=wxEmptyString) -> PyFileProperty
 
4337
        """
 
4338
        _propgrid.PyFileProperty_swiginit(self,_propgrid.new_PyFileProperty(*args, **kwargs))
 
4339
        self._SetSelf(self); self._RegisterMethods()
 
4340
 
 
4341
    def CallSuperMethod(self, *args, **kwargs):
 
4342
        funcname = args[0]
 
4343
        args2 = list(args)
 
4344
        args2[0] = self
 
4345
        self._super_call = True
 
4346
        try:
 
4347
            res = getattr(PyFileProperty, funcname)(*args2, **kwargs)
 
4348
        finally:
 
4349
            del self._super_call
 
4350
        return res
 
4351
 
 
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()]
 
4357
            for a, b in ls:
 
4358
                if not a.startswith('_'):
 
4359
                    setattr(cls, '%s_t_'%a, b)
 
4360
 
 
4361
    def _SetSelf(*args, **kwargs):
 
4362
        """_SetSelf(self, PyObject self)"""
 
4363
        return _propgrid.PyFileProperty__SetSelf(*args, **kwargs)
 
4364
 
 
4365
_propgrid.PyFileProperty_swigregister(PyFileProperty)
 
4366
 
 
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): 
 
4372
        """
 
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
 
4376
        """
 
4377
        _propgrid.PyIntProperty_swiginit(self,_propgrid.new_PyIntProperty(*args))
 
4378
        self._SetSelf(self); self._RegisterMethods()
 
4379
 
 
4380
    def CallSuperMethod(self, *args, **kwargs):
 
4381
        funcname = args[0]
 
4382
        args2 = list(args)
 
4383
        args2[0] = self
 
4384
        self._super_call = True
 
4385
        try:
 
4386
            res = getattr(PyIntProperty, funcname)(*args2, **kwargs)
 
4387
        finally:
 
4388
            del self._super_call
 
4389
        return res
 
4390
 
 
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()]
 
4396
            for a, b in ls:
 
4397
                if not a.startswith('_'):
 
4398
                    setattr(cls, '%s_t_'%a, b)
 
4399
 
 
4400
    def _SetSelf(*args, **kwargs):
 
4401
        """_SetSelf(self, PyObject self)"""
 
4402
        return _propgrid.PyIntProperty__SetSelf(*args, **kwargs)
 
4403
 
 
4404
_propgrid.PyIntProperty_swigregister(PyIntProperty)
 
4405
 
 
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()
 
4414
 
 
4415
    def CallSuperMethod(self, *args, **kwargs):
 
4416
        funcname = args[0]
 
4417
        args2 = list(args)
 
4418
        args2[0] = self
 
4419
        self._super_call = True
 
4420
        try:
 
4421
            res = getattr(PyEditor, funcname)(*args2, **kwargs)
 
4422
        finally:
 
4423
            del self._super_call
 
4424
        return res
 
4425
 
 
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()]
 
4431
            for a, b in ls:
 
4432
                if not a.startswith('_'):
 
4433
                    setattr(cls, '%s_t_'%a, b)
 
4434
 
 
4435
    def _SetSelf(*args, **kwargs):
 
4436
        """_SetSelf(self, PyObject self)"""
 
4437
        return _propgrid.PyEditor__SetSelf(*args, **kwargs)
 
4438
 
 
4439
_propgrid.PyEditor_swigregister(PyEditor)
 
4440
 
 
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()
 
4449
 
 
4450
    def CallSuperMethod(self, *args, **kwargs):
 
4451
        funcname = args[0]
 
4452
        args2 = list(args)
 
4453
        args2[0] = self
 
4454
        self._super_call = True
 
4455
        try:
 
4456
            res = getattr(PyChoiceEditor, funcname)(*args2, **kwargs)
 
4457
        finally:
 
4458
            del self._super_call
 
4459
        return res
 
4460
 
 
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()]
 
4466
            for a, b in ls:
 
4467
                if not a.startswith('_'):
 
4468
                    setattr(cls, '%s_t_'%a, b)
 
4469
 
 
4470
    def _SetSelf(*args, **kwargs):
 
4471
        """_SetSelf(self, PyObject self)"""
 
4472
        return _propgrid.PyChoiceEditor__SetSelf(*args, **kwargs)
 
4473
 
 
4474
_propgrid.PyChoiceEditor_swigregister(PyChoiceEditor)
 
4475
 
 
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): 
 
4481
        """
 
4482
        __init__(self) -> PyProperty
 
4483
        __init__(self, String label, String name) -> PyProperty
 
4484
        """
 
4485
        _propgrid.PyProperty_swiginit(self,_propgrid.new_PyProperty(*args))
 
4486
        self._SetSelf(self); self._RegisterMethods()
 
4487
 
 
4488
    def CallSuperMethod(self, *args, **kwargs):
 
4489
        funcname = args[0]
 
4490
        args2 = list(args)
 
4491
        args2[0] = self
 
4492
        self._super_call = True
 
4493
        try:
 
4494
            res = getattr(PyProperty, funcname)(*args2, **kwargs)
 
4495
        finally:
 
4496
            del self._super_call
 
4497
        return res
 
4498
 
 
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()]
 
4504
            for a, b in ls:
 
4505
                if not a.startswith('_'):
 
4506
                    setattr(cls, '%s_t_'%a, b)
 
4507
 
 
4508
    def _SetSelf(*args, **kwargs):
 
4509
        """_SetSelf(self, PyObject self)"""
 
4510
        return _propgrid.PyProperty__SetSelf(*args, **kwargs)
 
4511
 
 
4512
_propgrid.PyProperty_swigregister(PyProperty)
 
4513
 
 
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): 
 
4519
        """
 
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
 
4523
        """
 
4524
        _propgrid.PyUIntProperty_swiginit(self,_propgrid.new_PyUIntProperty(*args))
 
4525
        self._SetSelf(self); self._RegisterMethods()
 
4526
 
 
4527
    def CallSuperMethod(self, *args, **kwargs):
 
4528
        funcname = args[0]
 
4529
        args2 = list(args)
 
4530
        args2[0] = self
 
4531
        self._super_call = True
 
4532
        try:
 
4533
            res = getattr(PyUIntProperty, funcname)(*args2, **kwargs)
 
4534
        finally:
 
4535
            del self._super_call
 
4536
        return res
 
4537
 
 
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()]
 
4543
            for a, b in ls:
 
4544
                if not a.startswith('_'):
 
4545
                    setattr(cls, '%s_t_'%a, b)
 
4546
 
 
4547
    def _SetSelf(*args, **kwargs):
 
4548
        """_SetSelf(self, PyObject self)"""
 
4549
        return _propgrid.PyUIntProperty__SetSelf(*args, **kwargs)
 
4550
 
 
4551
_propgrid.PyUIntProperty_swigregister(PyUIntProperty)
 
4552
 
 
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): 
 
4558
        """
 
4559
        __init__(self, String label=(*wxPGProperty::sm_wxPG_LABEL), String name=(*wxPGProperty::sm_wxPG_LABEL), 
 
4560
            String value=wxEmptyString) -> PyLongStringProperty
 
4561
        """
 
4562
        _propgrid.PyLongStringProperty_swiginit(self,_propgrid.new_PyLongStringProperty(*args, **kwargs))
 
4563
        self._SetSelf(self); self._RegisterMethods()
 
4564
 
 
4565
    def CallSuperMethod(self, *args, **kwargs):
 
4566
        funcname = args[0]
 
4567
        args2 = list(args)
 
4568
        args2[0] = self
 
4569
        self._super_call = True
 
4570
        try:
 
4571
            res = getattr(PyLongStringProperty, funcname)(*args2, **kwargs)
 
4572
        finally:
 
4573
            del self._super_call
 
4574
        return res
 
4575
 
 
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()]
 
4581
            for a, b in ls:
 
4582
                if not a.startswith('_'):
 
4583
                    setattr(cls, '%s_t_'%a, b)
 
4584
 
 
4585
    def _SetSelf(*args, **kwargs):
 
4586
        """_SetSelf(self, PyObject self)"""
 
4587
        return _propgrid.PyLongStringProperty__SetSelf(*args, **kwargs)
 
4588
 
 
4589
_propgrid.PyLongStringProperty_swigregister(PyLongStringProperty)
 
4590
 
 
4591
 
 
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 )
 
4609
 
 
4610
LABEL_AS_NAME = "@!"
 
4611
DEFAULT_IMAGE_SIZE = (-1,-1)
 
4612
NO_IMAGE_SIZE = (0,0)
 
4613
 
 
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"
 
4628
 
 
4629
 
 
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
 
4650
 
 
4651
 
 
4652
 
 
4653
 
 
4654
 
 
4655
 
 
4656
 
 
4657
 
 
4658