Re: Playing video from within my gtkmm app

2008-10-06 Thread Giuseppe Torelli
On Mon, Sep 29, 2008 at 6:01 PM, Garth's KidStuff [EMAIL PROTECTED] wrote: Does anyone have a good place to learn how to incorporate playing video from within my application? I have a drawable area that I draw all my application stuff on and I'd like to play a .mov file in a subportion of

shared memory queue

2008-10-06 Thread Luka Napotnik
Hello. I have a problem that I need an GAsyncQueue shared among multiple processes. If I allocate a structure with shared memory and then allocate the GAsyncQueue with g_async_queue_new() to a structure member, is the queue shared or not? And if not, is there a way to do this? Greets, Luka

Re: how to display busy cursor ? and another question

2008-10-06 Thread jcupitt
2008/10/4 Allin Cottrell [EMAIL PROTECTED]: Something like this, maybe: I do this with something very similar. In pseudo-code: set_up_my_application(): GdkCursor *busy_cursor = gdk_cursor_new(GDK_WATCH); long_action(): for all windows: gdk_window_set_cursor(GTK_WIDGET(window)-window,

Stop text view to scroll on pageup/down

2008-10-06 Thread Gabriele Greco
I've assigned a global meaning to the PageUp/Down keys in a application and I catch them with a key snooper. The keys are catched and the action performed, but if the window contains a textview also the textview contents are scrolled, so I tried to catch the keys in the textview, and then in the

Re: shared memory queue

2008-10-06 Thread Tristan Van Berkom
Oops first post missed the list... 2008/10/6 Luka Napotnik [EMAIL PROTECTED]: Hello. I have a problem that I need an GAsyncQueue shared among multiple processes. If I allocate a structure with shared memory and then allocate the GAsyncQueue with g_async_queue_new() to a structure member, is

What strategy to use to deal with Glade-3's problem in removing pixbuf directory paths in .glade file!

2008-10-06 Thread Daniel Yek
Hi, I'm trying to find a way to deal with the problem with Glade-3 removing absolute or relative path from pixbuf property. That is, given a .glade file containing: widget class=GtkImage id=image property name=pixbufrelativepath/image.png/property /widget Glade-3 would remove the path and

Re: how to display busy cursor ? and another question

2008-10-06 Thread Allin Cottrell
On Sun, 5 Oct 2008, Han wrote: Thanks Allin. I tried your example code and it somehow did not work for me, i.e. the cursor does not show watch. It can be tricky deciding which window(s) should display the watch cursor. See John Cupitt's suggestion. gdk_window_set_cursor(window,