PyGTK 2.12.0 released

2007-09-27 Thread Johan Dahlin
PyGTK 2.12.0 is now available for download at: http://ftp.gnome.org/pub/gnome/sources/pygtk/2.12/ gtk+-2.12.0.tar.bz2 md5sum: e9c280afec29b11772af5a7c807abf41 gtk+-2.12.0.tar.gzmd5sum: f2534dfaabb3dcff6da04976ef8d486e pygtk-2.12.0.tar.bz2 md5sum: 3c1a42b774600c353342cfa3782a7d77 pygtk-2

16 bits grayscale images

2007-09-27 Thread alex
Hello list, I want to create a grayscale image from a CCD camera. Data are from a function wich gives me an 16 bits array corresponding to the CCD's pixels. I take a look at the pixbuf class, but it seems to use a RGB structure. How can I do my job ? Thanks in advance. __

Re: 16 bits grayscale images

2007-09-27 Thread Marco Brambilla
Hello Alex ! I had the same problem some time ago. Asking the list they suggested to use a GtkDrawingArea. I used Glade to draw the user interface. So I had to extend the generated code this way: .. .. GtkWidget *widget; widget = lookup_widget(win_freerun, "drawingarea1"); g_signal

Re: Refreshing GUI to show changes?

2007-09-27 Thread tsangv
Thanks, looks like that works. lapnect <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/24/2007 05:30 PM To cc Subject Re: Refreshing GUI to show changes? On Mon, 24 Sep 2007 17:17:20 -0400 [EMAIL PROTECTED] wrote: > Once it is finished executing I want the label to > now display som

Re: 16 bits grayscale images

2007-09-27 Thread Yeti
On Thu, Sep 27, 2007 at 04:45:10PM +0200, alex wrote: > I want to create a grayscale image from a CCD camera. > Data are from a function wich gives me an 16 bits array corresponding to > the CCD's pixels. > I take a look at the pixbuf class, but it seems to use a RGB structure. > How can I do my j