RE: Which widget can I use for play a video file in GTK

2005-03-24 Thread vishwahg
Thanks keith, I have couple of questions here, I have codec, it just decode the mp4 file as YUV file or It can directly display it on frame buffer (whare x-server is not come into picture). Here I need to write a GTK application so that it take the YUV file and start playing or it can grab

Re: gtk-app-devel-list Digest, Vol 11, Issue 35

2005-03-24 Thread Adrian Hoe
-- Message: 4 Date: Thu, 24 Mar 2005 07:27:31 +0100 (CET) From: Hubert Sokolowski [EMAIL PROTECTED] Subject: Re: Change color of widgets To: gtk-app-devel-list@gnome.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-2 HI, On Wed, 23 Mar 2005

Re: Change color of widgets (Santhosh)

2005-03-24 Thread Adrian Hoe
-- Message: 4 Date: Thu, 24 Mar 2005 07:27:31 +0100 (CET) From: Hubert Sokolowski [EMAIL PROTECTED] Subject: Re: Change color of widgets To: gtk-app-devel-list@gnome.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;charset=iso-8859-2 HI, On Wed, 23 Mar 2005

Mouse position

2005-03-24 Thread Robert Vickerstaff
How do I control the location of the mouse pointer? I need to prevent the mouse from exiting a square region within a window, by resetting the location everytime it tries to move outside of the square. (This isn't related to wanting to grab the window border). Save your bad GUI design comments.

GtkSocket bug ? and patch

2005-03-24 Thread KC
Hi, Let me describe the problem first. I wrote a simple test program, gdk_socket_add_id.c, and try to steal a legacy X app., xeyes. I'm using Fedora Core 2 (with gtk+-2.4.14). The procedure is as following: xeyes CR xwininfo CR . then click on xeyes, I get WID, eg 0x2c7.

Re: GtkSocket bug ? and patch

2005-03-24 Thread Owen Taylor
On Thu, 2005-03-24 at 18:43 +0800, KC wrote: Hi, Let me describe the problem first. I wrote a simple test program, gdk_socket_add_id.c, and try to steal a legacy X app., xeyes. I'm using Fedora Core 2 (with gtk+-2.4.14). The procedure is as following: xeyes CR xwininfo CR .

Run-time debugging printout change for gmain.c

2005-03-24 Thread Tor Lillqvist
Would it be OK to commit this? This does: - Drop the compile-time G_MAIN_POLL_DEBUG setting from gmain.c. - Instead, if G_EMABLE_DEBUG is on, you can turn on the debugging printout at run-time through an environment variable called (surprise...) G_MAIN_POLL_DEBUG. - Use g_printerr() and not

Re: GtkSocket bug ? and patch

2005-03-24 Thread Havoc Pennington
On Thu, 2005-03-24 at 22:22 +0800, KC wrote: it's X reparent problem. I just want to know if the patch I posted worthy to apply or does XReparentWindow() do have such problem for some window managers. The problem is that without XEMBED you're doing something totally

Slightly lacking documentation (was: Re: Problems with GtkPaned)

2005-03-24 Thread Tommi Komulainen
On Thu, 24 Mar 2005 07:58:19 -0500, Owen Taylor [EMAIL PROTECTED] wrote: On Thu, 2005-03-24 at 13:09 +0100, Miroslav Rajcic wrote: On Thu, 24 Mar 2005 11:40:35 +0100, Miroslav Rajcic [EMAIL PROTECTED] You can listen for changes to the position property on GtkPaned:

Re: GtkSocket bug ? and patch

2005-03-24 Thread KC
Hi, On Thu, 24 Mar 2005 15:51:21 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Quoting KC [EMAIL PROTECTED]: Hi, On Thu, 24 Mar 2005 07:49:23 -0500, Owen Taylor [EMAIL PROTECTED] wrote: On Thu, 2005-03-24 at 18:43 +0800, KC wrote: Hi, Let me describe the problem

introspection and broken API

2005-03-24 Thread Havoc Pennington
Hi, Back in the day when I was working on the Inti C++ bindings, one of the objectives was to clean up the cruft from the GTK+ C API. Some examples of cleanups one might do: - put the main loop only in the GLib layer, no gtk_main visible - hide color allocation, just always use the GdkRGB

Re: GtkSocket bug ? and patch

2005-03-24 Thread KC
Hi Havoc, On Thu, 24 Mar 2005 10:46:41 -0500, Havoc Pennington [EMAIL PROTECTED] wrote: On Thu, 2005-03-24 at 22:22 +0800, KC wrote: it's X reparent problem. I just want to know if the patch I posted worthy to apply or does XReparentWindow() do have such problem for some window

Re: introspection and broken API

2005-03-24 Thread Havoc Pennington
On Fri, 2005-03-25 at 00:45 -0500, Havoc Pennington wrote: - put the main loop only in the GLib layer, no gtk_main visible - hide color allocation, just always use the GdkRGB stuff - fix some of the other examples of weird X features leaking through - gdk_drawable_get_size() replaced by

Re: GtkSocket bug ? and patch

2005-03-24 Thread Havoc Pennington
On Fri, 2005-03-25 at 13:50 +0800, KC wrote: This I don't quite agree. Look at the function prototype, it's void gtk_socket_add_id (GtkSocket *socket_, GdkNativeWidnow XID); It implies all GdkNativeWindow should work ... I prefer looking at the docs ;-) * gtk_socket_add_id: *

Re: GtkSocket bug ? and patch

2005-03-24 Thread KC
Hi, On Fri, 25 Mar 2005 01:34:44 -0500, Havoc Pennington [EMAIL PROTECTED] wrote: On Fri, 2005-03-25 at 13:50 +0800, KC wrote: This I don't quite agree. Look at the function prototype, it's void gtk_socket_add_id (GtkSocket *socket_, GdkNativeWidnow XID); It implies all