1//---------------------------------------------------------------------------
2// This file is generated by wxPython's SIP generator.  Do not edit by hand.
3//
4// Copyright: (c) 2018 by Total Control Software
5// License:   wxWindows License
6//
7// This file will be included by _propgrid.sip
8//
9//---------------------------------------------------------------------------
10
11//---------------------------------------------------------------------------
12
13const int wxPG_PROP_MAX;
14const int wxPG_PROP_PARENTAL_FLAGS;
15enum wxPGPropertyFlags
16{
17    wxPG_PROP_MODIFIED,
18    wxPG_PROP_DISABLED,
19    wxPG_PROP_HIDDEN,
20    wxPG_PROP_CUSTOMIMAGE,
21    wxPG_PROP_NOEDITOR,
22    wxPG_PROP_COLLAPSED,
23    wxPG_PROP_INVALID_VALUE,
24    wxPG_PROP_WAS_MODIFIED,
25    wxPG_PROP_AGGREGATE,
26    wxPG_PROP_CHILDREN_ARE_COPIES,
27    wxPG_PROP_PROPERTY,
28    wxPG_PROP_CATEGORY,
29    wxPG_PROP_MISC_PARENT,
30    wxPG_PROP_READONLY,
31    wxPG_PROP_COMPOSED_VALUE,
32    wxPG_PROP_USES_COMMON_VALUE,
33    wxPG_PROP_AUTO_UNSPECIFIED,
34    wxPG_PROP_CLASS_SPECIFIC_1,
35    wxPG_PROP_CLASS_SPECIFIC_2,
36    wxPG_PROP_BEING_DELETED
37};
38
39const int wxPG_CUSTOM_IMAGE_SPACINGY;
40const int wxPG_CAPRECTXMARGIN;
41const int wxPG_CAPRECTYMARGIN;
42class wxPGPaintData
43{
44    %Docstring
45        Contains information relayed to property's OnCustomPaint.
46    %End
47    %TypeHeaderCode
48        #include <wx/propgrid/property.h>
49    %End
50
51public:
52    const wxPropertyGrid * m_parent;
53
54    int m_choiceItem;
55
56    int m_drawnWidth;
57
58    int m_drawnHeight;
59
60};  // end of class wxPGPaintData
61
62
63class wxPGCellRenderer : wxRefCounter
64{
65    %Docstring
66        PGCellRenderer()
67
68        Base class for wxPropertyGrid cell renderers.
69    %End
70    %TypeHeaderCode
71        #include <wx/propgrid/property.h>
72    %End
73
74public:
75    enum
76    {
77        Selected,
78        ChoicePopup,
79        Control,
80        Disabled,
81        DontUseCellFgCol,
82        DontUseCellBgCol,
83        DontUseCellColours
84    };
85
86    wxPGCellRenderer();
87
88    virtual
89    ~wxPGCellRenderer();
90
91    virtual
92    bool Render(
93        wxDC & dc,
94        const wxRect & rect,
95        const wxPropertyGrid * propertyGrid,
96        wxPGProperty * property,
97        int column,
98        int item,
99        int flags
100    ) const = 0;
101    %Docstring
102        Render(dc, rect, propertyGrid, property, column, item, flags) -> bool
103
104        Returns true if rendered something in the foreground (text or bitmap.
105    %End
106
107    virtual
108    wxSize GetImageSize(
109        const wxPGProperty * property,
110        int column,
111        int item
112    ) const;
113    %Docstring
114        GetImageSize(property, column, item) -> wx.Size
115
116        Returns size of the image in front of the editable area.
117    %End
118
119    virtual
120    void DrawCaptionSelectionRect(
121        wxDC & dc,
122        int x,
123        int y,
124        int w,
125        int h
126    ) const;
127    %Docstring
128        DrawCaptionSelectionRect(dc, x, y, w, h)
129
130        Paints property category selection rectangle.
131    %End
132
133    void DrawText(
134        wxDC & dc,
135        const wxRect & rect,
136        int imageWidth,
137        const wxString & text
138    ) const;
139    %Docstring
140        DrawText(dc, rect, imageWidth, text)
141
142        Utility to draw vertically centered text.
143    %End
144
145    void DrawEditorValue(
146        wxDC & dc,
147        const wxRect & rect,
148        int xOffset,
149        const wxString & text,
150        wxPGProperty * property,
151        const wxPGEditor * editor
152    ) const;
153    %Docstring
154        DrawEditorValue(dc, rect, xOffset, text, property, editor)
155
156        Utility to draw editor's value, or vertically aligned text if editor
157        is NULL.
158    %End
159
160    int PreDrawCell(
161        wxDC & dc,
162        const wxRect & rect,
163        const wxPGCell & cell,
164        int flags
165    ) const;
166    %Docstring
167        PreDrawCell(dc, rect, cell, flags) -> int
168
169        Utility to render cell bitmap and set text colour plus bg brush
170        colour.
171    %End
172
173    void PostDrawCell(
174        wxDC & dc,
175        const wxPropertyGrid * propGrid,
176        const wxPGCell & cell,
177        int flags
178    ) const;
179    %Docstring
180        PostDrawCell(dc, propGrid, cell, flags)
181
182        Utility to be called after drawing is done, to revert whatever changes
183        PreDrawCell() did.
184    %End
185
186};  // end of class wxPGCellRenderer
187
188
189class wxPGDefaultRenderer : wxPGCellRenderer
190{
191    %Docstring
192        Default cell renderer, that can handles the common scenarios.
193    %End
194    %TypeHeaderCode
195        #include <wx/propgrid/property.h>
196    %End
197
198public:
199    virtual
200    bool Render(
201        wxDC & dc,
202        const wxRect & rect,
203        const wxPropertyGrid * propertyGrid,
204        wxPGProperty * property,
205        int column,
206        int item,
207        int flags
208    ) const;
209    %Docstring
210        Render(dc, rect, propertyGrid, property, column, item, flags) -> bool
211
212        Returns true if rendered something in the foreground (text or bitmap.
213    %End
214
215    virtual
216    wxSize GetImageSize(
217        const wxPGProperty * property,
218        int column,
219        int item
220    ) const;
221    %Docstring
222        GetImageSize(property, column, item) -> wx.Size
223
224        Returns size of the image in front of the editable area.
225    %End
226
227};  // end of class wxPGDefaultRenderer
228
229
230class wxPGCellData : wxRefCounter
231{
232    %Docstring
233        PGCellData()
234    %End
235    %TypeHeaderCode
236        #include <wx/propgrid/property.h>
237    %End
238
239public:
240    wxPGCellData();
241
242    void SetText(
243        const wxString & text
244    );
245    %Docstring
246        SetText(text)
247    %End
248
249    void SetBitmap(
250        const wxBitmap & bitmap
251    );
252    %Docstring
253        SetBitmap(bitmap)
254    %End
255
256    void SetFgCol(
257        const wxColour & col
258    );
259    %Docstring
260        SetFgCol(col)
261    %End
262
263    void SetBgCol(
264        const wxColour & col
265    );
266    %Docstring
267        SetBgCol(col)
268    %End
269
270    void SetFont(
271        const wxFont & font
272    );
273    %Docstring
274        SetFont(font)
275    %End
276
277    public:
278
279
280
281protected:
282    virtual
283    ~wxPGCellData();
284
285};  // end of class wxPGCellData
286
287
288class wxPGCell : wxObject
289{
290    %Docstring
291        PGCell()
292        PGCell(other)
293        PGCell(text, bitmap=wx.NullBitmap, fgCol=wx.NullColour, bgCol=wx.NullColour)
294
295        Base class for wxPropertyGrid cell information.
296    %End
297    %TypeHeaderCode
298        #include <wx/propgrid/property.h>
299    %End
300
301public:
302    wxPGCell();
303
304    wxPGCell(
305        const wxPGCell & other
306    );
307
308    wxPGCell(
309        const wxString & text,
310        const wxBitmap & bitmap = wxNullBitmap,
311        const wxColour & fgCol = wxNullColour,
312        const wxColour & bgCol = wxNullColour
313    );
314
315    virtual
316    ~wxPGCell();
317
318    const wxPGCellData * GetData() const;
319    %Docstring
320        GetData() -> PGCellData
321    %End
322
323    bool HasText() const;
324    %Docstring
325        HasText() -> bool
326
327        Returns true if this cell has custom text stored within.
328    %End
329
330    void MergeFrom(
331        const wxPGCell & srcCell
332    );
333    %Docstring
334        MergeFrom(srcCell)
335
336        Merges valid data from srcCell into this.
337    %End
338
339    void SetText(
340        const wxString & text
341    );
342    %Docstring
343        SetText(text)
344    %End
345
346    void SetBitmap(
347        const wxBitmap & bitmap
348    );
349    %Docstring
350        SetBitmap(bitmap)
351    %End
352
353    void SetFgCol(
354        const wxColour & col
355    );
356    %Docstring
357        SetFgCol(col)
358    %End
359
360    void SetFont(
361        const wxFont & font
362    );
363    %Docstring
364        SetFont(font)
365
366        Sets font of the cell.
367    %End
368
369    void SetBgCol(
370        const wxColour & col
371    );
372    %Docstring
373        SetBgCol(col)
374    %End
375
376    const wxString & GetText() const;
377    %Docstring
378        GetText() -> String
379    %End
380
381    const wxBitmap & GetBitmap() const;
382    %Docstring
383        GetBitmap() -> wx.Bitmap
384    %End
385
386    const wxColour & GetFgCol() const;
387    %Docstring
388        GetFgCol() -> wx.Colour
389    %End
390
391    const wxFont & GetFont() const;
392    %Docstring
393        GetFont() -> wx.Font
394
395        Returns font of the cell.
396    %End
397
398    const wxColour & GetBgCol() const;
399    %Docstring
400        GetBgCol() -> wx.Colour
401    %End
402
403    public:
404
405
406    %Property(name=BgCol, get=GetBgCol, set=SetBgCol)
407    %Property(name=Bitmap, get=GetBitmap, set=SetBitmap)
408    %Property(name=Data, get=GetData)
409    %Property(name=FgCol, get=GetFgCol, set=SetFgCol)
410    %Property(name=Font, get=GetFont, set=SetFont)
411    %Property(name=Text, get=GetText, set=SetText)
412};  // end of class wxPGCell
413
414
415class wxPGProperty : wxObject
416{
417    %Docstring
418        PGProperty()
419        PGProperty(label, name)
420
421        wxPGProperty is base class for all wxPropertyGrid properties.
422    %End
423    %TypeHeaderCode
424        #include <wx/propgrid/property.h>
425    %End
426
427public:
428    wxPGProperty();
429
430    wxPGProperty(
431        const wxString & label,
432        const wxString & name
433    );
434
435    virtual
436    ~wxPGProperty();
437
438    typedef wxUint32 FlagType;
439
440    void * m_clientData;
441
442    virtual
443    void OnSetValue();
444    %Docstring
445        OnSetValue()
446
447        This virtual function is called after m_value has been set.
448    %End
449
450    virtual
451    wxPGVariant DoGetValue() const;
452    %Docstring
453        DoGetValue() -> PGVariant
454
455        Override this to return something else than m_value as the value.
456    %End
457
458    virtual
459    bool ValidateValue(
460        wxPGVariant & value,
461        wxPGValidationInfo & validationInfo
462    ) const;
463    %Docstring
464        ValidateValue(value, validationInfo) -> bool
465
466        Implement this function in derived class to check the value.
467    %End
468
469    virtual
470    bool StringToValue(
471        wxPGVariant & variant   /Out/,
472        const wxString & text,
473        int argFlags = 0
474    ) const;
475    %Docstring
476        StringToValue(text, argFlags=0) -> (bool, variant)
477
478        Converts text into wxVariant value appropriate for this property.
479    %End
480
481    virtual
482    bool IntToValue(
483        wxPGVariant & variant   /Out/,
484        int number,
485        int argFlags = 0
486    ) const;
487    %Docstring
488        IntToValue(number, argFlags=0) -> (bool, variant)
489
490        Converts integer (possibly a choice selection) into wxVariant value
491        appropriate for this property.
492    %End
493
494    virtual
495    wxString ValueToString(
496        wxPGVariant & value,
497        int argFlags = 0
498    ) const;
499    %Docstring
500        ValueToString(value, argFlags=0) -> String
501
502        Converts property value into a text representation.
503    %End
504
505    bool SetValueFromString(
506        const wxString & text,
507        int flags = 0
508    );
509    %Docstring
510        SetValueFromString(text, flags=0) -> bool
511
512        Converts string to a value, and if successful, calls SetValue() on it.
513    %End
514
515    bool SetValueFromInt(
516        long value,
517        int flags = 0
518    );
519    %Docstring
520        SetValueFromInt(value, flags=0) -> bool
521
522        Converts integer to a value, and if successful, calls SetValue() on
523        it.
524    %End
525
526    virtual
527    wxSize OnMeasureImage(
528        int item = -1
529    ) const;
530    %Docstring
531        OnMeasureImage(item=-1) -> wx.Size
532
533        Returns size of the custom painted image in front of property.
534    %End
535
536    virtual
537    bool OnEvent(
538        wxPropertyGrid * propgrid,
539        wxWindow * wnd_primary,
540        wxEvent & event
541    );
542    %Docstring
543        OnEvent(propgrid, wnd_primary, event) -> bool
544
545        Events received by editor widgets are processed here.
546    %End
547
548    virtual
549    wxPGVariant ChildChanged(
550        wxPGVariant & thisValue,
551        int childIndex,
552        wxPGVariant & childValue
553    ) const;
554    %Docstring
555        ChildChanged(thisValue, childIndex, childValue) -> PGVariant
556
557        Called after value of a child property has been altered.
558    %End
559
560    virtual
561    const wxPGEditor * DoGetEditorClass() const;
562    %Docstring
563        DoGetEditorClass() -> PGEditor
564
565        Returns pointer to an instance of used editor.
566    %End
567
568    virtual
569    wxValidator * DoGetValidator() const;
570    %Docstring
571        DoGetValidator() -> wx.Validator
572
573        Returns pointer to the wxValidator that should be used with the editor
574        of this property (NULL for no validator).
575    %End
576
577    virtual
578    void OnCustomPaint(
579        wxDC & dc,
580        const wxRect & rect,
581        wxPGPaintData & paintdata
582    );
583    %Docstring
584        OnCustomPaint(dc, rect, paintdata)
585
586        Override to paint an image in front of the property value text or
587        drop-down list item (but only if wxPGProperty::OnMeasureImage is
588        overridden as well).
589    %End
590
591    virtual
592    wxPGCellRenderer * GetCellRenderer(
593        int column
594    ) const;
595    %Docstring
596        GetCellRenderer(column) -> PGCellRenderer
597
598        Returns used wxPGCellRenderer instance for given property column
599        (label=0, value=1).
600    %End
601
602    virtual
603    int GetChoiceSelection() const;
604    %Docstring
605        GetChoiceSelection() -> int
606
607        Returns which choice is currently selected.
608    %End
609
610    virtual
611    void RefreshChildren();
612    %Docstring
613        RefreshChildren()
614
615        Refresh values of child properties.
616    %End
617
618    virtual
619    bool DoSetAttribute(
620        const wxString & name,
621        wxPGVariant & value
622    );
623    %Docstring
624        DoSetAttribute(name, value) -> bool
625
626        Reimplement this member function to add special handling for
627        attributes of this property.
628    %End
629
630    virtual
631    wxPGVariant DoGetAttribute(
632        const wxString & name
633    ) const;
634    %Docstring
635        DoGetAttribute(name) -> PGVariant
636
637        Returns value of an attribute.
638    %End
639
640    virtual
641    wxPGEditorDialogAdapter * GetEditorDialog() const   /Factory/;
642    %Docstring
643        GetEditorDialog() -> PGEditorDialogAdapter
644
645        Returns instance of a new wxPGEditorDialogAdapter instance, which is
646        used when user presses the (optional) button next to the editor
647        control;.
648    %End
649
650    virtual
651    void OnValidationFailure(
652        wxPGVariant & pendingValue
653    );
654    %Docstring
655        OnValidationFailure(pendingValue)
656
657        Called whenever validation has failed with given pending value.
658    %End
659
660    int AddChoice(
661        const wxString & label,
662        int value = wxPG_INVALID_VALUE
663    );
664    %Docstring
665        AddChoice(label, value=PG_INVALID_VALUE) -> int
666
667        Append a new choice to property's list of choices.
668    %End
669
670    void AddChild(
671        wxPGProperty * prop   /Transfer/
672    )   /Deprecated/;
673    %Docstring
674        AddChild(prop)
675
676        Adds a private child property.
677    %End
678
679    void AddPrivateChild(
680        wxPGProperty * prop   /Transfer/
681    );
682    %Docstring
683        AddPrivateChild(prop)
684
685        Adds a private child property.
686    %End
687
688    void AdaptListToValue(
689        wxPGVariant & list,
690        wxPGVariant * value
691    ) const;
692    %Docstring
693        AdaptListToValue(list, value)
694
695        Adapts list variant into proper value using consecutive ChildChanged()
696        calls.
697    %End
698
699    wxPGProperty * AppendChild(
700        wxPGProperty * childProperty
701    );
702    %Docstring
703        AppendChild(childProperty) -> PGProperty
704
705        Use this member function to add independent (ie.
706    %End
707
708    bool AreAllChildrenSpecified(
709        wxPGVariant * pendingList = NULL
710    ) const;
711    %Docstring
712        AreAllChildrenSpecified(pendingList=None) -> bool
713
714        Determines, recursively, if all children are not unspecified.
715    %End
716
717    bool AreChildrenComponents() const;
718    %Docstring
719        AreChildrenComponents() -> bool
720
721        Returns true if children of this property are component values (for
722        instance, points size, face name, and is_underlined are component
723        values of a font).
724    %End
725
726    void ChangeFlag(
727        wxPGPropertyFlags flag,
728        bool set
729    );
730    %Docstring
731        ChangeFlag(flag, set)
732
733        Sets or clears given property flag.
734    %End
735
736    void DeleteChildren();
737    %Docstring
738        DeleteChildren()
739
740        Deletes children of the property.
741    %End
742
743    void DeleteChoice(
744        int index
745    );
746    %Docstring
747        DeleteChoice(index)
748
749        Removes entry from property's wxPGChoices and editor control (if it is
750        active).
751    %End
752
753    void Enable(
754        bool enable = true
755    );
756    %Docstring
757        Enable(enable=True)
758
759        Enables or disables the property.
760    %End
761
762    void EnableCommonValue(
763        bool enable = true
764    );
765    %Docstring
766        EnableCommonValue(enable=True)
767
768        Call to enable or disable usage of common value (integer value that
769        can be selected for properties instead of their normal values) for
770        this property.
771    %End
772
773    wxString GenerateComposedValue() const;
774    %Docstring
775        GenerateComposedValue() -> String
776
777        Composes text from values of child properties.
778    %End
779
780    wxPGVariant GetAttribute(
781        const wxString & name
782    ) const;
783    %Docstring
784        GetAttribute(name) -> PGVariant
785        GetAttribute(name, defVal) -> String
786
787        Returns property attribute value, null variant if not found.
788    %End
789
790    wxString GetAttribute(
791        const wxString & name,
792        const wxString & defVal
793    ) const;
794
795    long GetAttributeAsLong(
796        const wxString & name,
797        long defVal
798    ) const;
799    %Docstring
800        GetAttributeAsLong(name, defVal) -> long
801
802        Returns named attribute, as long, if found.
803    %End
804
805    double GetAttributeAsDouble(
806        const wxString & name,
807        double defVal
808    ) const;
809    %Docstring
810        GetAttributeAsDouble(name, defVal) -> double
811
812        Returns named attribute, as double, if found.
813    %End
814
815    wxPGVariant GetAttributesAsList() const;
816    %Docstring
817        GetAttributesAsList() -> PGVariant
818
819        Returns attributes as list wxVariant.
820    %End
821
822    PyObject* GetAttributes() const;
823    %Docstring
824        GetAttributes() -> PyObject
825
826        Return attributes storage map.
827    %End
828    %MethodCode
829        PyErr_Clear();
830        Py_BEGIN_ALLOW_THREADS
831        sipRes = _wxPGProperty_GetAttributes(sipCpp);
832        Py_END_ALLOW_THREADS
833        if (PyErr_Occurred()) sipIsErr = 1;
834    %End
835    %TypeCode
836    PyObject* _wxPGProperty_GetAttributes(const wxPGProperty* self)
837    {
838        const wxPGAttributeStorage& attrs = self->GetAttributes();
839        wxPGAttributeStorage::const_iterator it = attrs.StartIteration();
840        wxVariant v;
841        wxPyThreadBlocker blocker;
842
843        PyObject* dict = PyDict_New();
844        if ( !dict ) return NULL;
845
846        while ( attrs.GetNext( it, v ) ) {
847            const wxString& name = v.GetName();
848            PyObject* pyStr = wx2PyString(name);
849            PyObject* pyVal = wxPGVariant_out_helper(v);
850            int res = PyDict_SetItem( dict, pyStr, pyVal );
851        }
852        return dict;
853    }
854    %End
855
856    const wxPGEditor * GetColumnEditor(
857        int column
858    ) const;
859    %Docstring
860        GetColumnEditor(column) -> PGEditor
861
862        Returns editor used for given column.
863    %End
864
865    const wxString & GetBaseName() const;
866    %Docstring
867        GetBaseName() -> String
868
869        Returns property's base name (ie.
870    %End
871
872    wxPGCell & GetCell(
873        unsigned int column
874    );
875    %Docstring
876        GetCell(column) -> PGCell
877
878        Returns wxPGCell of given column, creating one if necessary.
879    %End
880
881    wxPGCell & GetOrCreateCell(
882        unsigned int column
883    );
884    %Docstring
885        GetOrCreateCell(column) -> PGCell
886
887        Returns wxPGCell of given column, creating one if necessary.
888    %End
889
890    unsigned int GetChildCount() const;
891    %Docstring
892        GetChildCount() -> unsignedint
893
894        Returns number of child properties.
895    %End
896
897    int GetChildrenHeight(
898        int lh,
899        int iMax = -1
900    ) const;
901    %Docstring
902        GetChildrenHeight(lh, iMax=-1) -> int
903
904        Returns height of children, recursively, and by taking
905        expanded/collapsed status into account.
906    %End
907
908    const wxPGChoices & GetChoices() const;
909    %Docstring
910        GetChoices() -> PGChoices
911
912        Returns read-only reference to property's list of choices.
913    %End
914
915    wxClientData * GetClientObject() const   /PyName=GetClientData/;
916    %Docstring
917        GetClientData() -> ClientData
918
919        Sets managed client object of a property.
920    %End
921
922    wxPGVariant GetDefaultValue() const;
923    %Docstring
924        GetDefaultValue() -> PGVariant
925
926        Returns property's default value.
927    %End
928
929    wxString GetDisplayedString() const;
930    %Docstring
931        GetDisplayedString() -> String
932
933        Returns property's displayed text.
934    %End
935
936    const wxPGEditor * GetEditorClass() const;
937    %Docstring
938        GetEditorClass() -> PGEditor
939
940        Returns wxPGEditor that will be used and created when property becomes
941        selected.
942    %End
943
944    FlagType GetFlags() const;
945    %Docstring
946        GetFlags() -> FlagType
947
948        Returns property flags.
949    %End
950
951    wxPropertyGrid * GetGrid() const;
952    %Docstring
953        GetGrid() -> PropertyGrid
954
955        Returns property grid where property lies.
956    %End
957
958    wxPropertyGrid * GetGridIfDisplayed() const;
959    %Docstring
960        GetGridIfDisplayed() -> PropertyGrid
961
962        Returns owner wxPropertyGrid, but only if one is currently on a page
963        displaying this property.
964    %End
965
966    const wxString & GetHelpString() const;
967    %Docstring
968        GetHelpString() -> String
969
970        Returns property's help or description text.
971    %End
972
973    unsigned int GetIndexInParent() const;
974    %Docstring
975        GetIndexInParent() -> unsignedint
976
977        Returns position in parent's array.
978    %End
979
980    const wxString & GetLabel() const;
981    %Docstring
982        GetLabel() -> String
983
984        Returns property's label.
985    %End
986
987    const wxPGProperty * GetLastVisibleSubItem() const;
988    %Docstring
989        GetLastVisibleSubItem() -> PGProperty
990
991        Returns last visible child property, recursively.
992    %End
993
994    wxPGProperty * GetMainParent() const;
995    %Docstring
996        GetMainParent() -> PGProperty
997
998        Returns highest level non-category, non-root parent.
999    %End
1000
1001    int GetMaxLength() const;
1002    %Docstring
1003        GetMaxLength() -> int
1004
1005        Returns maximum allowed length of property's text value.
1006    %End
1007
1008    wxString GetName() const;
1009    %Docstring
1010        GetName() -> String
1011
1012        Returns property's name with all (non-category, non-root) parents.
1013    %End
1014
1015    wxPGProperty * GetParent() const;
1016    %Docstring
1017        GetParent() -> PGProperty
1018
1019        Return parent of property.
1020    %End
1021
1022    wxPGProperty * GetPropertyByName(
1023        const wxString & name
1024    ) const;
1025    %Docstring
1026        GetPropertyByName(name) -> PGProperty
1027
1028        Returns (direct) child property with given name (or NULL if not
1029        found).
1030    %End
1031
1032    wxValidator * GetValidator() const;
1033    %Docstring
1034        GetValidator() -> wx.Validator
1035
1036        Gets assignable version of property's validator.
1037    %End
1038
1039    wxPGVariant GetValue() const;
1040    %Docstring
1041        GetValue() -> PGVariant
1042
1043        Returns property's value.
1044    %End
1045
1046    wxBitmap * GetValueImage() const;
1047    %Docstring
1048        GetValueImage() -> wx.Bitmap
1049
1050        Returns bitmap that appears next to value text.
1051    %End
1052
1053    virtual
1054    wxString GetValueAsString(
1055        int argFlags = 0
1056    ) const;
1057    %Docstring
1058        GetValueAsString(argFlags=0) -> String
1059
1060        Returns text representation of property's value.
1061    %End
1062
1063    wxString GetValueString(
1064        int argFlags = 0
1065    ) const   /Deprecated/;
1066    %Docstring
1067        GetValueString(argFlags=0) -> String
1068
1069        Synonymous to GetValueAsString().
1070    %End
1071
1072    wxString GetValueType() const;
1073    %Docstring
1074        GetValueType() -> String
1075
1076        Returns value type used by this property.
1077    %End
1078
1079    int GetY() const;
1080    %Docstring
1081        GetY() -> int
1082
1083        Returns coordinate to the top y of the property.
1084    %End
1085
1086    FlagType HasFlag(
1087        wxPGPropertyFlags flag
1088    ) const;
1089    %Docstring
1090        HasFlag(flag) -> FlagType
1091
1092        Returns non-zero if property has given flag set.
1093    %End
1094
1095    bool HasVisibleChildren() const;
1096    %Docstring
1097        HasVisibleChildren() -> bool
1098
1099        Returns true if property has even one visible child.
1100    %End
1101
1102    bool Hide(
1103        bool hide,
1104        int flags = wxPG_RECURSE
1105    );
1106    %Docstring
1107        Hide(hide, flags=PG_RECURSE) -> bool
1108
1109        Hides or reveals the property.
1110    %End
1111
1112    int Index(
1113        const wxPGProperty * p
1114    ) const;
1115    %Docstring
1116        Index(p) -> int
1117
1118        Returns index of given child property.
1119    %End
1120
1121    wxPGProperty * InsertChild(
1122        int index,
1123        wxPGProperty * childProperty
1124    );
1125    %Docstring
1126        InsertChild(index, childProperty) -> PGProperty
1127
1128        Use this member function to add independent (ie.
1129    %End
1130
1131    int InsertChoice(
1132        const wxString & label,
1133        int index,
1134        int value = wxPG_INVALID_VALUE
1135    );
1136    %Docstring
1137        InsertChoice(label, index, value=PG_INVALID_VALUE) -> int
1138
1139        Inserts a new choice to property's list of choices.
1140    %End
1141
1142    bool IsCategory() const;
1143    %Docstring
1144        IsCategory() -> bool
1145
1146        Returns true if this property is actually a wxPropertyCategory.
1147    %End
1148
1149    bool IsEnabled() const;
1150    %Docstring
1151        IsEnabled() -> bool
1152
1153        Returns true if property is enabled.
1154    %End
1155
1156    bool IsExpanded() const;
1157    %Docstring
1158        IsExpanded() -> bool
1159
1160        Returns true if property has visible children.
1161    %End
1162
1163    bool IsRoot() const;
1164    %Docstring
1165        IsRoot() -> bool
1166
1167        Returns true if this property is actually a wxRootProperty.
1168    %End
1169
1170    bool IsSubProperty() const;
1171    %Docstring
1172        IsSubProperty() -> bool
1173
1174        Returns true if this is a sub-property.
1175    %End
1176
1177    bool IsSomeParent(
1178        wxPGProperty * candidateParent
1179    ) const;
1180    %Docstring
1181        IsSomeParent(candidateParent) -> bool
1182
1183        Returns true if candidateParent is some parent of this property.
1184    %End
1185
1186    bool IsTextEditable() const;
1187    %Docstring
1188        IsTextEditable() -> bool
1189
1190        Returns true if property has editable wxTextCtrl when selected.
1191    %End
1192
1193    bool IsValueUnspecified() const;
1194    %Docstring
1195        IsValueUnspecified() -> bool
1196
1197        Returns true if property's value is considered unspecified.
1198    %End
1199
1200    bool IsVisible() const;
1201    %Docstring
1202        IsVisible() -> bool
1203
1204        Returns true if all parents expanded.
1205    %End
1206
1207    wxPGProperty * Item(
1208        unsigned int i
1209    ) const;
1210    %Docstring
1211        Item(i) -> PGProperty
1212
1213        Returns child property at index i.
1214    %End
1215
1216    void RefreshEditor();
1217    %Docstring
1218        RefreshEditor()
1219
1220        If property's editor is active, then update it's value.
1221    %End
1222
1223    void SetAttribute(
1224        const wxString & name,
1225        wxPGVariant value
1226    );
1227    %Docstring
1228        SetAttribute(name, value)
1229
1230        Sets an attribute for this property.
1231    %End
1232
1233    void SetAutoUnspecified(
1234        bool enable = true
1235    );
1236    %Docstring
1237        SetAutoUnspecified(enable=True)
1238
1239        Set if user can change the property's value to unspecified by
1240        modifying the value of the editor control (usually by clearing it).
1241    %End
1242
1243    void SetBackgroundColour(
1244        const wxColour & colour,
1245        int flags = wxPG_RECURSE
1246    );
1247    %Docstring
1248        SetBackgroundColour(colour, flags=PG_RECURSE)
1249
1250        Sets property's background colour.
1251    %End
1252
1253    void SetEditor(
1254        const wxPGEditor * editor
1255    );
1256    %Docstring
1257        SetEditor(editor)
1258        SetEditor(editorName)
1259
1260        Sets editor for a property.
1261    %End
1262
1263    void SetEditor(
1264        const wxString & editorName
1265    );
1266
1267    void SetCell(
1268        int column,
1269        const wxPGCell & cell
1270    );
1271    %Docstring
1272        SetCell(column, cell)
1273
1274        Sets cell information for given column.
1275    %End
1276
1277    bool SetChoices(
1278        wxPGChoices & choices
1279    );
1280    %Docstring
1281        SetChoices(choices) -> bool
1282
1283        Sets new set of choices for the property.
1284    %End
1285
1286    void SetClientObject(
1287        wxClientData * data   /Transfer/
1288    )   /PyName=SetClientData/;
1289    %Docstring
1290        SetClientData(data)
1291
1292        Returns client object of a property.
1293    %End
1294
1295    void SetChoiceSelection(
1296        int newValue
1297    );
1298    %Docstring
1299        SetChoiceSelection(newValue)
1300
1301        Sets selected choice and changes property value.
1302    %End
1303
1304    void SetDefaultValue(
1305        wxPGVariant & value
1306    );
1307    %Docstring
1308        SetDefaultValue(value)
1309
1310        Set default value of a property.
1311    %End
1312
1313    void SetFlagRecursively(
1314        wxPGPropertyFlags flag,
1315        bool set
1316    );
1317    %Docstring
1318        SetFlagRecursively(flag, set)
1319
1320        Sets or clears given property flag, recursively.
1321    %End
1322
1323    void SetHelpString(
1324        const wxString & helpString
1325    );
1326    %Docstring
1327        SetHelpString(helpString)
1328
1329        Sets property's help string, which is shown, for example, in
1330        wxPropertyGridManager's description text box.
1331    %End
1332
1333    void SetLabel(
1334        const wxString & label
1335    );
1336    %Docstring
1337        SetLabel(label)
1338
1339        Sets property's label.
1340    %End
1341
1342    bool SetMaxLength(
1343        int maxLen
1344    );
1345    %Docstring
1346        SetMaxLength(maxLen) -> bool
1347
1348        Set max length of text in text editor.
1349    %End
1350
1351    void SetModifiedStatus(
1352        bool modified
1353    );
1354    %Docstring
1355        SetModifiedStatus(modified)
1356
1357        Sets property's "is it modified?" flag.
1358    %End
1359
1360    void SetName(
1361        const wxString & newName
1362    );
1363    %Docstring
1364        SetName(newName)
1365
1366        Sets new (base) name for property.
1367    %End
1368
1369    void SetParentalType(
1370        int flag
1371    );
1372    %Docstring
1373        SetParentalType(flag)
1374
1375        Changes what sort of parent this property is for its children.
1376    %End
1377
1378    void SetTextColour(
1379        const wxColour & colour,
1380        int flags = wxPG_RECURSE
1381    );
1382    %Docstring
1383        SetTextColour(colour, flags=PG_RECURSE)
1384
1385        Sets property's text colour.
1386    %End
1387
1388    void SetValidator(
1389        const wxValidator & validator
1390    );
1391    %Docstring
1392        SetValidator(validator)
1393
1394        Sets wxValidator for a property.
1395    %End
1396
1397    void SetValue(
1398        wxPGVariant value,
1399        wxPGVariant * pList = NULL,
1400        int flags = wxPG_SETVAL_REFRESH_EDITOR
1401    );
1402    %Docstring
1403        SetValue(value, pList=None, flags=PG_SETVAL_REFRESH_EDITOR)
1404
1405        Call this to set value of the property.
1406    %End
1407
1408    void SetValueImage(
1409        wxBitmap & bmp
1410    );
1411    %Docstring
1412        SetValueImage(bmp)
1413
1414        Set wxBitmap in front of the value.
1415    %End
1416
1417    void SetValueInEvent(
1418        wxPGVariant value
1419    ) const;
1420    %Docstring
1421        SetValueInEvent(value)
1422
1423        Call this function in OnEvent(), OnButtonClick() etc.
1424    %End
1425
1426    void SetValueToUnspecified();
1427    %Docstring
1428        SetValueToUnspecified()
1429
1430        Sets property's value to unspecified (ie.
1431    %End
1432
1433    void SetWasModified(
1434        bool set = true
1435    );
1436    %Docstring
1437        SetWasModified(set=True)
1438
1439        Call with false in OnSetValue() to cancel value changes after all (ie.
1440    %End
1441
1442    wxPGProperty * UpdateParentValues();
1443    %Docstring
1444        UpdateParentValues() -> PGProperty
1445
1446        Updates composed values of parent non-category properties,
1447        recursively.
1448    %End
1449
1450    bool UsesAutoUnspecified() const;
1451    %Docstring
1452        UsesAutoUnspecified() -> bool
1453
1454        Returns true if containing grid uses wxPG_EX_AUTO_UNSPECIFIED_VALUES.
1455    %End
1456
1457    void SetValuePlain(
1458        wxPGVariant value
1459    );
1460    %Docstring
1461        SetValuePlain(value)
1462
1463        Helper for language bindings.
1464    %End
1465
1466    %Property(name=m_value, get=GetValue, set=SetValue)
1467};  // end of class wxPGProperty
1468
1469
1470%Extract(id=pycode_propgrid)
1471def _PGProperty_SetAttributes(self, attributes):
1472    """
1473    Set the property's attributes from a Python dictionary.
1474    """
1475    for name,value in attributes.items():
1476        self.SetAttribute(name, value)
1477PGProperty.SetAttributes = _PGProperty_SetAttributes
1478del _PGProperty_SetAttributes
1479%End
1480
1481%Extract(id=pycode_propgrid)
1482def _PGProperty_GetClientObject(self, n):
1483    """
1484    Alias for :meth:`GetClientData`
1485    """
1486    return self.GetClientData(n)
1487PGProperty.GetClientObject = _PGProperty_GetClientObject
1488del _PGProperty_GetClientObject
1489%End
1490
1491%Extract(id=pycode_propgrid)
1492def _PGProperty_SetClientObject(self, n, data):
1493    """
1494    Alias for :meth:`SetClientData`
1495    """
1496    self.SetClientData(n, data)
1497PGProperty.SetClientObject = _PGProperty_SetClientObject
1498del _PGProperty_SetClientObject
1499%End
1500
1501class wxPropertyCategory : wxPGProperty
1502{
1503    %Docstring
1504        PropertyCategory()
1505        PropertyCategory(label, name=PG_LABEL)
1506
1507        Category (caption) property.
1508    %End
1509    %TypeHeaderCode
1510        #include <wx/propgrid/property.h>
1511    %End
1512
1513public:
1514    wxPropertyCategory();
1515
1516    wxPropertyCategory(
1517        const wxString & label,
1518        const wxString & name = wxPG_LABEL
1519    );
1520
1521    ~wxPropertyCategory();
1522
1523    int GetTextExtent(
1524        const wxWindow * wnd,
1525        const wxFont & font
1526    ) const;
1527    %Docstring
1528        GetTextExtent(wnd, font) -> int
1529    %End
1530
1531    virtual
1532    wxString ValueToString(
1533        wxPGVariant & value,
1534        int argFlags
1535    ) const;
1536    %Docstring
1537        ValueToString(value, argFlags) -> String
1538
1539        Converts property value into a text representation.
1540    %End
1541
1542    virtual
1543    wxString GetValueAsString(
1544        int argFlags = 0
1545    ) const;
1546    %Docstring
1547        GetValueAsString(argFlags=0) -> String
1548
1549        Returns text representation of property's value.
1550    %End
1551
1552    public:
1553
1554
1555    %Property(name=ValueAsString, get=GetValueAsString)
1556};  // end of class wxPropertyCategory
1557
1558
1559class wxPGChoiceEntry : wxPGCell
1560{
1561    %Docstring
1562        PGChoiceEntry()
1563        PGChoiceEntry(other)
1564        PGChoiceEntry(label, value=PG_INVALID_VALUE)
1565
1566        Data of a single wxPGChoices choice.
1567    %End
1568    %TypeHeaderCode
1569        #include <wx/propgrid/property.h>
1570    %End
1571
1572public:
1573    wxPGChoiceEntry();
1574
1575    wxPGChoiceEntry(
1576        const wxPGChoiceEntry & other
1577    );
1578
1579    wxPGChoiceEntry(
1580        const wxString & label,
1581        int value = wxPG_INVALID_VALUE
1582    );
1583
1584    virtual
1585    ~wxPGChoiceEntry();
1586
1587    void SetValue(
1588        int value
1589    );
1590    %Docstring
1591        SetValue(value)
1592    %End
1593
1594    int GetValue() const;
1595    %Docstring
1596        GetValue() -> int
1597    %End
1598
1599    public:
1600
1601
1602    %Property(name=Value, get=GetValue, set=SetValue)
1603};  // end of class wxPGChoiceEntry
1604
1605
1606class wxPGChoicesData : wxRefCounter
1607{
1608    %Docstring
1609        PGChoicesData()
1610    %End
1611    %TypeHeaderCode
1612        #include <wx/propgrid/property.h>
1613    %End
1614
1615public:
1616    wxPGChoicesData();
1617
1618    void CopyDataFrom(
1619        wxPGChoicesData * data
1620    );
1621    %Docstring
1622        CopyDataFrom(data)
1623    %End
1624
1625    wxPGChoiceEntry & Insert(
1626        int index,
1627        const wxPGChoiceEntry & item
1628    );
1629    %Docstring
1630        Insert(index, item) -> PGChoiceEntry
1631    %End
1632
1633    void Clear();
1634    %Docstring
1635        Clear()
1636    %End
1637
1638    unsigned int GetCount() const;
1639    %Docstring
1640        GetCount() -> unsignedint
1641    %End
1642
1643    wxPGChoiceEntry & Item(
1644        unsigned int i
1645    );
1646    %Docstring
1647        Item(i) -> PGChoiceEntry
1648    %End
1649
1650    public:
1651
1652
1653    %Property(name=Count, get=GetCount)
1654
1655protected:
1656    virtual
1657    ~wxPGChoicesData();
1658
1659};  // end of class wxPGChoicesData
1660
1661
1662class wxPGChoices
1663{
1664    %Docstring
1665        PGChoices()
1666        PGChoices(a)
1667        PGChoices(labels, values=[])
1668        PGChoices(data)
1669
1670        Helper class for managing choices of wxPropertyGrid properties.
1671    %End
1672    %TypeHeaderCode
1673        #include <wx/propgrid/property.h>
1674    %End
1675
1676public:
1677    wxPGChoices();
1678
1679    wxPGChoices(
1680        const wxPGChoices & a
1681    );
1682
1683    wxPGChoices(
1684        const wxArrayString & labels,
1685        const wxArrayInt & values = wxArrayInt()
1686    );
1687
1688    wxPGChoices(
1689        wxPGChoicesData * data
1690    );
1691
1692    ~wxPGChoices();
1693
1694    typedef long ValArrItem;
1695
1696    void Add(
1697        const wxChar ** labels,
1698        const ValArrItem * values = NULL
1699    );
1700    %Docstring
1701        Add(labels, values=None)
1702        Add(arr, arrint)
1703        Add(label, value=PG_INVALID_VALUE) -> PGChoiceEntry
1704        Add(label, bitmap, value=PG_INVALID_VALUE) -> PGChoiceEntry
1705        Add(entry) -> PGChoiceEntry
1706
1707        Adds to current.
1708    %End
1709
1710    void Add(
1711        const wxArrayString & arr,
1712        const wxArrayInt & arrint
1713    );
1714
1715    wxPGChoiceEntry & Add(
1716        const wxString & label,
1717        int value = wxPG_INVALID_VALUE
1718    );
1719
1720    wxPGChoiceEntry & Add(
1721        const wxString & label,
1722        const wxBitmap & bitmap,
1723        int value = wxPG_INVALID_VALUE
1724    );
1725
1726    wxPGChoiceEntry & Add(
1727        const wxPGChoiceEntry & entry
1728    );
1729
1730    wxPGChoiceEntry & AddAsSorted(
1731        const wxString & label,
1732        int value = wxPG_INVALID_VALUE
1733    );
1734    %Docstring
1735        AddAsSorted(label, value=PG_INVALID_VALUE) -> PGChoiceEntry
1736
1737        Adds single item, sorted.
1738    %End
1739
1740    void Assign(
1741        const wxPGChoices & a
1742    );
1743    %Docstring
1744        Assign(a)
1745
1746        Assigns choices data, using reference counting.
1747    %End
1748
1749    void AssignData(
1750        wxPGChoicesData * data
1751    );
1752    %Docstring
1753        AssignData(data)
1754
1755        Assigns data from another set of choices.
1756    %End
1757
1758    void Clear();
1759    %Docstring
1760        Clear()
1761
1762        Deletes all items.
1763    %End
1764
1765    wxPGChoices Copy() const;
1766    %Docstring
1767        Copy() -> PGChoices
1768
1769        Returns a real copy of the choices.
1770    %End
1771
1772    const wxString & GetLabel(
1773        unsigned int ind
1774    ) const;
1775    %Docstring
1776        GetLabel(ind) -> String
1777
1778        Returns label of item.
1779    %End
1780
1781    unsigned int GetCount() const;
1782    %Docstring
1783        GetCount() -> unsignedint
1784
1785        Returns number of items.
1786    %End
1787
1788    int GetValue(
1789        unsigned int ind
1790    ) const;
1791    %Docstring
1792        GetValue(ind) -> int
1793
1794        Returns value of item;.
1795    %End
1796
1797    wxArrayInt GetValuesForStrings(
1798        const wxArrayString & strings
1799    ) const;
1800    %Docstring
1801        GetValuesForStrings(strings) -> ArrayInt
1802
1803        Returns array of values matching the given strings.
1804    %End
1805
1806    wxArrayInt GetIndicesForStrings(
1807        const wxArrayString & strings,
1808        wxArrayString * unmatched = NULL
1809    ) const;
1810    %Docstring
1811        GetIndicesForStrings(strings, unmatched=None) -> ArrayInt
1812
1813        Returns array of indices matching given strings.
1814    %End
1815
1816    int Index(
1817        const wxString & label
1818    ) const;
1819    %Docstring
1820        Index(label) -> int
1821        Index(val) -> int
1822
1823        Returns index of item with given label.
1824    %End
1825
1826    int Index(
1827        int val
1828    ) const;
1829
1830    wxPGChoiceEntry & Insert(
1831        const wxString & label,
1832        int index,
1833        int value = wxPG_INVALID_VALUE
1834    );
1835    %Docstring
1836        Insert(label, index, value=PG_INVALID_VALUE) -> PGChoiceEntry
1837        Insert(entry, index) -> PGChoiceEntry
1838
1839        Inserts single item.
1840    %End
1841
1842    wxPGChoiceEntry & Insert(
1843        const wxPGChoiceEntry & entry,
1844        int index
1845    );
1846
1847    bool IsOk() const;
1848    %Docstring
1849        IsOk() -> bool
1850
1851        Returns false if this is a constant empty set of choices, which should
1852        not be modified.
1853    %End
1854
1855    wxPGChoiceEntry & Item(
1856        unsigned int i
1857    );
1858    %Docstring
1859        Item(i) -> PGChoiceEntry
1860
1861        Returns item at given index.
1862    %End
1863
1864    void RemoveAt(
1865        size_t nIndex,
1866        size_t count = 1
1867    );
1868    %Docstring
1869        RemoveAt(nIndex, count=1)
1870
1871        Removes count items starting at position nIndex.
1872    %End
1873
1874    void Set(
1875        const wxChar ** labels,
1876        const long * values = NULL
1877    );
1878    %Docstring
1879        Set(labels, values=None)
1880        Set(labels, values=[])
1881
1882        Sets contents from lists of strings and values.
1883    %End
1884
1885    void Set(
1886        const wxArrayString & labels,
1887        const wxArrayInt & values = wxArrayInt()
1888    );
1889
1890    void AllocExclusive();
1891    %Docstring
1892        AllocExclusive()
1893
1894        Creates exclusive copy of current choices.
1895    %End
1896
1897    wxArrayString GetLabels() const;
1898    %Docstring
1899        GetLabels() -> ArrayString
1900
1901        Returns array of choice labels.
1902    %End
1903
1904    public:
1905
1906
1907    %Property(name=Count, get=GetCount)
1908    %Property(name=Labels, get=GetLabels)
1909};  // end of class wxPGChoices
1910
1911
1912%Extract(id=pycode_propgrid)
1913def _PGChoices___getitem__(self, index):
1914    """
1915    Returns a reference to a :class:PGChoiceEntry using Python list syntax.
1916    """
1917    return self.Item(index)
1918PGChoices.__getitem__ = _PGChoices___getitem__
1919del _PGChoices___getitem__
1920%End
1921
1922%Extract(id=pycode_propgrid)
1923def _PGChoices___len__(self):
1924    return self.GetCount()
1925PGChoices.__len__ = _PGChoices___len__
1926del _PGChoices___len__
1927%End
1928
1929%Extract(id=pycode_propgrid)
1930PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
1931PG_ATTR_MIN                       = u"Min"
1932PG_ATTR_MAX                       = u"Max"
1933PG_ATTR_UNITS                     = u"Units"
1934PG_ATTR_HINT                      = u"Hint"
1935PG_ATTR_INLINE_HELP               = u"InlineHelp"
1936PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
1937PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
1938PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
1939PG_FLOAT_PRECISION                = u"Precision"
1940PG_STRING_PASSWORD                = u"Password"
1941PG_UINT_BASE                      = u"Base"
1942PG_UINT_PREFIX                    = u"Prefix"
1943PG_FILE_WILDCARD                  = u"Wildcard"
1944PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
1945PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
1946PG_FILE_INITIAL_PATH              = u"InitialPath"
1947PG_FILE_DIALOG_TITLE              = u"DialogTitle"
1948PG_FILE_DIALOG_STYLE              = u"DialogStyle"
1949PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
1950PG_ARRAY_DELIMITER                = u"Delimiter"
1951PG_DATE_FORMAT                    = u"DateFormat"
1952PG_DATE_PICKER_STYLE              = u"PickerStyle"
1953PG_ATTR_SPINCTRL_STEP             = u"Step"
1954PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
1955PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
1956PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
1957PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
1958PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
1959
1960NullProperty                      = None
1961PGChoicesEmptyData                = None
1962
1963%End
1964
1965%Extract(id=pycode_propgrid)
1966PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
1967PG_ATTR_MIN                       = u"Min"
1968PG_ATTR_MAX                       = u"Max"
1969PG_ATTR_UNITS                     = u"Units"
1970PG_ATTR_HINT                      = u"Hint"
1971PG_ATTR_INLINE_HELP               = u"InlineHelp"
1972PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
1973PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
1974PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
1975PG_FLOAT_PRECISION                = u"Precision"
1976PG_STRING_PASSWORD                = u"Password"
1977PG_UINT_BASE                      = u"Base"
1978PG_UINT_PREFIX                    = u"Prefix"
1979PG_FILE_WILDCARD                  = u"Wildcard"
1980PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
1981PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
1982PG_FILE_INITIAL_PATH              = u"InitialPath"
1983PG_FILE_DIALOG_TITLE              = u"DialogTitle"
1984PG_FILE_DIALOG_STYLE              = u"DialogStyle"
1985PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
1986PG_ARRAY_DELIMITER                = u"Delimiter"
1987PG_DATE_FORMAT                    = u"DateFormat"
1988PG_DATE_PICKER_STYLE              = u"PickerStyle"
1989PG_ATTR_SPINCTRL_STEP             = u"Step"
1990PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
1991PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
1992PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
1993PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
1994PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
1995
1996NullProperty                      = None
1997PGChoicesEmptyData                = None
1998
1999%End
2000
2001%Extract(id=pycode_propgrid)
2002PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2003PG_ATTR_MIN                       = u"Min"
2004PG_ATTR_MAX                       = u"Max"
2005PG_ATTR_UNITS                     = u"Units"
2006PG_ATTR_HINT                      = u"Hint"
2007PG_ATTR_INLINE_HELP               = u"InlineHelp"
2008PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2009PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2010PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2011PG_FLOAT_PRECISION                = u"Precision"
2012PG_STRING_PASSWORD                = u"Password"
2013PG_UINT_BASE                      = u"Base"
2014PG_UINT_PREFIX                    = u"Prefix"
2015PG_FILE_WILDCARD                  = u"Wildcard"
2016PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2017PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2018PG_FILE_INITIAL_PATH              = u"InitialPath"
2019PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2020PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2021PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2022PG_ARRAY_DELIMITER                = u"Delimiter"
2023PG_DATE_FORMAT                    = u"DateFormat"
2024PG_DATE_PICKER_STYLE              = u"PickerStyle"
2025PG_ATTR_SPINCTRL_STEP             = u"Step"
2026PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2027PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2028PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2029PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2030PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2031
2032NullProperty                      = None
2033PGChoicesEmptyData                = None
2034
2035%End
2036
2037%Extract(id=pycode_propgrid)
2038PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2039PG_ATTR_MIN                       = u"Min"
2040PG_ATTR_MAX                       = u"Max"
2041PG_ATTR_UNITS                     = u"Units"
2042PG_ATTR_HINT                      = u"Hint"
2043PG_ATTR_INLINE_HELP               = u"InlineHelp"
2044PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2045PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2046PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2047PG_FLOAT_PRECISION                = u"Precision"
2048PG_STRING_PASSWORD                = u"Password"
2049PG_UINT_BASE                      = u"Base"
2050PG_UINT_PREFIX                    = u"Prefix"
2051PG_FILE_WILDCARD                  = u"Wildcard"
2052PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2053PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2054PG_FILE_INITIAL_PATH              = u"InitialPath"
2055PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2056PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2057PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2058PG_ARRAY_DELIMITER                = u"Delimiter"
2059PG_DATE_FORMAT                    = u"DateFormat"
2060PG_DATE_PICKER_STYLE              = u"PickerStyle"
2061PG_ATTR_SPINCTRL_STEP             = u"Step"
2062PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2063PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2064PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2065PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2066PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2067
2068NullProperty                      = None
2069PGChoicesEmptyData                = None
2070
2071%End
2072
2073%Extract(id=pycode_propgrid)
2074PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2075PG_ATTR_MIN                       = u"Min"
2076PG_ATTR_MAX                       = u"Max"
2077PG_ATTR_UNITS                     = u"Units"
2078PG_ATTR_HINT                      = u"Hint"
2079PG_ATTR_INLINE_HELP               = u"InlineHelp"
2080PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2081PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2082PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2083PG_FLOAT_PRECISION                = u"Precision"
2084PG_STRING_PASSWORD                = u"Password"
2085PG_UINT_BASE                      = u"Base"
2086PG_UINT_PREFIX                    = u"Prefix"
2087PG_FILE_WILDCARD                  = u"Wildcard"
2088PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2089PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2090PG_FILE_INITIAL_PATH              = u"InitialPath"
2091PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2092PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2093PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2094PG_ARRAY_DELIMITER                = u"Delimiter"
2095PG_DATE_FORMAT                    = u"DateFormat"
2096PG_DATE_PICKER_STYLE              = u"PickerStyle"
2097PG_ATTR_SPINCTRL_STEP             = u"Step"
2098PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2099PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2100PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2101PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2102PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2103
2104NullProperty                      = None
2105PGChoicesEmptyData                = None
2106
2107%End
2108
2109%Extract(id=pycode_propgrid)
2110PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2111PG_ATTR_MIN                       = u"Min"
2112PG_ATTR_MAX                       = u"Max"
2113PG_ATTR_UNITS                     = u"Units"
2114PG_ATTR_HINT                      = u"Hint"
2115PG_ATTR_INLINE_HELP               = u"InlineHelp"
2116PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2117PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2118PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2119PG_FLOAT_PRECISION                = u"Precision"
2120PG_STRING_PASSWORD                = u"Password"
2121PG_UINT_BASE                      = u"Base"
2122PG_UINT_PREFIX                    = u"Prefix"
2123PG_FILE_WILDCARD                  = u"Wildcard"
2124PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2125PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2126PG_FILE_INITIAL_PATH              = u"InitialPath"
2127PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2128PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2129PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2130PG_ARRAY_DELIMITER                = u"Delimiter"
2131PG_DATE_FORMAT                    = u"DateFormat"
2132PG_DATE_PICKER_STYLE              = u"PickerStyle"
2133PG_ATTR_SPINCTRL_STEP             = u"Step"
2134PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2135PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2136PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2137PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2138PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2139
2140NullProperty                      = None
2141PGChoicesEmptyData                = None
2142
2143%End
2144
2145%Extract(id=pycode_propgrid)
2146PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2147PG_ATTR_MIN                       = u"Min"
2148PG_ATTR_MAX                       = u"Max"
2149PG_ATTR_UNITS                     = u"Units"
2150PG_ATTR_HINT                      = u"Hint"
2151PG_ATTR_INLINE_HELP               = u"InlineHelp"
2152PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2153PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2154PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2155PG_FLOAT_PRECISION                = u"Precision"
2156PG_STRING_PASSWORD                = u"Password"
2157PG_UINT_BASE                      = u"Base"
2158PG_UINT_PREFIX                    = u"Prefix"
2159PG_FILE_WILDCARD                  = u"Wildcard"
2160PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2161PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2162PG_FILE_INITIAL_PATH              = u"InitialPath"
2163PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2164PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2165PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2166PG_ARRAY_DELIMITER                = u"Delimiter"
2167PG_DATE_FORMAT                    = u"DateFormat"
2168PG_DATE_PICKER_STYLE              = u"PickerStyle"
2169PG_ATTR_SPINCTRL_STEP             = u"Step"
2170PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2171PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2172PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2173PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2174PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2175
2176NullProperty                      = None
2177PGChoicesEmptyData                = None
2178
2179%End
2180
2181%Extract(id=pycode_propgrid)
2182PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2183PG_ATTR_MIN                       = u"Min"
2184PG_ATTR_MAX                       = u"Max"
2185PG_ATTR_UNITS                     = u"Units"
2186PG_ATTR_HINT                      = u"Hint"
2187PG_ATTR_INLINE_HELP               = u"InlineHelp"
2188PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2189PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2190PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2191PG_FLOAT_PRECISION                = u"Precision"
2192PG_STRING_PASSWORD                = u"Password"
2193PG_UINT_BASE                      = u"Base"
2194PG_UINT_PREFIX                    = u"Prefix"
2195PG_FILE_WILDCARD                  = u"Wildcard"
2196PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2197PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2198PG_FILE_INITIAL_PATH              = u"InitialPath"
2199PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2200PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2201PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2202PG_ARRAY_DELIMITER                = u"Delimiter"
2203PG_DATE_FORMAT                    = u"DateFormat"
2204PG_DATE_PICKER_STYLE              = u"PickerStyle"
2205PG_ATTR_SPINCTRL_STEP             = u"Step"
2206PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2207PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2208PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2209PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2210PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2211
2212NullProperty                      = None
2213PGChoicesEmptyData                = None
2214
2215%End
2216
2217%Extract(id=pycode_propgrid)
2218PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2219PG_ATTR_MIN                       = u"Min"
2220PG_ATTR_MAX                       = u"Max"
2221PG_ATTR_UNITS                     = u"Units"
2222PG_ATTR_HINT                      = u"Hint"
2223PG_ATTR_INLINE_HELP               = u"InlineHelp"
2224PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2225PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2226PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2227PG_FLOAT_PRECISION                = u"Precision"
2228PG_STRING_PASSWORD                = u"Password"
2229PG_UINT_BASE                      = u"Base"
2230PG_UINT_PREFIX                    = u"Prefix"
2231PG_FILE_WILDCARD                  = u"Wildcard"
2232PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2233PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2234PG_FILE_INITIAL_PATH              = u"InitialPath"
2235PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2236PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2237PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2238PG_ARRAY_DELIMITER                = u"Delimiter"
2239PG_DATE_FORMAT                    = u"DateFormat"
2240PG_DATE_PICKER_STYLE              = u"PickerStyle"
2241PG_ATTR_SPINCTRL_STEP             = u"Step"
2242PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2243PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2244PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2245PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2246PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2247
2248NullProperty                      = None
2249PGChoicesEmptyData                = None
2250
2251%End
2252
2253%Extract(id=pycode_propgrid)
2254PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2255PG_ATTR_MIN                       = u"Min"
2256PG_ATTR_MAX                       = u"Max"
2257PG_ATTR_UNITS                     = u"Units"
2258PG_ATTR_HINT                      = u"Hint"
2259PG_ATTR_INLINE_HELP               = u"InlineHelp"
2260PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2261PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2262PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2263PG_FLOAT_PRECISION                = u"Precision"
2264PG_STRING_PASSWORD                = u"Password"
2265PG_UINT_BASE                      = u"Base"
2266PG_UINT_PREFIX                    = u"Prefix"
2267PG_FILE_WILDCARD                  = u"Wildcard"
2268PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2269PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2270PG_FILE_INITIAL_PATH              = u"InitialPath"
2271PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2272PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2273PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2274PG_ARRAY_DELIMITER                = u"Delimiter"
2275PG_DATE_FORMAT                    = u"DateFormat"
2276PG_DATE_PICKER_STYLE              = u"PickerStyle"
2277PG_ATTR_SPINCTRL_STEP             = u"Step"
2278PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2279PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2280PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2281PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2282PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2283
2284NullProperty                      = None
2285PGChoicesEmptyData                = None
2286
2287%End
2288
2289%Extract(id=pycode_propgrid)
2290PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2291PG_ATTR_MIN                       = u"Min"
2292PG_ATTR_MAX                       = u"Max"
2293PG_ATTR_UNITS                     = u"Units"
2294PG_ATTR_HINT                      = u"Hint"
2295PG_ATTR_INLINE_HELP               = u"InlineHelp"
2296PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2297PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2298PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2299PG_FLOAT_PRECISION                = u"Precision"
2300PG_STRING_PASSWORD                = u"Password"
2301PG_UINT_BASE                      = u"Base"
2302PG_UINT_PREFIX                    = u"Prefix"
2303PG_FILE_WILDCARD                  = u"Wildcard"
2304PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2305PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2306PG_FILE_INITIAL_PATH              = u"InitialPath"
2307PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2308PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2309PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2310PG_ARRAY_DELIMITER                = u"Delimiter"
2311PG_DATE_FORMAT                    = u"DateFormat"
2312PG_DATE_PICKER_STYLE              = u"PickerStyle"
2313PG_ATTR_SPINCTRL_STEP             = u"Step"
2314PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2315PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2316PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2317PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2318PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2319
2320NullProperty                      = None
2321PGChoicesEmptyData                = None
2322
2323%End
2324
2325%Extract(id=pycode_propgrid)
2326PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2327PG_ATTR_MIN                       = u"Min"
2328PG_ATTR_MAX                       = u"Max"
2329PG_ATTR_UNITS                     = u"Units"
2330PG_ATTR_HINT                      = u"Hint"
2331PG_ATTR_INLINE_HELP               = u"InlineHelp"
2332PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2333PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2334PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2335PG_FLOAT_PRECISION                = u"Precision"
2336PG_STRING_PASSWORD                = u"Password"
2337PG_UINT_BASE                      = u"Base"
2338PG_UINT_PREFIX                    = u"Prefix"
2339PG_FILE_WILDCARD                  = u"Wildcard"
2340PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2341PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2342PG_FILE_INITIAL_PATH              = u"InitialPath"
2343PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2344PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2345PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2346PG_ARRAY_DELIMITER                = u"Delimiter"
2347PG_DATE_FORMAT                    = u"DateFormat"
2348PG_DATE_PICKER_STYLE              = u"PickerStyle"
2349PG_ATTR_SPINCTRL_STEP             = u"Step"
2350PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2351PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2352PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2353PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2354PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2355
2356NullProperty                      = None
2357PGChoicesEmptyData                = None
2358
2359%End
2360
2361%Extract(id=pycode_propgrid)
2362PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2363PG_ATTR_MIN                       = u"Min"
2364PG_ATTR_MAX                       = u"Max"
2365PG_ATTR_UNITS                     = u"Units"
2366PG_ATTR_HINT                      = u"Hint"
2367PG_ATTR_INLINE_HELP               = u"InlineHelp"
2368PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2369PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2370PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2371PG_FLOAT_PRECISION                = u"Precision"
2372PG_STRING_PASSWORD                = u"Password"
2373PG_UINT_BASE                      = u"Base"
2374PG_UINT_PREFIX                    = u"Prefix"
2375PG_FILE_WILDCARD                  = u"Wildcard"
2376PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2377PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2378PG_FILE_INITIAL_PATH              = u"InitialPath"
2379PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2380PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2381PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2382PG_ARRAY_DELIMITER                = u"Delimiter"
2383PG_DATE_FORMAT                    = u"DateFormat"
2384PG_DATE_PICKER_STYLE              = u"PickerStyle"
2385PG_ATTR_SPINCTRL_STEP             = u"Step"
2386PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2387PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2388PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2389PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2390PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2391
2392NullProperty                      = None
2393PGChoicesEmptyData                = None
2394
2395%End
2396
2397%Extract(id=pycode_propgrid)
2398PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2399PG_ATTR_MIN                       = u"Min"
2400PG_ATTR_MAX                       = u"Max"
2401PG_ATTR_UNITS                     = u"Units"
2402PG_ATTR_HINT                      = u"Hint"
2403PG_ATTR_INLINE_HELP               = u"InlineHelp"
2404PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2405PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2406PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2407PG_FLOAT_PRECISION                = u"Precision"
2408PG_STRING_PASSWORD                = u"Password"
2409PG_UINT_BASE                      = u"Base"
2410PG_UINT_PREFIX                    = u"Prefix"
2411PG_FILE_WILDCARD                  = u"Wildcard"
2412PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2413PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2414PG_FILE_INITIAL_PATH              = u"InitialPath"
2415PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2416PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2417PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2418PG_ARRAY_DELIMITER                = u"Delimiter"
2419PG_DATE_FORMAT                    = u"DateFormat"
2420PG_DATE_PICKER_STYLE              = u"PickerStyle"
2421PG_ATTR_SPINCTRL_STEP             = u"Step"
2422PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2423PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2424PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2425PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2426PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2427
2428NullProperty                      = None
2429PGChoicesEmptyData                = None
2430
2431%End
2432
2433%Extract(id=pycode_propgrid)
2434PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2435PG_ATTR_MIN                       = u"Min"
2436PG_ATTR_MAX                       = u"Max"
2437PG_ATTR_UNITS                     = u"Units"
2438PG_ATTR_HINT                      = u"Hint"
2439PG_ATTR_INLINE_HELP               = u"InlineHelp"
2440PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2441PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2442PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2443PG_FLOAT_PRECISION                = u"Precision"
2444PG_STRING_PASSWORD                = u"Password"
2445PG_UINT_BASE                      = u"Base"
2446PG_UINT_PREFIX                    = u"Prefix"
2447PG_FILE_WILDCARD                  = u"Wildcard"
2448PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2449PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2450PG_FILE_INITIAL_PATH              = u"InitialPath"
2451PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2452PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2453PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2454PG_ARRAY_DELIMITER                = u"Delimiter"
2455PG_DATE_FORMAT                    = u"DateFormat"
2456PG_DATE_PICKER_STYLE              = u"PickerStyle"
2457PG_ATTR_SPINCTRL_STEP             = u"Step"
2458PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2459PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2460PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2461PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2462PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2463
2464NullProperty                      = None
2465PGChoicesEmptyData                = None
2466
2467%End
2468
2469%Extract(id=pycode_propgrid)
2470PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2471PG_ATTR_MIN                       = u"Min"
2472PG_ATTR_MAX                       = u"Max"
2473PG_ATTR_UNITS                     = u"Units"
2474PG_ATTR_HINT                      = u"Hint"
2475PG_ATTR_INLINE_HELP               = u"InlineHelp"
2476PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2477PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2478PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2479PG_FLOAT_PRECISION                = u"Precision"
2480PG_STRING_PASSWORD                = u"Password"
2481PG_UINT_BASE                      = u"Base"
2482PG_UINT_PREFIX                    = u"Prefix"
2483PG_FILE_WILDCARD                  = u"Wildcard"
2484PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2485PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2486PG_FILE_INITIAL_PATH              = u"InitialPath"
2487PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2488PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2489PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2490PG_ARRAY_DELIMITER                = u"Delimiter"
2491PG_DATE_FORMAT                    = u"DateFormat"
2492PG_DATE_PICKER_STYLE              = u"PickerStyle"
2493PG_ATTR_SPINCTRL_STEP             = u"Step"
2494PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2495PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2496PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2497PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2498PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2499
2500NullProperty                      = None
2501PGChoicesEmptyData                = None
2502
2503%End
2504
2505%Extract(id=pycode_propgrid)
2506PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2507PG_ATTR_MIN                       = u"Min"
2508PG_ATTR_MAX                       = u"Max"
2509PG_ATTR_UNITS                     = u"Units"
2510PG_ATTR_HINT                      = u"Hint"
2511PG_ATTR_INLINE_HELP               = u"InlineHelp"
2512PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2513PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2514PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2515PG_FLOAT_PRECISION                = u"Precision"
2516PG_STRING_PASSWORD                = u"Password"
2517PG_UINT_BASE                      = u"Base"
2518PG_UINT_PREFIX                    = u"Prefix"
2519PG_FILE_WILDCARD                  = u"Wildcard"
2520PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2521PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2522PG_FILE_INITIAL_PATH              = u"InitialPath"
2523PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2524PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2525PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2526PG_ARRAY_DELIMITER                = u"Delimiter"
2527PG_DATE_FORMAT                    = u"DateFormat"
2528PG_DATE_PICKER_STYLE              = u"PickerStyle"
2529PG_ATTR_SPINCTRL_STEP             = u"Step"
2530PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2531PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2532PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2533PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2534PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2535
2536NullProperty                      = None
2537PGChoicesEmptyData                = None
2538
2539%End
2540
2541%Extract(id=pycode_propgrid)
2542PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2543PG_ATTR_MIN                       = u"Min"
2544PG_ATTR_MAX                       = u"Max"
2545PG_ATTR_UNITS                     = u"Units"
2546PG_ATTR_HINT                      = u"Hint"
2547PG_ATTR_INLINE_HELP               = u"InlineHelp"
2548PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2549PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2550PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2551PG_FLOAT_PRECISION                = u"Precision"
2552PG_STRING_PASSWORD                = u"Password"
2553PG_UINT_BASE                      = u"Base"
2554PG_UINT_PREFIX                    = u"Prefix"
2555PG_FILE_WILDCARD                  = u"Wildcard"
2556PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2557PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2558PG_FILE_INITIAL_PATH              = u"InitialPath"
2559PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2560PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2561PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2562PG_ARRAY_DELIMITER                = u"Delimiter"
2563PG_DATE_FORMAT                    = u"DateFormat"
2564PG_DATE_PICKER_STYLE              = u"PickerStyle"
2565PG_ATTR_SPINCTRL_STEP             = u"Step"
2566PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2567PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2568PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2569PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2570PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2571
2572NullProperty                      = None
2573PGChoicesEmptyData                = None
2574
2575%End
2576
2577%Extract(id=pycode_propgrid)
2578PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2579PG_ATTR_MIN                       = u"Min"
2580PG_ATTR_MAX                       = u"Max"
2581PG_ATTR_UNITS                     = u"Units"
2582PG_ATTR_HINT                      = u"Hint"
2583PG_ATTR_INLINE_HELP               = u"InlineHelp"
2584PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2585PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2586PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2587PG_FLOAT_PRECISION                = u"Precision"
2588PG_STRING_PASSWORD                = u"Password"
2589PG_UINT_BASE                      = u"Base"
2590PG_UINT_PREFIX                    = u"Prefix"
2591PG_FILE_WILDCARD                  = u"Wildcard"
2592PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2593PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2594PG_FILE_INITIAL_PATH              = u"InitialPath"
2595PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2596PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2597PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2598PG_ARRAY_DELIMITER                = u"Delimiter"
2599PG_DATE_FORMAT                    = u"DateFormat"
2600PG_DATE_PICKER_STYLE              = u"PickerStyle"
2601PG_ATTR_SPINCTRL_STEP             = u"Step"
2602PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2603PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2604PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2605PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2606PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2607
2608NullProperty                      = None
2609PGChoicesEmptyData                = None
2610
2611%End
2612
2613%Extract(id=pycode_propgrid)
2614PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2615PG_ATTR_MIN                       = u"Min"
2616PG_ATTR_MAX                       = u"Max"
2617PG_ATTR_UNITS                     = u"Units"
2618PG_ATTR_HINT                      = u"Hint"
2619PG_ATTR_INLINE_HELP               = u"InlineHelp"
2620PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2621PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2622PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2623PG_FLOAT_PRECISION                = u"Precision"
2624PG_STRING_PASSWORD                = u"Password"
2625PG_UINT_BASE                      = u"Base"
2626PG_UINT_PREFIX                    = u"Prefix"
2627PG_FILE_WILDCARD                  = u"Wildcard"
2628PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2629PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2630PG_FILE_INITIAL_PATH              = u"InitialPath"
2631PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2632PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2633PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2634PG_ARRAY_DELIMITER                = u"Delimiter"
2635PG_DATE_FORMAT                    = u"DateFormat"
2636PG_DATE_PICKER_STYLE              = u"PickerStyle"
2637PG_ATTR_SPINCTRL_STEP             = u"Step"
2638PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2639PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2640PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2641PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2642PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2643
2644NullProperty                      = None
2645PGChoicesEmptyData                = None
2646
2647%End
2648
2649%Extract(id=pycode_propgrid)
2650PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2651PG_ATTR_MIN                       = u"Min"
2652PG_ATTR_MAX                       = u"Max"
2653PG_ATTR_UNITS                     = u"Units"
2654PG_ATTR_HINT                      = u"Hint"
2655PG_ATTR_INLINE_HELP               = u"InlineHelp"
2656PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2657PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2658PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2659PG_FLOAT_PRECISION                = u"Precision"
2660PG_STRING_PASSWORD                = u"Password"
2661PG_UINT_BASE                      = u"Base"
2662PG_UINT_PREFIX                    = u"Prefix"
2663PG_FILE_WILDCARD                  = u"Wildcard"
2664PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2665PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2666PG_FILE_INITIAL_PATH              = u"InitialPath"
2667PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2668PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2669PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2670PG_ARRAY_DELIMITER                = u"Delimiter"
2671PG_DATE_FORMAT                    = u"DateFormat"
2672PG_DATE_PICKER_STYLE              = u"PickerStyle"
2673PG_ATTR_SPINCTRL_STEP             = u"Step"
2674PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2675PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2676PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2677PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2678PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2679
2680NullProperty                      = None
2681PGChoicesEmptyData                = None
2682
2683%End
2684
2685%Extract(id=pycode_propgrid)
2686PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2687PG_ATTR_MIN                       = u"Min"
2688PG_ATTR_MAX                       = u"Max"
2689PG_ATTR_UNITS                     = u"Units"
2690PG_ATTR_HINT                      = u"Hint"
2691PG_ATTR_INLINE_HELP               = u"InlineHelp"
2692PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2693PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2694PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2695PG_FLOAT_PRECISION                = u"Precision"
2696PG_STRING_PASSWORD                = u"Password"
2697PG_UINT_BASE                      = u"Base"
2698PG_UINT_PREFIX                    = u"Prefix"
2699PG_FILE_WILDCARD                  = u"Wildcard"
2700PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2701PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2702PG_FILE_INITIAL_PATH              = u"InitialPath"
2703PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2704PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2705PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2706PG_ARRAY_DELIMITER                = u"Delimiter"
2707PG_DATE_FORMAT                    = u"DateFormat"
2708PG_DATE_PICKER_STYLE              = u"PickerStyle"
2709PG_ATTR_SPINCTRL_STEP             = u"Step"
2710PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2711PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2712PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2713PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2714PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2715
2716NullProperty                      = None
2717PGChoicesEmptyData                = None
2718
2719%End
2720
2721%Extract(id=pycode_propgrid)
2722PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2723PG_ATTR_MIN                       = u"Min"
2724PG_ATTR_MAX                       = u"Max"
2725PG_ATTR_UNITS                     = u"Units"
2726PG_ATTR_HINT                      = u"Hint"
2727PG_ATTR_INLINE_HELP               = u"InlineHelp"
2728PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2729PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2730PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2731PG_FLOAT_PRECISION                = u"Precision"
2732PG_STRING_PASSWORD                = u"Password"
2733PG_UINT_BASE                      = u"Base"
2734PG_UINT_PREFIX                    = u"Prefix"
2735PG_FILE_WILDCARD                  = u"Wildcard"
2736PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2737PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2738PG_FILE_INITIAL_PATH              = u"InitialPath"
2739PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2740PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2741PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2742PG_ARRAY_DELIMITER                = u"Delimiter"
2743PG_DATE_FORMAT                    = u"DateFormat"
2744PG_DATE_PICKER_STYLE              = u"PickerStyle"
2745PG_ATTR_SPINCTRL_STEP             = u"Step"
2746PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2747PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2748PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2749PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2750PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2751
2752NullProperty                      = None
2753PGChoicesEmptyData                = None
2754
2755%End
2756
2757%Extract(id=pycode_propgrid)
2758PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2759PG_ATTR_MIN                       = u"Min"
2760PG_ATTR_MAX                       = u"Max"
2761PG_ATTR_UNITS                     = u"Units"
2762PG_ATTR_HINT                      = u"Hint"
2763PG_ATTR_INLINE_HELP               = u"InlineHelp"
2764PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2765PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2766PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2767PG_FLOAT_PRECISION                = u"Precision"
2768PG_STRING_PASSWORD                = u"Password"
2769PG_UINT_BASE                      = u"Base"
2770PG_UINT_PREFIX                    = u"Prefix"
2771PG_FILE_WILDCARD                  = u"Wildcard"
2772PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2773PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2774PG_FILE_INITIAL_PATH              = u"InitialPath"
2775PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2776PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2777PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2778PG_ARRAY_DELIMITER                = u"Delimiter"
2779PG_DATE_FORMAT                    = u"DateFormat"
2780PG_DATE_PICKER_STYLE              = u"PickerStyle"
2781PG_ATTR_SPINCTRL_STEP             = u"Step"
2782PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2783PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2784PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2785PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2786PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2787
2788NullProperty                      = None
2789PGChoicesEmptyData                = None
2790
2791%End
2792
2793%Extract(id=pycode_propgrid)
2794PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2795PG_ATTR_MIN                       = u"Min"
2796PG_ATTR_MAX                       = u"Max"
2797PG_ATTR_UNITS                     = u"Units"
2798PG_ATTR_HINT                      = u"Hint"
2799PG_ATTR_INLINE_HELP               = u"InlineHelp"
2800PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2801PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2802PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2803PG_FLOAT_PRECISION                = u"Precision"
2804PG_STRING_PASSWORD                = u"Password"
2805PG_UINT_BASE                      = u"Base"
2806PG_UINT_PREFIX                    = u"Prefix"
2807PG_FILE_WILDCARD                  = u"Wildcard"
2808PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2809PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2810PG_FILE_INITIAL_PATH              = u"InitialPath"
2811PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2812PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2813PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2814PG_ARRAY_DELIMITER                = u"Delimiter"
2815PG_DATE_FORMAT                    = u"DateFormat"
2816PG_DATE_PICKER_STYLE              = u"PickerStyle"
2817PG_ATTR_SPINCTRL_STEP             = u"Step"
2818PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2819PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2820PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2821PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2822PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2823
2824NullProperty                      = None
2825PGChoicesEmptyData                = None
2826
2827%End
2828
2829%Extract(id=pycode_propgrid)
2830PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2831PG_ATTR_MIN                       = u"Min"
2832PG_ATTR_MAX                       = u"Max"
2833PG_ATTR_UNITS                     = u"Units"
2834PG_ATTR_HINT                      = u"Hint"
2835PG_ATTR_INLINE_HELP               = u"InlineHelp"
2836PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2837PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2838PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2839PG_FLOAT_PRECISION                = u"Precision"
2840PG_STRING_PASSWORD                = u"Password"
2841PG_UINT_BASE                      = u"Base"
2842PG_UINT_PREFIX                    = u"Prefix"
2843PG_FILE_WILDCARD                  = u"Wildcard"
2844PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2845PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2846PG_FILE_INITIAL_PATH              = u"InitialPath"
2847PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2848PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2849PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2850PG_ARRAY_DELIMITER                = u"Delimiter"
2851PG_DATE_FORMAT                    = u"DateFormat"
2852PG_DATE_PICKER_STYLE              = u"PickerStyle"
2853PG_ATTR_SPINCTRL_STEP             = u"Step"
2854PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2855PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2856PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2857PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2858PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2859
2860NullProperty                      = None
2861PGChoicesEmptyData                = None
2862
2863%End
2864
2865%Extract(id=pycode_propgrid)
2866PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2867PG_ATTR_MIN                       = u"Min"
2868PG_ATTR_MAX                       = u"Max"
2869PG_ATTR_UNITS                     = u"Units"
2870PG_ATTR_HINT                      = u"Hint"
2871PG_ATTR_INLINE_HELP               = u"InlineHelp"
2872PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2873PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2874PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2875PG_FLOAT_PRECISION                = u"Precision"
2876PG_STRING_PASSWORD                = u"Password"
2877PG_UINT_BASE                      = u"Base"
2878PG_UINT_PREFIX                    = u"Prefix"
2879PG_FILE_WILDCARD                  = u"Wildcard"
2880PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2881PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2882PG_FILE_INITIAL_PATH              = u"InitialPath"
2883PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2884PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2885PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2886PG_ARRAY_DELIMITER                = u"Delimiter"
2887PG_DATE_FORMAT                    = u"DateFormat"
2888PG_DATE_PICKER_STYLE              = u"PickerStyle"
2889PG_ATTR_SPINCTRL_STEP             = u"Step"
2890PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2891PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2892PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2893PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2894PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2895
2896NullProperty                      = None
2897PGChoicesEmptyData                = None
2898
2899%End
2900
2901%Extract(id=pycode_propgrid)
2902PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2903PG_ATTR_MIN                       = u"Min"
2904PG_ATTR_MAX                       = u"Max"
2905PG_ATTR_UNITS                     = u"Units"
2906PG_ATTR_HINT                      = u"Hint"
2907PG_ATTR_INLINE_HELP               = u"InlineHelp"
2908PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2909PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2910PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2911PG_FLOAT_PRECISION                = u"Precision"
2912PG_STRING_PASSWORD                = u"Password"
2913PG_UINT_BASE                      = u"Base"
2914PG_UINT_PREFIX                    = u"Prefix"
2915PG_FILE_WILDCARD                  = u"Wildcard"
2916PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2917PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2918PG_FILE_INITIAL_PATH              = u"InitialPath"
2919PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2920PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2921PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2922PG_ARRAY_DELIMITER                = u"Delimiter"
2923PG_DATE_FORMAT                    = u"DateFormat"
2924PG_DATE_PICKER_STYLE              = u"PickerStyle"
2925PG_ATTR_SPINCTRL_STEP             = u"Step"
2926PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2927PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2928PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2929PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2930PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2931
2932NullProperty                      = None
2933PGChoicesEmptyData                = None
2934
2935%End
2936
2937%Extract(id=pycode_propgrid)
2938PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2939PG_ATTR_MIN                       = u"Min"
2940PG_ATTR_MAX                       = u"Max"
2941PG_ATTR_UNITS                     = u"Units"
2942PG_ATTR_HINT                      = u"Hint"
2943PG_ATTR_INLINE_HELP               = u"InlineHelp"
2944PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2945PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2946PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2947PG_FLOAT_PRECISION                = u"Precision"
2948PG_STRING_PASSWORD                = u"Password"
2949PG_UINT_BASE                      = u"Base"
2950PG_UINT_PREFIX                    = u"Prefix"
2951PG_FILE_WILDCARD                  = u"Wildcard"
2952PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2953PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2954PG_FILE_INITIAL_PATH              = u"InitialPath"
2955PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2956PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2957PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2958PG_ARRAY_DELIMITER                = u"Delimiter"
2959PG_DATE_FORMAT                    = u"DateFormat"
2960PG_DATE_PICKER_STYLE              = u"PickerStyle"
2961PG_ATTR_SPINCTRL_STEP             = u"Step"
2962PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2963PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
2964PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
2965PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
2966PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
2967
2968NullProperty                      = None
2969PGChoicesEmptyData                = None
2970
2971%End
2972
2973%Extract(id=pycode_propgrid)
2974PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
2975PG_ATTR_MIN                       = u"Min"
2976PG_ATTR_MAX                       = u"Max"
2977PG_ATTR_UNITS                     = u"Units"
2978PG_ATTR_HINT                      = u"Hint"
2979PG_ATTR_INLINE_HELP               = u"InlineHelp"
2980PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
2981PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
2982PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
2983PG_FLOAT_PRECISION                = u"Precision"
2984PG_STRING_PASSWORD                = u"Password"
2985PG_UINT_BASE                      = u"Base"
2986PG_UINT_PREFIX                    = u"Prefix"
2987PG_FILE_WILDCARD                  = u"Wildcard"
2988PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
2989PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
2990PG_FILE_INITIAL_PATH              = u"InitialPath"
2991PG_FILE_DIALOG_TITLE              = u"DialogTitle"
2992PG_FILE_DIALOG_STYLE              = u"DialogStyle"
2993PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
2994PG_ARRAY_DELIMITER                = u"Delimiter"
2995PG_DATE_FORMAT                    = u"DateFormat"
2996PG_DATE_PICKER_STYLE              = u"PickerStyle"
2997PG_ATTR_SPINCTRL_STEP             = u"Step"
2998PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
2999PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
3000PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
3001PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
3002PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
3003
3004NullProperty                      = None
3005PGChoicesEmptyData                = None
3006
3007%End
3008
3009%Extract(id=pycode_propgrid)
3010PG_ATTR_DEFAULT_VALUE             = u"DefaultValue"
3011PG_ATTR_MIN                       = u"Min"
3012PG_ATTR_MAX                       = u"Max"
3013PG_ATTR_UNITS                     = u"Units"
3014PG_ATTR_HINT                      = u"Hint"
3015PG_ATTR_INLINE_HELP               = u"InlineHelp"
3016PG_ATTR_AUTOCOMPLETE              = u"AutoComplete"
3017PG_BOOL_USE_CHECKBOX              = u"UseCheckbox"
3018PG_BOOL_USE_DOUBLE_CLICK_CYCLING  = u"UseDClickCycling"
3019PG_FLOAT_PRECISION                = u"Precision"
3020PG_STRING_PASSWORD                = u"Password"
3021PG_UINT_BASE                      = u"Base"
3022PG_UINT_PREFIX                    = u"Prefix"
3023PG_FILE_WILDCARD                  = u"Wildcard"
3024PG_FILE_SHOW_FULL_PATH            = u"ShowFullPath"
3025PG_FILE_SHOW_RELATIVE_PATH        = u"ShowRelativePath"
3026PG_FILE_INITIAL_PATH              = u"InitialPath"
3027PG_FILE_DIALOG_TITLE              = u"DialogTitle"
3028PG_FILE_DIALOG_STYLE              = u"DialogStyle"
3029PG_DIR_DIALOG_MESSAGE             = u"DialogMessage"
3030PG_ARRAY_DELIMITER                = u"Delimiter"
3031PG_DATE_FORMAT                    = u"DateFormat"
3032PG_DATE_PICKER_STYLE              = u"PickerStyle"
3033PG_ATTR_SPINCTRL_STEP             = u"Step"
3034PG_ATTR_SPINCTRL_WRAP             = u"Wrap"
3035PG_ATTR_SPINCTRL_MOTIONSPIN       = u"MotionSpin"
3036PG_ATTR_MULTICHOICE_USERSTRINGMODE= u"UserStringMode"
3037PG_COLOUR_ALLOW_CUSTOM            = u"AllowCustom"
3038PG_COLOUR_HAS_ALPHA               = u"HasAlpha"
3039
3040NullProperty                      = None
3041PGChoicesEmptyData                = None
3042
3043%End
3044
3045
3046//---------------------------------------------------------------------------
3047
3048