[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: imagmap



> > Is there a way to create a clickable imagemap in GTK+
> > (preferably without Gnome so it can run on Windows as well)
>
> If you have many or non-rectangular clickable areas, you will use
> only a single EventBox covering the entire image, and then you
> must bust out the math and manually check whether the X/Y
> coordinates of the click fell into a clickable area.

The following recipe may be of use...  Does what is described above.

http://live.gnome.org/GTK2_2dPerl_2fRecipes#head-57cc99de5899b7363abb59f9c4978e4d35cb0fc6

Works on win32 too.

Regards,

_Ofey.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]