[pygtk] Re: [Glade-users] Translation, gtk labels, and gettext

2007-12-07 Thread Caleb Marcus
On Fri, 2007-12-07 at 14:42 -0200, Tristan Van Berkom wrote: On Dec 7, 2007 4:06 AM, Caleb Marcus [EMAIL PROTECTED] wrote: I'm now having issues with glade and gettext. I can run xgettext directly on the glade file, but that just produces a file with ALL the strings

Re: [pygtk] Translation, gtk labels, and gettext

2007-12-06 Thread Caleb Marcus
On Dec 6, 2007 3:38 AM, Ed Catmur [EMAIL PROTECTED] wrote: On Thu, 2007-12-06 at 00:49 -0500, Caleb Marcus wrote: I'm planning to make my application translatable with gettext. Do I have to make the text in my gtk stock buttons and things like that use gettext, or will they automatically

[pygtk] Re: Translation, gtk labels, and gettext

2007-12-06 Thread Caleb Marcus
I'm now having issues with glade and gettext. I can run xgettext directly on the glade file, but that just produces a file with ALL the strings, not just the translatable ones. I can run intltool-extract on the glade file to produce a .h file, but running xgettext on the result doesn't produce any

[pygtk] Translation, gtk labels, and gettext

2007-12-05 Thread Caleb Marcus
I'm planning to make my application translatable with gettext. Do I have to make the text in my gtk stock buttons and things like that use gettext, or will they automatically translate due to their use of gtk stock things? signature.asc Description: This is a digitally signed message part

[pygtk] ListStore iter vs. path

2007-12-03 Thread Caleb Marcus
I'm just starting to learn PyGTK and GUI programming in general, and Tree/ListViews confuse me tremendously. One question I have is, what's the difference between iters and paths? It seems like paths are much easier to use, because I can simply use model[path][column] to access any part of the

[pygtk] context menus for ListViews

2007-12-03 Thread Caleb Marcus
How can I create context menus for ListView elements? The PyGTK Tutorial doesn't go into this, and I can't follow the GtkTreeView tutorial as it's not in Python. signature.asc Description: This is a digitally signed message part ___ pygtk mailing list

Re: [pygtk] Formatting in labels

2007-12-02 Thread Caleb Marcus
On Sun, 2007-12-02 at 11:05 +0100, Gian Mario Tagliaretti wrote: 2007/12/2, Caleb Marcus [EMAIL PROTECTED]: Hi Caleb, I'm trying to format the text in a label in my dialog to match the example text in the image I've attached, which came from the Gnome HIG. How can I do this? From

Re: [pygtk] Formatting in labels

2007-12-02 Thread Caleb Marcus
On Sun, 2007-12-02 at 11:54 -0800, Dog Walker wrote: gtk.Label.set_markup('bMake this bold/b, please') Thanks, that worked quite well. signature.asc Description: This is a digitally signed message part ___ pygtk mailing list pygtk@daa.com.au

[pygtk] Formatting in labels

2007-12-01 Thread Caleb Marcus
I'm trying to format the text in a label in my dialog to match the example text in the image I've attached, which came from the Gnome HIG. How can I do this? attachment: image2.png signature.asc Description: This is a digitally signed message part ___

Re: [pygtk] Trouble with TreeViews

2007-11-12 Thread Caleb Marcus
Yeah, I just figured that out :) On Mon, 2007-11-12 at 08:11 +0100, Yann Leboulanger wrote: Caleb Marcus a écrit : I've read those, but I can't quite understand how to get it to work. I've attached a glade XML file and a Python file that I'm using to test the ability to manipulate

[pygtk] Trouble with TreeViews

2007-11-11 Thread Caleb Marcus
I'm pretty new to Python, and days-new to GTK, and the TreeView widget is confusing the hell out of me... is there a good guide to using it? signature.asc Description: This is a digitally signed message part ___ pygtk mailing list pygtk@daa.com.au

Re: [pygtk] Trouble with TreeViews

2007-11-11 Thread Caleb Marcus
not working... could anyone help me get this figured out? If you're running it, you'll need python-glade, and both files will need to be in the same directory. On Sun, 2007-11-11 at 19:21 +0100, Gian Mario Tagliaretti wrote: 2007/11/11, Caleb Marcus [EMAIL PROTECTED]: I'm pretty new to Python

Re: [pygtk] Trouble with TreeViews

2007-11-11 Thread Caleb Marcus
Aha, I figured out what I did wrong. On Sun, 2007-11-11 at 17:02 -0500, Caleb Marcus wrote: I've read those, but I can't quite understand how to get it to work. I've attached a glade XML file and a Python file that I'm using to test the ability to manipulate TreeViews in Python. I'm just