Re: [pygtk] TreeView and CellRenders

2003-01-14 Thread James Henstridge
Omar Kilani wrote: Hello, I was wondering if someone could advise on a way of doing conditional colouring of cells. Say I have: -|--| one | four | -|--| two | five | -|--| three| six | And I wanted to give each cell a different colour (based on its contents or cell

[pygtk] Pixmap path with libglade

2003-01-14 Thread Ricardo Caesar Lenzi
Hello, I'm testing libglade to use with my application and I have a little doubt with Pixmaps. I have the following directory structure: -+ App root | +-+ glade | +- pixmaps All my pixmaps are in the 'pixmaps' diretory and all glade files are in the 'glade' directory. While design with

Re: [pygtk] TreeView and CellRenders

2003-01-14 Thread Oistein Aanensen
On Tue, 2003-01-14 at 09:44, James Henstridge wrote: Omar Kilani wrote: Hello, I was wondering if someone could advise on a way of doing conditional colouring of cells. Say I have: -|--| one | four | -|--| two | five | -|--| three| six | And I wanted

Re: [pygtk] Pixmap path with libglade

2003-01-14 Thread Christian Reis
On Tue, Jan 14, 2003 at 09:08:44AM -0200, Ricardo Caesar Lenzi wrote: All my pixmaps are in the 'pixmaps' diretory and all glade files are in the 'glade' directory. While design with glade thats all ok, but when I start my application I got the error: Gdk-CRITICAL **: file gdkdraw.c: line

Re: [pygtk] TreeView and CellRenders

2003-01-14 Thread James Henstridge
Oistein Aanensen wrote: On Tue, 2003-01-14 at 09:44, James Henstridge wrote: Omar Kilani wrote: Hello, I was wondering if someone could advise on a way of doing conditional colouring of cells. Say I have: -|--| one | four | -|--| two | five | -|--| three| six

Re: [pygtk] can't find gnome.ui module.

2003-01-14 Thread Johan Dahlin
What can i do to make it work? Try installing pyorbit (http://ftp.gnome.org/pub/GNOME/pyorbit/1.99/), then rebuilding gnome-python. A fair number of gnome libraries require that the CORBA bindings exist. This not precisely the first time we get this sort of question. I think i good

Re: [pygtk] Pixmap path with libglade

2003-01-14 Thread James Henstridge
Ricardo Caesar Lenzi wrote: Hello, I'm testing libglade to use with my application and I have a little doubt with Pixmaps. I have the following directory structure: -+ App root | +-+ glade | +- pixmaps All my pixmaps are in the 'pixmaps' diretory and all glade files are in the 'glade'

Re: [pygtk] Replacing the snake icon for windows on MSWindows

2003-01-14 Thread Rene Olsthoorn
Hans, Christian, Thanks for your input about replacing the snake icon. It's true that the icon embedded in the python.exe is used as the topleft window icon. Perhaps a solution for me is to create an .exe file using p2exe. See http://starship.python.net/crew/theller/py2exe/ That .exe file, I

[pygtk] interesting treeview selection behavior

2003-01-14 Thread Andrew S. Townley
I know that this probably is a GTK+ issue not a pygtk issue, but I was wondering if anyone else had seen this and come up with a suitable workaround using pygtk... Problem: I have a TreeView that is using a ListStore model to supply 1-dimensional data. I have connected the changed signal of

Re: [pygtk] type of bitmap_create_from_data

2003-01-14 Thread Bernhard Herzog
Eddie Kohler [EMAIL PROTECTED] writes: Right, but the actual data string passed to gtk_bitmap_create_from_data() is not a C string, but a packed array of bytes. (Bitmap data.) The correct type for such a string seems to be const-guchar*; if you use const-gchar*, pygtk barfs when you try to

Re: [pygtk] can't find gnome.ui module.

2003-01-14 Thread matlactli ihuan ome acátl
James: I downloaded and built pyorbit (the latest one) and compiled it without any problem. I also rebuilt pygtk and gnome-python. I saw that iumodule.c was built but it did not installed it... What else??? Tnks.. Johan: Great idea about including information about what is to compile and what

[pygtk] more interesting behavior with selections, treeviews andscrolling

2003-01-14 Thread Andrew S. Townley
This time I've included an example of what I'm trying to do. It serves to illustrate both my previous double selection signal issue as well as something different. To watch the first one, make sure the checkbox isn't checked, then click load. Choose a row, say the 4th one, and you'll see the

[pygtk] Pango and french

2003-01-14 Thread mc collilieux
Hello, I am trying to transform onr programm with pygtk 0.6 in pygtk2. It is a list of titles of books in french (with gtk.Treeview) from a mysql base with much é è or à in the titles. I have this error : (liste4.py:1881): WARNING **: Invalid UTF8 string passed to pango_layout_set_text() I read

[pygtk] configure status for gnome-python

2003-01-14 Thread Johan Dahlin
I added some status output to the configure script for gnome-python, so the user will see what modules that's built and not. And if pyorbit isn't found a warning will be printed (with an url) On my system the last 50 lines or so from configure looks like this: configure: creating

Re: [pygtk] Pango and french

2003-01-14 Thread Johan Dahlin
tis 2003-01-14 klockan 21.49 skrev mc collilieux: Hello, I am trying to transform onr programm with pygtk 0.6 in pygtk2. It is a list of titles of books in french (with gtk.Treeview) from a mysql base with much é è or à in the titles. I have this error : (liste4.py:1881): WARNING **: Invalid

[pygtk] GtkClipboard

2003-01-14 Thread John Finlay
These aren't implemented in PyGTK 1.99.x - what's the reason? Are they likely to be implemented in the future? A comment in gtk-types.defs seems to indicate GTK+ 2.2. Thanks John ___ pygtk mailing list [EMAIL PROTECTED]

[pygtk] Problems with gdkpixbuf

2003-01-14 Thread Robert Lowe
I've just installed pygtk 1.99 in hopes of being able to use gdkpixbuf. Now, the bindings in gtk itself do not include the functions to load images from files. So I looked in the faq and it said to import a module called gdkpixbuf. Now, when I attempt this, python cannot find this module. I

Re: [pygtk] more interesting behavior with selections, treeviews and scrolling

2003-01-14 Thread David M. Cook
On Tue, Jan 14, 2003 at 10:20:32PM +, Andrew S. Townley wrote: This time I've included an example of what I'm trying to do. It serves to illustrate both my previous double selection signal issue as well as something different. One thing is that you're passing an integer as a path when (I