Re: Can't retrieve actual GdkWindow for a Gtk::Widget
- From: "Timothy M. Shead" <tshead k-3d com>
- To: Marco Scholten <mscholtn xs4all nl>
- Cc: gtkmm-list gnome org
- Subject: Re: Can't retrieve actual GdkWindow for a Gtk::Widget
- Date: Sat, 17 Dec 2005 08:02:49 -0700
Marco Scholten wrote:
A Gtk::Button has no window for drawing, you can test this with
button.has_no_window(). So button.get_window()->gobj() will return the
GdkWindow of its container.
It does have an event_window for handling events, that's the one you
want, you can get this with:
button.gobj()->event_window
Many thanks, Marco - that did the trick!
Cheers,
Tim Shead
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]