Electronics & Programming


Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » GtkOffscreenWindow and events [RSS Feed]

#1 Dec. 7, 2010 17:02:34

Ken W.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

GtkOffscreenWindow and events


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.

gtk-list mailing list


  • Root
  • » GTK+
  • » GtkOffscreenWindow and events [RSS Feed]

Board footer

Moderator control

Enjoy the 14th of December

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support