Re: getting the Gdk::Window from an event function
- From: lecas malecas <darkiiiiii gmail com>
- To: GTKmm <gtkmm-list gnome org>
- Subject: Re: getting the Gdk::Window from an event function
- Date: Sun, 11 Dec 2011 21:53:14 +0000
Its in a signal_button_press_event() function handler, with a GdkEventButton*.
With a GdkEventMotion* event, get_window() works.
On Sun, Dec 11, 2011 at 9:21 PM, lecas malecas <darkiiiiii gmail com> wrote:
> 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]