GTK: size of children of GtkVPaned

From: Roger That (fabsk+news_at_free.fr)
Date: 09/05/04

  • Next message: ilias: "unix network programing help!"
    Date: Sun, 05 Sep 2004 13:29:37 +0200
    
    

    Hi,

    I am writing a simple tool in Python using GTK2 (glade). My window has
    GtkVPaned with two GtkTreeView (each in a GtkScolledWindow). By default,
    when I resize my window, the upper Tree keeps the same size and the lower
    one is resized like the main window. I would like to have the opposite
    behaviour.
    Is there a simple to do it ? I could do some processing when the main
    window is resized, but maybe there is a simpler way (less code, less bugs).

    Thanks for your attention.


  • Next message: ilias: "unix network programing help!"

    Relevant Pages

    • Re: Outlook Custom form - resize event handling
      ... Is Inspector represents the message window itself? ... hook on the form and will resize... ... I used standard Message template and added custom control on ...
      (microsoft.public.office.developer.com.add_ins)
    • Re: Tkinter question
      ... How do I get Python to display the draw window, ... You don't need at all to resize the slave explicitely. ... You get the size for the outer window and apply it to the canvas ...
      (comp.lang.python)
    • Re: WMP control resizing
      ... > getting the WMP9 activex control in a window and playing movies etc. ... when you want to resize the control in MFC, ...
      (microsoft.public.windowsmedia.sdk)
    • Re: Resizing Motif/Xaw/Xlib apps vs. resizing GTK/Qt apps, and how to speed up an Xlib app
      ... experiencing difficulties with resize events. ... And the contents of my window are lagging up really badly because ... window system that wasn't based on X11, and I've worked with X11 for years. ... the application receives a ConfigureNotify due to step 4 and at some ...
      (comp.windows.x)
    • Re: Best way of finding terminal width/height?
      ... effect on readcalls that are pending on other things. ... if I do this instead (try to use keyboard to push stuff into stdin): ... line of text and then resize the window (one unterminated line ...
      (comp.lang.python)