Re: [pygtk] Sharing a CellRenderer among two or more columns

2008-04-18 Thread John Finlay
Stéphane Brunet wrote: Hi, I am working on TreeViews using a ListStore model but I couldn't find any answer on this yet: Say I have a ListStore with 4 columns containing strings. They are all be rendered by a CellRendererText object in a separate TreeViewColumn. I have tried to use a single

Re: [pygtk] Label a different font sizes

2008-04-18 Thread Neil Dugan
Vláďa wrote: Thank you for your reply. I know I have to use "set_use_markup(True)". All of the Pango markup attributes work for me except of font size. At the top of the page you are referring there is an example: Blue text So I think my code is correct. The problem is, that the first value

[pygtk] Sharing a CellRenderer among two or more columns

2008-04-18 Thread Stéphane Brunet
Hi, I am working on TreeViews using a ListStore model but I couldn't find any answer on this yet: Say I have a ListStore with 4 columns containing strings. They are all be rendered by a CellRendererText object in a separate TreeViewColumn. I have tried to use a single instance of CellRendere

Re: [pygtk] Automatic actions and gtk.FileChooserButton

2008-04-18 Thread Neil Dugan
Marcus Vinicius Eiffle Duarte wrote: 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 contain

Re: [pygtk] Newbie question

2008-04-18 Thread Christopher Backhouse
When you call gtk.glade.XML it creates everything that is in the glade file. Easiest thing to do is to mark your progress window hidden in the glade file, and then to call show() on it when you need it. Geert Geurts wrote: Thank god I knew I was doing something realy strange... ;) The first wi

Re: [pygtk] Newbie question

2008-04-18 Thread Geert Geurts
Thank god I knew I was doing something realy strange... ;) The first window get buildup at self.gladefile = "/home/geert/Projects/pleintheater_media-server/cd_inserted/cd_inserted.glade" self.wTree = gtk.glade.XML(self.gladefile) the second window gets buildup at the call to gtk.m

Re: [pygtk] Newbie question

2008-04-18 Thread Vláďa
This sounds very strange. Please check your code or post here a simple example. I'm working on an application which is similar to your's (but works with DVDs and video) and everything works fine. Vlada Geert Geurts napsal(a): Hello, I'm a newbie trying to get to know pygtk/gtk so my questio

[pygtk] Newbie question

2008-04-18 Thread Geert Geurts
Hello, I'm a newbie trying to get to know pygtk/gtk so my questions might seem stupid... Sorry for that. I'm trying to write a CDrip application using glade/pygtk. I'm now able to write a program making a gui where you can write the artist album info, and the cd is being ripped when you click the