getting the Gdk::Window from an event function



Hey, I'm trying to get the Gdk::Window in an event function.

I've tried both:

Glib::RefPtr<Gdk::Window> window = get_window();

and

Glib::RefPtr<Gdk::Window> window = Glib::wrap(event->window);


but they return null.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]