| 20 | | <mini_frame title='Hello Runeblade' show='1' pos='self.parent().object.ClientToScreen((350,350))'> |
|---|
| 21 | | <layout sizerFit='1' sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| 22 | | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 30 | <mini_frame title='Hello Runeblade' show='1' pos='self.parent().object.ClientToScreen((350,350))'> |
|---|
| | 31 | <layout sizerFit='1' sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 32 | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 33 | <layout> |
|---|
| | 34 | <column_list sizerOption='1' sizerFlag='wxEXPAND' columns='"Shane", "William", "Holloway"' /> |
|---|
| | 35 | <tree sizerOption='1' sizerFlag='wxEXPAND' columns='"Shane", "William", "Holloway"' > |
|---|
| | 36 | <image_list /> |
|---|
| | 37 | </tree> |
|---|
| | 38 | </layout> |
|---|
| | 39 | </panel> |
|---|
| | 40 | </layout> |
|---|
| | 41 | </mini_frame> |
|---|
| | 42 | |
|---|
| | 43 | |
|---|
| | 44 | <mdi_child_frame title='Sash Test' show='1'> |
|---|
| | 45 | <layout sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 46 | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 47 | <layout_algorithm> |
|---|
| | 48 | <panel> <layout> <text sizerOption='1' sizerFlag='wxEXPAND'/> </layout> </panel> |
|---|
| | 49 | </layout_algorithm> |
|---|
| | 50 | |
|---|
| | 51 | <!-- Top --> |
|---|
| | 52 | <sash_layout sashsize='40,40' edges='wxSASH_BOTTOM,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_TOP'> |
|---|
| | 53 | <panel> |
|---|
| | 54 | <layout orientation='horizontal' sizerOptionDefault='1' > |
|---|
| | 55 | <input sizerOption='10'/> |
|---|
| | 56 | <button label='Top!'/> |
|---|
| | 57 | </layout> |
|---|
| | 58 | </panel> |
|---|
| | 59 | </sash_layout> |
|---|
| | 60 | |
|---|
| | 61 | <!-- Bottom --> |
|---|
| | 62 | <sash_layout sashsize='40,40' edges='wxSASH_TOP,' orientation='wxLAYOUT_HORIZONTAL' alignment='wxLAYOUT_BOTTOM'> |
|---|
| | 63 | <panel> |
|---|
| | 64 | <layout orientation='horizontal' sizerOptionDefault='1' sizerFlagDefault='wxEXPAND'> |
|---|
| | 65 | <button label='Bottom!'/> |
|---|
| | 66 | <text sizerOption='10'/> |
|---|
| | 67 | </layout> |
|---|
| | 68 | </panel> |
|---|
| | 69 | </sash_layout> |
|---|
| | 70 | |
|---|
| | 71 | <!-- Left --> |
|---|
| | 72 | <sash_layout sashsize='200,200' edges='wxSASH_RIGHT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_LEFT'> |
|---|
| | 73 | <column_list columns='"monday", "tuesday", "friday"' /> |
|---|
| | 74 | </sash_layout> |
|---|
| | 75 | |
|---|
| | 76 | <!-- Right --> |
|---|
| | 77 | <sash_layout sashsize='200,200' edges='wxSASH_LEFT,' orientation='wxLAYOUT_VERTICAL' alignment='wxLAYOUT_RIGHT'> |
|---|
| | 78 | <column_list columns='"in", "out", "upside-down"' /> |
|---|
| | 79 | </sash_layout> |
|---|
| | 80 | </panel> |
|---|
| | 81 | </layout> |
|---|
| | 82 | </mdi_child_frame> |
|---|
| | 83 | |
|---|
| | 84 | <mdi_child_frame title='Hello World' show='1'> |
|---|
| | 85 | <icon name='pycon.ico'/> |
|---|
| | 86 | <layout sizerFit='1' sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 87 | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 88 | <layout> |
|---|
| 24 | | <column_list sizerOption='1' sizerFlag='wxEXPAND' columns='"Shane", "William", "Holloway"' /> |
|---|
| 25 | | <tree sizerOption='1' sizerFlag='wxEXPAND' columns='"Shane", "William", "Holloway"' > |
|---|
| 26 | | <image_list /> |
|---|
| 27 | | </tree> |
|---|
| | 90 | <button label='button 1' bgcolor='MEDIUM SLATE BLUE'/> |
|---|
| | 91 | <layout_spacer size='(10, -1)' /> |
|---|
| | 92 | <button label='button 2' bgcolor='#FFAAFF'/> |
|---|
| | 93 | <layout_spacer size='(10, -1)' /> |
|---|
| | 94 | <toggle_button label='toggle button 1' /> |
|---|
| | 95 | <layout_spacer size='(10, -1)' /> |
|---|
| | 96 | <toggle_button label='toggle button 2' /> |
|---|
| | 97 | <layout_spacer size='(10, -1)' /> |
|---|
| | 98 | <line size='(1, 20)' style='wxLI_VERTICAL' sizerFlag='wxEXPAND' /> |
|---|
| | 99 | <layout_spacer size='(10, -1)' /> |
|---|
| | 100 | <check label='check 1' value='1'/> |
|---|
| | 101 | <layout_spacer size='(10, -1)' /> |
|---|
| | 102 | <check label='check 2' value='0'/> |
|---|
| | 103 | <layout_spacer size='(10, -1)' /> |
|---|
| | 104 | <radio label='radio 1' value='1'/> |
|---|
| | 105 | <layout_spacer size='(10, -1)' /> |
|---|
| | 106 | <radio label='radio 2' value='0'/> |
|---|
| 39 | | <button label='button 1' bgcolor='MEDIUM SLATE BLUE'/> |
|---|
| 40 | | <layout_spacer size='(10, -1)' /> |
|---|
| 41 | | <button label='button 2' bgcolor='#FFAAFF'/> |
|---|
| 42 | | <layout_spacer size='(10, -1)' /> |
|---|
| 43 | | <toggle_button label='toggle button 1' /> |
|---|
| 44 | | <layout_spacer size='(10, -1)' /> |
|---|
| 45 | | <toggle_button label='toggle button 2' /> |
|---|
| 46 | | <layout_spacer size='(10, -1)' /> |
|---|
| 47 | | <line size='(1, 20)' style='wxLI_VERTICAL' sizerFlag='wxEXPAND' /> |
|---|
| 48 | | <layout_spacer size='(10, -1)' /> |
|---|
| 49 | | <check label='check 1' value='1'/> |
|---|
| 50 | | <layout_spacer size='(10, -1)' /> |
|---|
| 51 | | <check label='check 2' value='0'/> |
|---|
| 52 | | <layout_spacer size='(10, -1)' /> |
|---|
| 53 | | <radio label='radio 1' value='1'/> |
|---|
| 54 | | <layout_spacer size='(10, -1)' /> |
|---|
| 55 | | <radio label='radio 2' value='0'/> |
|---|
| | 116 | <slider /> |
|---|
| | 117 | <layout_spacer size='(-1, 10)' /> |
|---|
| | 118 | <input /> |
|---|
| 57 | | <layout_spacer size='(-1, 10)' /> |
|---|
| | 120 | <layout_spacer size='(10, -1)' /> |
|---|
| | 121 | <text size='100,100' /> |
|---|
| | 122 | <layout_spacer size='(10, -1)' /> |
|---|
| | 123 | <bitmap> |
|---|
| | 124 | <image name='test_image.jpg' /> |
|---|
| | 125 | </bitmap> |
|---|
| | 126 | </layout> |
|---|
| | 127 | <layout_spacer size='(-1, 10)' /> |
|---|
| | 128 | <layout> |
|---|
| | 129 | <list selection='2'> |
|---|
| | 130 | Shane |
|---|
| | 131 | William |
|---|
| | 132 | Holloway |
|---|
| | 133 | </list> |
|---|
| | 134 | <layout_spacer size='(10, -1)' /> |
|---|
| | 135 | <check_list selection='0'> |
|---|
| | 136 | Shane |
|---|
| | 137 | William |
|---|
| | 138 | Holloway |
|---|
| | 139 | </check_list> |
|---|
| | 140 | <layout_spacer size='(10, -1)' /> |
|---|
| 59 | | <bitmap_button> |
|---|
| 60 | | <image name='test_image.jpg' /> |
|---|
| 61 | | <image name='test_image_dn.jpg' call='Selected' /> |
|---|
| 62 | | </bitmap_button> |
|---|
| 63 | | <layout_spacer size='(10, -1)' /> |
|---|
| 64 | | <layout> |
|---|
| 65 | | <slider /> |
|---|
| 66 | | <layout_spacer size='(-1, 10)' /> |
|---|
| 67 | | <input /> |
|---|
| 68 | | </layout> |
|---|
| 69 | | <layout_spacer size='(10, -1)' /> |
|---|
| 70 | | <text size='100,100' /> |
|---|
| 71 | | <layout_spacer size='(10, -1)' /> |
|---|
| 72 | | <bitmap> |
|---|
| 73 | | <image name='test_image.jpg' /> |
|---|
| 74 | | </bitmap> |
|---|
| 75 | | </layout> |
|---|
| 76 | | <layout_spacer size='(-1, 10)' /> |
|---|
| 77 | | <layout> |
|---|
| 78 | | <list selection='2'> |
|---|
| | 142 | <choice selection='1'> |
|---|
| 109 | | <mdi_child_frame title='Child' show='1'> |
|---|
| 110 | | <layout sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| 111 | | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| 112 | | <layout> |
|---|
| 113 | | <styled_text sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| 114 | | <py:inline> |
|---|
| 115 | | from wxPython.stc import * |
|---|
| 116 | | stc = self.parent().object |
|---|
| 117 | | stc.SetLexer(wxSTC_LEX_XML) |
|---|
| 118 | | stc.SetText(open('test.skin').read()) |
|---|
| 119 | | stc.StyleClearAll() |
|---|
| 120 | | stc.StyleSetSpec(wxSTC_H_DEFAULT, 'fore:#303030') |
|---|
| 121 | | stc.StyleSetSpec(wxSTC_H_TAG, 'fore:#000080') |
|---|
| 122 | | stc.StyleSetSpec(wxSTC_H_ATTRIBUTE, 'fore:#8080ff') |
|---|
| 123 | | stc.StyleSetSpec(wxSTC_H_DOUBLESTRING, 'fore:#404080') |
|---|
| 124 | | stc.StyleSetSpec(wxSTC_H_SINGLESTRING, 'fore:#404080') |
|---|
| 125 | | stc.StyleSetSpec(wxSTC_H_COMMENT, 'back:#c0f0c0') |
|---|
| 126 | | </py:inline> |
|---|
| 127 | | </styled_text> |
|---|
| 128 | | </layout> |
|---|
| 129 | | </panel> |
|---|
| 130 | | </layout> |
|---|
| 131 | | </mdi_child_frame> |
|---|
| | 160 | <mdi_child_frame title='Child' show='1'> |
|---|
| | 161 | <layout sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 162 | <panel sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 163 | <layout> |
|---|
| | 164 | <styled_text sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 165 | <py:inline> |
|---|
| | 166 | stc = self.parent().object |
|---|
| | 167 | stc.SetLexer(wxSTC_LEX_XML) |
|---|
| | 168 | stc.SetText(open('test.skin').read()) |
|---|
| | 169 | stc.StyleClearAll() |
|---|
| | 170 | stc.StyleSetSpec(wxSTC_H_DEFAULT, 'fore:#303030') |
|---|
| | 171 | stc.StyleSetSpec(wxSTC_H_TAG, 'fore:#000080') |
|---|
| | 172 | stc.StyleSetSpec(wxSTC_H_ATTRIBUTE, 'fore:#8080ff') |
|---|
| | 173 | stc.StyleSetSpec(wxSTC_H_DOUBLESTRING, 'fore:#404080') |
|---|
| | 174 | stc.StyleSetSpec(wxSTC_H_SINGLESTRING, 'fore:#404080') |
|---|
| | 175 | stc.StyleSetSpec(wxSTC_H_COMMENT, 'back:#c0f0c0') |
|---|
| | 176 | </py:inline> |
|---|
| | 177 | </styled_text> |
|---|
| | 178 | </layout> |
|---|
| | 179 | </panel> |
|---|
| | 180 | </layout> |
|---|
| | 181 | </mdi_child_frame> |
|---|