Seg, 2005-12-12 às 15:17 +0100, tjas ni escreveu:
> Hi
> 
> I've got a gtk.VBox(False, 0) to hold some of my content.
> But that content is aligned at the center.
> So I wonder how I can make my content (gtk.Label) to be justified to
> the left of my box.
> Do I need to create an Hbox inside my Vbox?

try: label.set_alignment(0, 0.5)

http://www.pygtk.org/pygtk2reference/class-gtkmisc.html#method-gtkmisc--set-alignment

> 
> 
> Thanks for any input!
> 
> 
> 
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to