[pygtk] Window Resize ?

Steve McClure smcclure at racemi.com
Mon Sep 26 21:38:04 WST 2005


On Mon, 2005-09-26 at 09:35 +0530, Somesh Bartakke wrote:
> 1. I have PyGTK 0.6  (Old GTK+ 1.2 stuff)
> 2. Created a main window with a Paned widget inside it.
> 3. I want it to resize the pane size along with resizing the main window.
> 
> i couldnt get which event/signal to be trapped and how to get the length and
> width of window after resizing ...

The pane should resize automatically as the parent is resized.  Each
child of the pane can be controlled, as far as resizing behavior, by
passing flags when calling the GtkPaned.add() method.

> pl need some help and main problem is that THE DOCUMENT is not available for
> that version of PyGTK as there is for current one ..

I've been using the source for quite a while, along with help() inside
the interpreter.  There is also some info in /usr/share/doc/pygtk*

I doubt the Paned widget has changed much so the new doc might apply
directly.

> 
> 
> - Somesh
> 
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Steve McClure                                           Racemi
email: smcclure at racemi.com                              75 5th St NE
voice: 404-892-5850                                     Suite 333
fax: 404-892-7215                                       Atlanta, GA 30308
                                                        http://www.racemi.com




More information about the pygtk mailing list