Re: Image maps?

From: Date: Wed, 15 Jan 2003 04:54:43 +0000
Subject: Re: Image maps?
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2910@lists.php.net to get a copy of this message
hmm, good point, hadn't thought of using drawingareas directly. But yes, and that would work on doze too if you used pointer co-ordinates .. must get around to writing up gdkevent some time soon .. ----- Original Message ----- From: "alan" <alan@akbkhome.com> To: "Benjamin Smith" <bens@effortlessis.com> Cc: <php-gtk-general@lists.php.net> Sent: Wednesday, January 15, 2003 4:52 AM Subject: Re: [PHP-GTK] Image maps? > have a look at the pear installer > http://www.akbkhome.com/Projects/PEAR%20Installer/ - it uses a > number of > techniques to do this - normally a gtklayout, + a button with an image > on it. > > the HTML render uses x/y coordinates for the links (text only in this > case).. - similar idea, you can use a gtklayout/gtkdrawingarea and get > the x/y coordiantes when the mouse is pressed, then map that to some > action.. > > Regards > Alan > > > > Benjamin Smith wrote: > > >Is there some way to produce an image map? EG: A picture with "areas" on it that when clicked, behave as buttons, and more than one of these areas on a single image. > > > >Does GTK/PHP-GTK have this capability? > > > >-Ben > > > >- The best way to predict the future is to invent it. - > > > > > > > > > > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#2910) next »