Re: [pygtk] Help with box layout

2010-03-15 Thread Nikolaus Rath
| -vbox.pack_start(self.make_shot_box(), False) | + vbox.pack_start(self.make_shot_box(), False, False) Isn't the third parameter to pack_start ignored anyway if the second one is False? No! the prototype is : def pack_start(child, expand=True, fill=True, padding=0) So

Re: [pygtk] Help with box layout

2010-03-15 Thread Timo
On 15-03-10 15:30, Nikolaus Rath wrote: | + box.pack_start(gtk.Label(''), True, True, 0) What is this for? It (and its mate further along) are there to use up the available space in 'box' to make the other widgets as small as possible, and to thereby cause them to be centralized.

[pygtk] ANNOUNCE: Gaphor 0.15.0

2010-03-15 Thread Arjan Molenaar
Hi all, I'm pleased to announce a new major release of Gaphor: 0.15.0 Gaphor is a UML modelling tool, written in Python. This makes it very easy to use (and very easy to extend -- and to write ;-) ). Install gaphor simply using easy-install: $ easy-install gaphor You can find the sources at

Re: [pygtk] Help with box layout

2010-03-15 Thread Neil Dugan
Nikolaus Rath wrote: | -vbox.pack_start(self.make_shot_box(), False) | + vbox.pack_start(self.make_shot_box(), False, False) Isn't the third parameter to pack_start ignored anyway if the second one is False? No! the prototype is : def pack_start(child, expand=True,