Re: Callback on GIOChannel shutdown?

2006-01-16 Thread Tor Lillqvist
Braden McDaniel writes: I expected the callback associated with this watch to be called after I shut down data.command_channel with g_io_channel_shutdown; however, that doesn't appear to be the case. You misunderstood what G_IO_HUP means. As far as I understand, it is supposed to be a

Re: Fade between two images (dissolve)

2006-01-16 Thread Andreas Stricker
Saul Lethbridge wrote: I'm wanting to load two images and fade between them much like the ImageMagick command: composite --dissolve 100 image1.jpg image2.jpg output.jpg However I'm wanting to display the image as it dissolves from one image to the other - so it will apear as if one image is

Re: Fade between two images (dissolve)

2006-01-16 Thread Justin Clift
Andreas Stricker wrote: Saul Lethbridge wrote: I'm wanting to load two images and fade between them much like the ImageMagick command: composite --dissolve 100 image1.jpg image2.jpg output.jpg However I'm wanting to display the image as it dissolves from one image to the other - so it will

Multi-threaded gtk_main()s

2006-01-16 Thread Nikolaj Kiær Thygesen
Hey list, I'm currently writing a multi threaded gtk-app, and knowing that calling gtk_main() simultaneously from different threads is a no-go, I was quite surprised to find that the following fragment seemed to work when being accidentally called from a thread different from the one

RE: Fade between two images (dissolve)

2006-01-16 Thread Freddie Unpenstein
Hi,I'm wanting to load two images and fade between them much like the ImageMagick command: composite --dissolve 100 image1.jpg image2.jpg output.jpg However I'm wanting to display the image as it dissolves from one image to the other - so it will apear as if one image is dissolving into

Saving Liststores and treestores to files

2006-01-16 Thread kadil
Hi, I am interested in finding out appropriate ways to save data in my residing in treestores and liststores. I have not found any tutorials suggesting an approach, however the custom models is related. I have heard of serialization, but never used it. I would appreciate advice as I am

Re: Fade between two images (dissolve)

2006-01-16 Thread Andreas Stricker
Justin Clift wrote: Wow, interesting way to encourage a newbie. :( Sorry that was accidental. As Andy suggested, is using the ImageMagick command itself acceptable, then doing some kind of buffer flipping onto screen? To be more obvious: ImageMagick provides a convenient image manipulation

Re: Multi-threaded gtk_main()s

2006-01-16 Thread Olivier Sessink
Nikolaj Kiær Thygesen wrote: Hey list, I'm currently writing a multi threaded gtk-app, and knowing that calling gtk_main() simultaneously from different threads is a no-go, it's more subtle: calling gtk functions simultaneous from different threads is a no-go. gtk (and X) is not thread-safe.

Re: TreeView menu

2006-01-16 Thread Uzytkownik
For all which use google. This is Simple class which allow popup menus: public class TreeViewPopup : TreeView { public TreeViewPopup(Menu m) { this.m = m; } override protected bool OnButtonPressEvent(EventButton evnt) { bool ret =

[Gtk#] TreeModelFilter - it not filter at all.

2006-01-16 Thread Uzytkownik
public class Kategorie : VBox { public Kategorie() { //... PackStart(szukaj = new Entry(), false, false, 0); { szukaj.Changed += delegate {filter.Refilter();}; } szukaj.Show();

Re: [Gtk#] TreeModelFilter - it not filter at all.

2006-01-16 Thread Uzytkownik
return (nazwa.IndexOf(nazwa) -1); ^ I'm so sorry. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GLib 2.9.3 released

2006-01-16 Thread Matthias Clasen
GLib 2.9.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.9/ http://ftp.gnome.org/pub/GNOME/sources/glib/2.9/ glib-2.9.3.tar.bz2 md5sum: e33d4a886492541e793d22dc5bc6a3d0 glib-2.9.3.tar.gz md5sum: d9e3fbeed455e8fe97cd4d2a60924416 This is the fourth development

GtkDrawingArea and pointer motion events

2006-01-16 Thread Celso Pinto
Hi everyone, I'm following the GTK tutorial and I'm trying to tweak the painting on the Scribble example so that I can use it on a Maemo application, and I'm having some problems with pointer motion events. By this I mean that no matter what I tweak, there are always huge gaps between black

GdkPixbuf - Byte Order

2006-01-16 Thread calvin
Hello, We are facing some problem with the byte ordering of the GdkPixbuf. In our application, we are using gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, depth, width, height) for getting a GdkPixBuf * and from the pixbuf we are getting the the guchar * picturebuf. We store our image data in the

Re: Callback on GIOChannel shutdown?

2006-01-16 Thread Braden McDaniel
On Mon, 2006-01-16 at 10:13 +0200, Tor Lillqvist wrote: Braden McDaniel writes: I expected the callback associated with this watch to be called after I shut down data.command_channel with g_io_channel_shutdown; however, that doesn't appear to be the case. You misunderstood what