Re: passing events to widget which is _not_ a parent of the initial widget
- From: Paul Davis <pbd op net>
- To: Nabil Sayegh <nas sayegh de>
- Cc: gtk-list <gtk-list gnome org>
- Subject: Re: passing events to widget which is _not_ a parent of the initial widget
- Date: Wed, 11 Sep 2002 21:20:55 -0400
>> if you want this, you need to use the GnomeCanvas.
>
>Actually I'm using a GtkLayout.
right, thats why you should use the Canvas instead. Its just another
widget (believe it nor, packed inside a GtkLayout). don't reinvent the
wheel. in GTK+2, you can use the Canvas without any other part of
GNOME not already required by GTK+ itself.
>So if there's no way to leave events for non-parents, does this mean I
>have to do it all manually:
>Search the widget tree for widgets under the mouse-cursor ? And reinvent
>the event ?
correct. as i mentioned before, GTK+ in general isn't designed to
handle overlapping widgets "properly". the Canvas is.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]