Catching toplevel move and resize

Discussion in 'Python' started by Tuomas, Sep 16, 2006.

  1. Tuomas

    Tuomas Guest

    From a PyGTK component I would like to react moving and resizing the
    toplevel window. I try to connect the toplevel 'frame-event' to my
    callback, but the toplevel do not fire on moving or resizing. Any
    suggestions?

    Tuomas
    (Linux, Python 2.3, GTK 2.6.7)
     
    Tuomas, Sep 16, 2006
    #1
    1. Advertising

  2. Tuomas wrote:

    > From a PyGTK component I would like to react moving and resizing the
    > toplevel window. I try to connect the toplevel 'frame-event' to my
    > callback, but the toplevel do not fire on moving or resizing. Any
    > suggestions?
    >
    > Tuomas
    > (Linux, Python 2.3, GTK 2.6.7)


    You are probably looking for "configure_event".

    // Pontus
     
    Pontus Ekberg, Sep 16, 2006
    #2
    1. Advertising

  3. Tuomas

    Tuomas Guest

    Pontus Ekberg wrote:
    > You are probably looking for "configure_event".


    That's it! Works fine, thanks.

    Tuomas
     
    Tuomas, Sep 16, 2006
    #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. SR
    Replies:
    2
    Views:
    429
  2. Pedro

    Tkinter, toplevel and images

    Pedro, Aug 22, 2008, in forum: Python
    Replies:
    2
    Views:
    539
    Fredrik Lundh
    Aug 23, 2008
  3. Eduardo78
    Replies:
    0
    Views:
    279
    Eduardo78
    Nov 3, 2005
  4. Replies:
    2
    Views:
    1,298
    Adrienne
    Feb 13, 2005
  5. Andrew Tomazos
    Replies:
    2
    Views:
    703
    Nobody
    Dec 12, 2011
Loading...

Share This Page