So instead of using a GdkNativeWindow to send to (which doesn't gel with client
side windows anyway) I thought I'd go looking for someway of sending a GdkEvent
to a GtkWidget... and I found one! gtk_propagate_event does what I want but
it's synchronous. I would like a asynchronous version, that
I'm trying to catch a client event on a GtkWindow.
static gboolean MyClientEvent(GtkWidget *widget, GdkEventClient *ev,
MyWnd *Wnd)
{
// breakpoint here...
return TRUE;
}
GtkWidget *Wnd = gtk_window_new(GTK_WINDOW_TOPLEVEL);