2 |
|
|
3 |
# $Id$ |
# $Id$ |
4 |
# $Log$ |
# $Log$ |
5 |
|
# Revision 1.4 2004/08/27 21:14:02 xabbu |
6 |
|
# TopicDetails can now be closed. |
7 |
|
# GUI change on Preferences Dialog in order to prepare multiple server profiles. |
8 |
|
# Small bugfixes to get the new topic windows working on posix platform. |
9 |
|
# |
10 |
# Revision 1.3 2004/08/27 04:47:35 joko |
# Revision 1.3 2004/08/27 04:47:35 joko |
11 |
# instance of FraggleEngine now available in self.engine |
# instance of FraggleEngine now available in self.engine |
12 |
# added event handler "OnTopicListBoxListboxDclick" and logic to open "FraggleTopicDetailFrame"s |
# added event handler "OnTopicListBoxListboxDclick" and logic to open "FraggleTopicDetailFrame"s |
34 |
def _init_ctrls(self, prnt): |
def _init_ctrls(self, prnt): |
35 |
# generated method, don't edit |
# generated method, don't edit |
36 |
wxMDIChildFrame.__init__(self, id=wxID_FRAGGLETOPICFRAME, name='', |
wxMDIChildFrame.__init__(self, id=wxID_FRAGGLETOPICFRAME, name='', |
37 |
parent=prnt, pos=wxPoint(352, 280), size=wxSize(177, 219), |
parent=prnt, pos=wxPoint(494, 328), size=wxSize(169, 192), |
38 |
style=wxSIMPLE_BORDER | wxDEFAULT_FRAME_STYLE, title='Topics') |
style=wxSIMPLE_BORDER | wxDEFAULT_FRAME_STYLE, title='Topics') |
39 |
|
self._init_utils() |
40 |
self.SetClientSize(wxSize(169, 192)) |
self.SetClientSize(wxSize(169, 192)) |
41 |
|
|
42 |
self.updateButton = wxButton(id=wxID_FRAGGLETOPICFRAMEUPDATEBUTTON, |
self.updateButton = wxButton(id=wxID_FRAGGLETOPICFRAMEUPDATEBUTTON, |
52 |
wxID_FRAGGLETOPICFRAMETOPICLISTBOX, |
wxID_FRAGGLETOPICFRAMETOPICLISTBOX, |
53 |
self.OnTopicListBoxListboxDclick) |
self.OnTopicListBoxListboxDclick) |
54 |
|
|
55 |
|
def _init_utils(self): |
56 |
|
# generated method, don't edit |
57 |
|
pass |
58 |
|
|
59 |
def __init__(self, parent, config): |
def __init__(self, parent, config): |
60 |
self.parent = parent |
self.parent = parent |
61 |
self.config = config |
self.config = config |