[pygtk] Automatic actions and gtk.FileChooserButton

2008-04-16 Thread Marcus Vinicius Eiffle Duarte
Hi, folks! Sorry if this question seems silly, but I am rather new to python and a total newbie regarding Gtk programming, I googled a lot for a solution to my problem and couldn't find something that worked for me. I created a GUI using Glade, which contains a FileChooserButton. On startup,

[pygtk] Populate Glade combobox in Python-script

2008-04-16 Thread Timo
I made a GUI with Glade, but since Glade freezes when trying to enter items to a combobox, I want to try it through my Python-script. But what is the best/easiest way to do this? Timo ___ pygtk mailing list pygtk@daa.com.au

Re: [pygtk] Populate Glade combobox in Python-script

2008-04-16 Thread John Finlay
Timo wrote: I made a GUI with Glade, but since Glade freezes when trying to enter items to a combobox, I want to try it through my Python-script. But what is the best/easiest way to do this? Check out: http://pygtk.org/pygtk2tutorial/sec-ComboBoxAndComboboxEntry.html John

Re: [pygtk] Populate Glade combobox in Python-script

2008-04-16 Thread Johan Dahlin
John Finlay wrote: Timo wrote: I made a GUI with Glade, but since Glade freezes when trying to enter items to a combobox, I want to try it through my Python-script. But what is the best/easiest way to do this? Check out: http://pygtk.org/pygtk2tutorial/sec-ComboBoxAndComboboxEntry.html Or

[pygtk] Label a different font sizes

2008-04-16 Thread Vláďa
Hi, I have a question regarding labels and Pango. I want to use different sizes of font, but unfortunately it doesn't work. If I use self.label = gtk.Label('span size=14Text 1/span\nspan size=10Text 2/span') then only the first size definition (14) is taken into account. The second line

Re: [pygtk] Label a different font sizes

2008-04-16 Thread John Finlay
Vláďa wrote: Hi, I have a question regarding labels and Pango. I want to use different sizes of font, but unfortunately it doesn't work. If I use self.label = gtk.Label('span size=14Text 1/span\nspan size=10Text 2/span') then only the first size definition (14) is taken into account. The