Is this even possible? I'm designing a simple chat and game client/server
as an intro to Python, and it would be nice to represent the different
interfaces (public chat room, private chat rooms, game instances) as totally
seperate classes and show them in totally seperate windows.
Given my basic understanding of Twisted, I see no way of doing this, and my
whole GUI is contained in one class. The project is doable this way, it
would just be much better with multiple class and multiple window
seperation.
If anyone can give me any direction, I would appreciate it very much.
Thanks,
Qp 2 2175
I guess I should say that I am using Tkinter to design my GUIs, and using
the specialized Twisted support code to setup the reactor.
"Qp" <qp@al.net> wrote in message
news:TW*****************@fe03.usenetserver.com... Is this even possible? I'm designing a simple chat and game client/server as an intro to Python, and it would be nice to represent the different interfaces (public chat room, private chat rooms, game instances) as
totally seperate classes and show them in totally seperate windows.
Given my basic understanding of Twisted, I see no way of doing this, and
my whole GUI is contained in one class. The project is doable this way, it would just be much better with multiple class and multiple window seperation.
If anyone can give me any direction, I would appreciate it very much.
Thanks, Qp
On Wed, Mar 31, 2004 at 08:07:00PM -0500, Qp wrote: Is this even possible? I'm designing a simple chat and game client/server as an intro to Python, and it would be nice to represent the different interfaces (public chat room, private chat rooms, game instances) as totally seperate classes and show them in totally seperate windows.
Given my basic understanding of Twisted, I see no way of doing this, and my whole GUI is contained in one class. The project is doable this way, it would just be much better with multiple class and multiple window seperation.
If anyone can give me any direction, I would appreciate it very much.
This sounds feasible to me, although I'm no Tk expert. Try asking on the
Twisted mailing list (tw************@twistedmatrix.com).
-Andrew. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sridhar R |
last post by:
Consider the code below,
class Base(object):
pass
class Derived(object):
def __new__(cls, *args, **kwds):
# some_factory returns an instance of Base
# and I have to derive from this...
|
by: Rico Huijbers |
last post by:
Does anybody have experience in writing Jabber clients with Twisted? I
came across a simple sample, and tried to build out from it, but for
some reason it's barely working.
When I run the...
|
by: Johan Bergman |
last post by:
Hi,
Maybe someone can help me with this one. The following describes a
somewhat simplified version of my problem, but I think it will be
sufficient.
I want to use class factories (virtual...
|
by: Aguilar, James |
last post by:
My previous example used the concept of a Shape class heirarchy, so I will
continue with that.
Suppose I have something like fifty different shapes, and I am trying to
instantiate one of them. ...
|
by: Manuel Massing |
last post by:
Hi,
I was wondering if there is an easy way to keep track of all allocations
issued by instances of a specific class and its subclasses (i.e. keep track
of memory consumption of the class...
|
by: Jassim Rahma |
last post by:
I would like to know what is the best way to onnect to connect to a
database in general which provides you with full functionality & fast
access?
Best Regards,
Jassim Rahma
*** Sent via...
|
by: pgrazaitis |
last post by:
I cant seem to get my head wrapped around this issue, I have myself so
twisted now there maybe no issue!
Ok so I designed a class X that has a few members, and for arguments
sake one of the...
|
by: Steven D'Aprano |
last post by:
I have a class which is not intended to be instantiated. Instead of using
the class to creating an instance and then operate on it, I use the class
directly, with classmethods. Essentially, the...
|
by: Bit Byter |
last post by:
I want to write a (singleton) container for instances of my class
templates, however, I am not too sure on how to:
1). Store the instances
2). How to write the acccesor method (instance()) to...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |