never-mind... stupid mistake by me :(

On Sun, Dec 11, 2011 at 9:53 PM, lecas malecas <[email protected]> wrote:
> 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 <[email protected]> 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.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to