Hi.
Test this...
import gtk
class App:
def __init__(self):
self.ventana = gtk.Window()
self.ventana.set_default_size(100, 100)
self.ventana.set_position(gtk.WIN_POS_CENTER)
self.hbox1 = gtk.HBox()
self.hbox2 = gtk.HBox(True)
Tue, 03 Jan 2012 11:31:42 -0300
craf a écrit:
Hi.
Test this...
[...]
self.hbox1 = gtk.HBox()
self.hbox2 = gtk.HBox(True)
self.hbox1.pack_start(self.hbox2, False)
The box in the box. Good call.
Thanks for the tip.
I still don't get the logic of it all : it seems
Il giorno mar, 03/01/2012 alle 14.42 +0100, Jérôme ha scritto:
Hi.
There's something I don't get with the behaviour of homogeneous in Gtk.Box. I
guess there must be a reason for it working this way. I just don't get the
logic.
I may be wrong, but to me it looks the logic is much simpler
Tue, 03 Jan 2012 16:34:37 +0100
Pietro Battiston a écrit:
So if there is no left/right alignment rule, the default is just to
distribute them on all the available space, leaving the same empty space
among them or, if you instead set homogeneous, allocating to each the
same space, which will
And I don't see how to use that if I have two pack_start() and one pack_end()
and want all my objects to be of the same size, like this :
[|abc|| a | | . |]
Hi.
test if it helps
import gtk
class App:
def __init__(self):
self.window = gtk.Window()
Tue, 03 Jan 2012 14:15:19 -0300
craf a écrit:
self.button1.set_size_request(50, -1)
self.button2.set_size_request(50, -1)
self.button3.set_size_request(50, -1)
Cheater !
--
Jérôme
___
pygtk mailing list pygtk@daa.com.au
Arjan Molenaar wrote:
Any plans on preparing an installation for GTK+ 3?
Is your build/release process documented somewhere?
Not sure if there'll be any Python 3000 or GTK+ 3.2 packages,
but probably a 2.24.1 PyGTK.pkg - to match the Win32 offering ?
All the actual development takes
Il giorno mar, 03/01/2012 alle 17.41 +0100, Jérôme ha scritto:
Tue, 03 Jan 2012 16:34:37 +0100
Pietro Battiston a écrit:
So if there is no left/right alignment rule, the default is just to
distribute them on all the available space, leaving the same empty space
among them or, if you