Re: How to imitate the image map functionality in gtk?
- From: Alexander Chemeris <chemeris mail ru>
- To: gtk-app-devel-list-admin gnome org, "Bryan Cramer" <bcramer radiant net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to imitate the image map functionality in gtk?
- Date: Thu, 29 Aug 2002 13:27:56 +0400
Tuesday, August 27, 2002, 6:04:52 AM, you wrote:
What set of widgets should I use to achieve the same functionality as an
image map on a web page in gtk? For example, I define an image of 100x100
pixels and want to trap a mouse click event in an area of 10x10 pixels at
offset 50x50 from top left?
Any insights?
May be GtkFixed + GtkImage in it + some GtkEventBox in the location of
clickable area. Then connect "clicked" handler to the GtkEventBox.
Alexander Chemeris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]