GTK+ 2.16.3 released

2009-06-27 Thread Matthias Clasen
GTK+ 2.16.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.16/ http://download.gnome.org/sources/gtk+/2.16/ md5 sums: a224d3a34e21ec161e9041a17f90ad26 gtk+-2.16.3.tar.bz2 0af96da1d11c9e61204701f88918db4a gtk+-2.16.3.tar.gz sha1 sums: aaa238941634b139da4ec67764f4cf3ec6e8dbcb g

Re: Injecting input inside a gtk program?

2009-06-27 Thread Dan Kegel
On Fri, Jun 26, 2009 at 5:38 AM, Dan Kegel wrote: >>> How does one inject keystrokes in a gtk program? >> >> http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00016.html >> shows how to do it with >> gdk_keymap_get_entries_for_keyval() and gtk_main_do_event(). > > Only that doesn't wor

Re: Byte array to Image

2009-06-27 Thread Tim-Philipp Müller
On Fri, 2009-06-26 at 18:45 +0100, António Pinho wrote: > Hi there! I have a byte array that is data from an image.. how can i > turn that array of bytes into a jpeg or bmp image file? If your byte array image data is in RGB format, you can create a GdkPixbuf from it using http://library.gnome.o

Re: GTK & threads

2009-06-27 Thread Tadej Borovšak
Hello. Not long ago I wrote a simple blog post on how to use threads in GTK+ applications. You can find it here: http://tadeboro.blogspot.com/2009/06/multi-threaded-gtk-applications.html -- Tadej Borovšak 00386 (0)40 613 131 tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com ___