[wxPython] keeping track of multiple windows?

yeah, that isn't quite what i'm looking for. if anyone has AOL Instant Messanger or GAIM, i'm looking for a way to have the main window (buddylist) and the child windows seperate (im/chat windows)
-z

···

---------------------
(o_ z3p@z3p.org
//\ www.z3p.org
V_/_

It is true that liberty is precious, but is it so precious it must be rationed?
-----Original Message-----
From: Chris Fama <Chris.Fama@uq.net.au>
To: wxpython-users@lists.sourceforge.net <wxpython-users@lists.sourceforge.net>
Date: Tuesday, December 19, 2000 4:16 AM
Subject: RE: [wxPython] keeping track of multiple windows?

Just off the top of my head, look at such things as wxMDIParentFrame and
wxMDIChildFrame, and other clusters referred to it the appropriate
Overview...

I think (based merely on the names, I haven't read the documentation for
these apart from a risk steam months ago) that you simply create an instance
of the former as an alternative to a wxFrame for a single-window
application--this will be your "main" frame--and multiple instances of the
latter, as children of the former, for your other frames.

Hope I haven't embarrassed myself here!

Cheerio,

Chris

-------------------------------------------------------------------------
Chris Fama <mailto:Chris.Fama@uq.net.au> Phone:(07) 3870 5639
Brisbane, Australia Mobile:(0400) 833 700
-------------------------------------------------------------------------
"This 'telephone' has too many shortcomings to be seriously
considered as a means of communication. The device is inherently of
no value to us."
--Western Union internal memo, 1876.

-----Original Message-----
From: wxpython-users-admin@lists.sourceforge.net
[mailto:wxpython-users-admin@lists.sourceforge.net]On Behalf Of z3p
Sent: Tuesday, 19 December 2000 11:58 AM
To: wxpython-users@lists.sourceforge.net
Subject: [wxPython] keeping track of multiple windows?

ok, i'm sure everyone's tired of hearing questions from me, but i
have another one. i'm writing a chat app, and when a message
comes in from a user, i need it to go to a window specificially
set up for that user. i tried keeping track of the windows with
a dictionary, but the windows do not seem to be destructed
correctly when the close button is clicked, and come up and lock
when the program is minimized. then, i tried just creating the
windows and having a function loop through self.GetChildren(),
but that did not keep track of the windows. my question is, how
do i keep track of multiple windows, yet still have them destruct
correctly?
-z
---------------------
(o_ z3p@z3p.org
//\ www.z3p.org
V_/_

It is true that liberty is precious, but is it so precious it
must be rationed?

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

Sorry I didn't check the documentation first... apparently you can (at least
according to the docs) use wxFrame's instead of wxMDIChildFrame's (the
latter, of course, aren't really "frames" at all)... but still use a
wxMDIParentFrame as your "main" frame... that way you apparently still get
the "Windows" menu and such...

Hope I haven't just dug a deeper hole for myself... ::sunglasses:

Chris

···

-------------------------------------------------------------------------
Chris Fama <mailto:Chris.Fama@uq.net.au> Phone:(07) 3870 5639
Brisbane, Australia Mobile:(0400) 833 700
-------------------------------------------------------------------------
I desire therefore that the men pray everywhere, lifting up holy hands,
without wrath and doubting. - 1 Timothy 2:8

-----Original Message-----
From: wxpython-users-admin@lists.sourceforge.net
[mailto:wxpython-users-admin@lists.sourceforge.net]On Behalf Of z3p
Sent: Wednesday, 20 December 2000 2:52 AM
To: wxpython-users@lists.sourceforge.net
Subject: Re: [wxPython] keeping track of multiple windows?

yeah, that isn't quite what i'm looking for. if anyone has AOL
Instant Messanger or GAIM, i'm looking for a way to have the main
window (buddylist) and the child windows seperate (im/chat windows)
-z
---------------------
(o_ z3p@z3p.org
//\ www.z3p.org
V_/_

It is true that liberty is precious, but is it so precious it
must be rationed?
-----Original Message-----
From: Chris Fama <Chris.Fama@uq.net.au>
To: wxpython-users@lists.sourceforge.net
<wxpython-users@lists.sourceforge.net>
Date: Tuesday, December 19, 2000 4:16 AM
Subject: RE: [wxPython] keeping track of multiple windows?

>Just off the top of my head, look at such things as wxMDIParentFrame and
>wxMDIChildFrame, and other clusters referred to it the appropriate
>Overview...
>
>I think (based merely on the names, I haven't read the documentation for
>these apart from a risk steam months ago) that you simply create
an instance
>of the former as an alternative to a wxFrame for a single-window
>application--this will be your "main" frame--and multiple
instances of the
>latter, as children of the former, for your other frames.
>
>Hope I haven't embarrassed myself here!
>
>Cheerio,
>
>Chris
>
>-------------------------------------------------------------------------
>Chris Fama <mailto:Chris.Fama@uq.net.au> Phone:(07) 3870 5639
>Brisbane, Australia Mobile:(0400) 833 700
>-------------------------------------------------------------------------
>"This 'telephone' has too many shortcomings to be seriously
>considered as a means of communication. The device is inherently of
>no value to us."
> --Western Union internal memo, 1876.
>
>
>> -----Original Message-----
>> From: wxpython-users-admin@lists.sourceforge.net
>> [mailto:wxpython-users-admin@lists.sourceforge.net]On Behalf Of z3p
>> Sent: Tuesday, 19 December 2000 11:58 AM
>> To: wxpython-users@lists.sourceforge.net
>> Subject: [wxPython] keeping track of multiple windows?
>>
>>
>> ok, i'm sure everyone's tired of hearing questions from me, but i
>> have another one. i'm writing a chat app, and when a message
>> comes in from a user, i need it to go to a window specificially
>> set up for that user. i tried keeping track of the windows with
>> a dictionary, but the windows do not seem to be destructed
>> correctly when the close button is clicked, and come up and lock
>> when the program is minimized. then, i tried just creating the
>> windows and having a function loop through self.GetChildren(),
>> but that did not keep track of the windows. my question is, how
>> do i keep track of multiple windows, yet still have them destruct
>> correctly?
>> -z
>> ---------------------
>> (o_ z3p@z3p.org
>> //\ www.z3p.org
>> V_/_
>>
>> It is true that liberty is precious, but is it so precious it
>> must be rationed?
>>
>>
>>
>> _______________________________________________
>> wxPython-users mailing list
>> wxPython-users@lists.sourceforge.net
>> http://lists.sourceforge.net/mailman/listinfo/wxpython-users
>>
>
>
>_______________________________________________
>wxPython-users mailing list
>wxPython-users@lists.sourceforge.net
>http://lists.sourceforge.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users