Re: gdk_window_at_pointer and foreign windows

2007-02-19 Thread Ed Catmur
On Mon, 2007-02-19 at 23:55 +, Kevin O'Riordan wrote: > I'm pretty new to the whole GDK programming area. I have a question on > managing foreign windows using GDK. I have a foreign window which I've > "registered" with GDK using gdk_window_foreign_new. However, calling > gdk_window_at_pointer

Re: Problems with Threading Concept

2007-02-19 Thread James Scott Jr
On Mon, 2007-02-19 at 12:42 +0530, naveen wrote: > #include > #include "stdio.h" > #include > > int flag=1,toggle=0; > int i=0; > pthread_t yes_tid; > > void hello() > { > > while (flag) > { > gdk_threads_enter (); > > printf ("%d %d\n",i++,flag); > if (gtk_ev

gdk_window_at_pointer and foreign windows

2007-02-19 Thread Kevin O'Riordan
Hi, I'm pretty new to the whole GDK programming area. I have a question on managing foreign windows using GDK. I have a foreign window which I've "registered" with GDK using gdk_window_foreign_new. However, calling gdk_window_at_pointer when the mouse pointer is over the window returns me null. M

reparent issues

2007-02-19 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I have some code that does this where windowid is an X window id. And window is a gtk_window_new(GTK_WINDOW_TOPLEVEL). window_container = gdk_window_foreign_new(windowid); gdk_window_reparent(window->window,window_container,0,0); gtk_widget_

Cairo in tooltips

2007-02-19 Thread Marko Anastasov
Hello, Since the new tooltips API allows us to put custom widgets in a tooltip, I thought it would be nice to make that widget be a drawing area showing an alpha transparent Cairo drawing. So I wrote testcairotooltips.c for fun. You can see how it looks like [1] or even download it [2]. (I built i

Re: GObject docs improvements

2007-02-19 Thread Reed Hedges
Thanks for doing this, this is really important and it's been incomplete for too long. Stefan Kost wrote: > GType's Interfaces are very similar to Java's interfaces. They allow > to describe a common API that several classes will adhere to. > Imagine the play, pause and stop buttons on hifi

Re: libglade frustration redux

2007-02-19 Thread Tristan Van Berkom
On Mon, 2007-02-19 at 03:38 -0500, Freddie Unpenstein wrote: > > what you MUST do, is download the tarball and see if the maintainer > > included any helpfull files to help you understand how to use > > the library, one of those helpfull files is test-libglade.c, a full > > fledged example of all t

Re: libglade frustration redux

2007-02-19 Thread Michael Ekstrand
Time to dip my oar in the water... On Sat, 2007-02-17 at 13:18 -0500, Gerald I. Evenden wrote: > On Saturday 17 February 2007 12:16 pm, you wrote: > > Gerald I. Evenden wrote on 02/17/2007 05:49 PM: > > > On line 72 in module main there is a reference to function > > > g_signal_connect. I cannot f

Re: gtk box and flow layout

2007-02-19 Thread daa84
Hello! Paul Pogonyshev wrote: > In case you want row-breaking functionality of FlowLayout (e.g. when third > widget is placed below the first two since there is not enough width), you > likely need a custom container, as standard ones don't support this. > Otherwise you probably just want GtkHBox/

Re: libglade frustration redux

2007-02-19 Thread Freddie Unpenstein
> what you MUST do, is download the tarball and see if the maintainer > included any helpfull files to help you understand how to use > the library, one of those helpfull files is test-libglade.c, a full > fledged example of all the uses of libglade. I haven't been following this thread all too c