| 30 | | <column_list size='(250, 500)' sizerOption='1' sizerFlag='wxEXPAND' columns='"Contact", "Status"' style='wxLC_NO_HEADER' /> |
|---|
| | 30 | <notebook size='(250, 500)' sizerOption='1' sizerFlag='wxEXPAND'> |
|---|
| | 31 | <column_list pagename='Chat' bgcolor='(250, 250, 255)' columns='"Contact", "Status"' style='wxLC_NO_HEADER' /> |
|---|
| | 32 | <column_list pagename='Group Chat' bgcolor='(250, 255, 250)' columns='"Chat Room"' style='wxLC_NO_HEADER' /> |
|---|
| | 33 | <styled_text pagename='System Messages' bgcolor='(255, 250, 250)'> |
|---|
| | 34 | <py:inline> |
|---|
| | 35 | from wxPython.stc import * |
|---|
| | 36 | stc = self.parent().object |
|---|
| | 37 | stc.SetLexer(wxSTC_LEX_PYTHON) |
|---|
| | 38 | stc.SetText(open('client.py').read()) |
|---|
| | 39 | stc.StyleClearAll() |
|---|
| | 40 | stc.StyleSetSpec(wxSTC_P_DEFAULT, 'fore:#000000') |
|---|
| | 41 | stc.StyleSetSpec(wxSTC_P_IDENTIFIER, 'fore:#3333FF') |
|---|
| | 42 | </py:inline> |
|---|
| | 43 | </styled_text> |
|---|
| | 44 | </notebook> |
|---|
| 32 | | <layout_spacer size='(-1, 2)' /> |
|---|
| 33 | | <layout sizerFlag='wxEXPAND'> |
|---|
| 34 | | <layout_spacer size='(2, -1)' /> |
|---|
| 35 | | <button sizerOption='1' size='(80, -1)' label='Send Message'/> |
|---|
| 36 | | <layout_spacer size='(2, -1)' /> |
|---|
| 37 | | <button sizerOption='1' size='(80, -1)' label='Cancel'/> |
|---|
| 38 | | <layout_spacer size='(2, -1)' /> |
|---|
| 39 | | </layout> |
|---|
| 40 | | <layout_spacer size='(-1, 2)' /> |
|---|