[pygtk] Dialog
Pietro Battiston
toobaz at email.it
Fri Jan 22 06:13:53 WST 2010
Il giorno gio, 21/01/2010 alle 09.36 +0000, Peyman ha scritto:
> Hello
>
> I recently switched a few of my windows from being of type gtk.Window
> to gtk.Dialog.
If you can show us the code, it will be much simpler...
> I fixed everything so the dialogs show up, but now
> they are HUGE.
In one dimension or both?
> This has to do with the size_request of the horizontal
> boxes (action_area).
How do you know? How are things distributed?
> Both the vbox and the action_area have
> homogeneous=False and spacing=0
What about running
while widget:
print widget, widget.size_request(), widget.get_size_request()
parent = widget.get_parent()
if parent:
try:
print parent.child_get_property('expand')
print parent.child_get_property('fill')
except:
pass
?
When you can't for some reason provide code, please at least provide
lots of informations.
Pietro
More information about the pygtk
mailing list