Re: motion_notify_event
- From: craigbakalian <craigbakalian verizon net>
- To: David NeÄas <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: motion_notify_event
- Date: Sun, 30 Jan 2011 16:48:34 -0500
Hi David,
Thanks for the information. I just don't get gtk sometimes. It is a
great tool kit, but, the documentation shows that the GtkImage inherits
from GtkWidget, yet it can't receive events. I finally get what
GInitiallyUnowned means, I think - smack in between GObject and
GtkObject ??
There, I am done complaining. I did implement a work-around of my
problem.
Craig Bakalian
On Sat, 2011-01-29 at 20:10 +0100, David NeÄas wrote:
On Sat, Jan 29, 2011 at 06:02:59AM -0500, craigbakalian wrote:
Can a GtkImage call a motion_notify_event. Or, better stated, can I do
this->
GtkImage *image;
gtk_widget_add_events(image, GDK_POINTER_MOTION_MASK);
No, this won't work because image is a no-window widget. You must put
it into an event-box, see
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-set-events
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]