GtkOffscreenWindow and events
- From: Ken Weber <wkenw g gmail com>
- To: gtk-list gnome org
- Subject: GtkOffscreenWindow and events
- Date: Tue, 7 Dec 2010 14:24:38 +0100
Hello,
I'm trying to use those great GtkOffscreenWindows. I've just replaced the traditional
GtkWindow(GTK_WINDOW_TOPLEVEL) and the expose_event with GtkOffscreenWindow and damage_event.
So far it works well: I can get the image of the window.
Now what I want to do is to send events to my offscreen window. I've tried for hours without result.
My latest attempt was to use
gtk_main_do_event() but I get 2 gdk cast errors per call. I don't have the exact message right here. It was something like: gdk critical error, assertion failed. not a gdkwindow.
I would be very grateful if you had any idea to share about how to send events to an offscreen window?
My system is Windows 7 and I use GTK 2.2 with CodeBlocks.
Regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]