Re: Display grayscale image

2007-08-31 Thread jcupitt
On 8/31/07, Jim George <[EMAIL PROTECTED]> wrote: > On 8/30/07, Marco Brambilla <[EMAIL PROTECTED]> wrote: > > Is there a easy way of displaying such an image "as is" (single channel) ? > > Or must I convert it each pixel to > > the a RGB triplet needed by gtk_pixbuf_new_from_data ? > > You could

libglade problems under win32

2007-08-31 Thread carlo
Hello all, now that Glade-3 has entered into Debian testing repositories, it's time for me to abandon the (long time) deprecated code generation and definetely switch over to libglade. The porting of application on which I'm currently working has been quite straightforward under Linux; problems a

How to convert a jpg image to a GtkImage ?

2007-08-31 Thread Gregory Hosler
Hi all, I have an application, that amoung other things, is receiving a jpg file from a network connection. Once that file is in memory (it's relatively small), I wish to load it into a GtkImage (so that I can display it, e.g. by adding the GtkImage to a vbox, or something like that). I've been t

Re: libglade problems under win32

2007-08-31 Thread Eduardo M KALINOWSKI
carlo wrote: > Hello all, > > now that Glade-3 has entered into Debian testing repositories, it's time > for me to abandon the (long time) deprecated code generation and > definetely switch over to libglade. > > The porting of application on which I'm currently working has been quite > straightforw

How to compile and link GTK2 Programms tobe compatibe with XFree86 and Xorg

2007-08-31 Thread [EMAIL PROTECTED]
Hello I changed my developping system now the system openSuse uses Xorg the old system used XFree86 Installed gtk 2.8 or Building the exexutable now libraries from Xorg are included like libXfixes.so.3 org LivXinarema.so.1 or libglitz.so.1 the executeable does not run under systems using XFree

Re: Simple question - accelerator keys

2007-08-31 Thread Stefan Kost
Hi, I am currently trying to figure out something simillar. Unfortunately it seems that accelerators are only used for menues in most applications. If you check gnome-bugzilla - it has several open bugs for accelerators. I recently fixed one and right now prepared a test program for another. Lets

Re: How to compile and link GTK2 Programms tobe compatibe with XFree86 and Xorg

2007-08-31 Thread Yeti
On Fri, Aug 31, 2007 at 10:21:52PM +0200, [EMAIL PROTECTED] wrote: > I changed my developping system now the system openSuse uses > Xorg the old system used XFree86 > Installed gtk 2.8 or > > Building the exexutable now libraries from Xorg are included > like libXfixes.so.3 org > LivXinarema.so

How to detect display speed in custom widget?

2007-08-31 Thread Daniel Yek
Hi, I'm wondering if anybody is experienced in writing smart widget that would react differently depending on whether the current display is local/fast for graphics animation or remote/slow where all animation should be kept to the minimum? What techniques are suitable for drawing speed detect

Re: How to compile and link GTK2 Programms tobe compatibe with XFree86 and Xorg

2007-08-31 Thread Daniel Yek
David Nečas (Yeti) wrote: > On Fri, Aug 31, 2007 at 10:21:52PM +0200, [EMAIL PROTECTED] wrote: > >> I changed my developping system now the system openSuse uses >> Xorg the old system used XFree86 >> Installed gtk 2.8 or >> >> Building the exexutable now libraries from Xorg are included >> li

Re: How to convert a jpg image to a GtkImage ?

2007-08-31 Thread Mike Melanson
Gregory Hosler wrote: > Hi all, > > I have an application, that amoung other things, is receiving a jpg file > from a network connection. Once that file is in memory (it's relatively > small), I wish to load it into a GtkImage (so that I can display it, > e.g. by adding the GtkImage to a vbox, or

Re: How to convert a jpg image to a GtkImage ?

2007-08-31 Thread Yeti
On Fri, Aug 31, 2007 at 02:11:15PM -0700, Mike Melanson wrote: > > > > I have an application, that amoung other things, is receiving a jpg file > > from a network connection. Once that file is in memory (it's relatively > > small), I wish to load it into a GtkImage (so that I can display it, > > e