RE: [pygtk] Loading images

2003-07-24 Thread "Heiße, Gerd"
Hi! Christian Reis wrote on Thursday, July 24, 2003 3:25 PM: >Fair enough. What is gdk.Pixbuf for, in that case? > >(I suspect somebody's going to tell me it allows you to do in-core >manipulation images; am I right?) Yep, it's great for stuff like scaling and blitting imagedata (with alpha ch

[pygtk] [gnome-python] How do I get the current color fromColorPicker?

2003-07-24 Thread ddt
Hi I saw in gnome api docs that gnome_color_picker_get_* functions. But gnome.ui.ColorPicker doesn't have get_d, get_i8 functions. How do I get the current co

Re: [pygtk] segfault in gtk.glade.XML

2003-07-24 Thread James Henstridge
Don Allingham wrote: On Thu, 2003-07-24 at 21:52, James Henstridge wrote: If there is no gnome.ui module, then it is not possible to initialise the libgnomeui library. libglade is not guaranteed to function if you do not initialise the libraries you use. I built the missing pyorbit (1.9

Re: [pygtk] segfault in gtk.glade.XML

2003-07-24 Thread Don Allingham
On Thu, 2003-07-24 at 21:52, James Henstridge wrote: > If there is no gnome.ui module, then it is not possible to initialise > the libgnomeui library. libglade is not guaranteed to function if you > do not initialise the libraries you use. I built the missing pyorbit (1.99.5) package, and rebui

Re: [pygtk] segfault in gtk.glade.XML

2003-07-24 Thread James Henstridge
Don Allingham wrote: I've been attempting to port pygtk-1.99.14 and gnome-python-1.99.14 to SuSE 8.2 because the packages SuSE shipped are rather broken (built without gnome.ui). I've been able to build the packages, but when I run my application, I get a segfault in the glade_xml_new call. At thi

Re: [pygtk] gnome.ui in SuSE Linux 8.2

2003-07-24 Thread James Henstridge
Jon Willeke wrote: Sorry for not replying to the original message, but I only just subscribed. I was just looking into this, myself. I installed SuSE Linux 8.2 Personal, then installed a bunch of packages from mirror sites. I usually use Red Hat, so I'm a little out of my element. If you tr

Re: [pygtk] segfault in gtk.glade.XML

2003-07-24 Thread Don Allingham
Yes, gnome.ui is imported before glade is. The program works properly on most linux distributions. The program has been properly init'ed, and the glade file is a glade2 file. The program works properly under 1.99.14 under RedHat and other distributions. I can even duplicate with a very small pyt

Re: [pygtk] segfault in gtk.glade.XML

2003-07-24 Thread Christian Reis
On Thu, Jul 24, 2003 at 08:51:42PM -0600, Don Allingham wrote: > I've been attempting to port pygtk-1.99.14 and gnome-python-1.99.14 to > SuSE 8.2 because the packages SuSE shipped are rather broken (built > without gnome.ui). I've been able to build the packages, but when I run > my application, I

[pygtk] segfault in gtk.glade.XML

2003-07-24 Thread Don Allingham
I've been attempting to port pygtk-1.99.14 and gnome-python-1.99.14 to SuSE 8.2 because the packages SuSE shipped are rather broken (built without gnome.ui). I've been able to build the packages, but when I run my application, I get a segfault in the glade_xml_new call. At this point, I'm kind of

Re: [pygtk] gnome.ui in SuSE Linux 8.2

2003-07-24 Thread Christian Reis
On Thu, Jul 24, 2003 at 06:18:28PM -0400, Jon Willeke wrote: > It seems that SuSE doesn't ship PyORBit. The python-orbit-1.99.0 package > is actually ORBit-Python 0.3.1. E, what a mess. :-( Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/

[pygtk] gnome.ui in SuSE Linux 8.2

2003-07-24 Thread Jon Willeke
Sorry for not replying to the original message, but I only just subscribed. I was just looking into this, myself. I installed SuSE Linux 8.2 Personal, then installed a bunch of packages from mirror sites. I usually use Red Hat, so I'm a little out of my element. If you try to rebuild the pyt

Re: [pygtk] Unicode output with PyGTK

2003-07-24 Thread Christian Reis
On Fri, Jul 25, 2003 at 01:00:50AM +0300, Tõnis Märtmaa wrote: > Maybe it could be put somewhere in the faq too? Sure. http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq04.010.htp Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55

Re: [pygtk] Unicode output with PyGTK

2003-07-24 Thread Tõnis Märtmaa
Thank you, it worked! Maybe it could be put somewhere in the faq too? ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Re: [pygtk] Unicode output with PyGTK

2003-07-24 Thread Claudemir Todo Bom
Em Qui, 2003-07-24 às 17:28, Tõnis Märtmaa escreveu: How would I convert a string in ISO 8859-15 to unicode? With unicode () I thought but when I send the unicode string produced by unicode () to PyGTKs output (labels, etc) then I get this error message: ** (Opil.py:10892): WARNIN

[pygtk] Unicode output with PyGTK

2003-07-24 Thread Tõnis Märtmaa
How would I convert a string in ISO 8859-15 to unicode? With unicode () I thought but when I send the unicode string produced by unicode () to PyGTKs output (labels, etc) then I get this error message: ** (Opil.py:10892): WARNING **: Invalid UTF8 string passed to pango_layout_set_text() Also it

Re: [pygtk] Loading images

2003-07-24 Thread Christian Reis
On Thu, Jul 24, 2003 at 03:21:53PM +0200, Carlos Garcia Campos wrote: > El jue, 24-07-2003 a las 15:12, Christian Reis escribió: > > On Wed, Jul 23, 2003 at 01:39:28PM +0200, Carlos Garcia Campos wrote: > > > > > > > > > > I'm trying to load some png images, and I used to use the GdkImLib > > > >

Re: [pygtk] Loading images

2003-07-24 Thread Carlos Garcia Campos
El jue, 24-07-2003 a las 15:12, Christian Reis escribió: > On Wed, Jul 23, 2003 at 01:39:28PM +0200, Carlos Garcia Campos wrote: > > > > > > > > I'm trying to load some png images, and I used to use the GdkImLib > > > > image = gtk.Image() > > image.set_from_file(filename) > > > > What about >

Re: [pygtk] Loading images

2003-07-24 Thread Christian Reis
On Wed, Jul 23, 2003 at 01:39:28PM +0200, Carlos Garcia Campos wrote: > > > > > > I'm trying to load some png images, and I used to use the GdkImLib > > image = gtk.Image() > image.set_from_file(filename) > What about import gtk pixbuf = gtk.gdk.pixbuf_new_from_file(imagefilename) li