| | 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> |
|---|
| | 132 | |
|---|
| | 133 | <mdi_child_frame title='Child' show='1'> |
|---|