How to connect multiple class instances to 1 Twisted factory?

Discussion in 'Python' started by Qp, Apr 1, 2004.

  1. Qp

    Qp Guest

    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
    Qp, Apr 1, 2004
    #1
    1. Advertising

  2. Qp

    Qp Guest

    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" <> wrote in message
    news:TWJac.6124$...
    > 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
    >
    >
    >
    Qp, Apr 1, 2004
    #2
    1. Advertising

  3. 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 ().

    -Andrew.
    Andrew Bennetts, Apr 1, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Medi Montaseri
    Replies:
    17
    Views:
    827
    Medi Montaseri
    Sep 3, 2003
  2. John Wohlbier
    Replies:
    2
    Views:
    349
    Josiah Carlson
    Feb 22, 2004
  3. Jean-Paul Calderone
    Replies:
    0
    Views:
    427
    Jean-Paul Calderone
    Jun 17, 2008
  4. C#
    Replies:
    4
    Views:
    381
  5. Glyph
    Replies:
    0
    Views:
    160
    Glyph
    Dec 27, 2012
Loading...

Share This Page