> I want to display image on radio button
> 
> Before button has pressed I want to display one image and 
> after button has
> selected it should display another image
> 
> It will display one color and after button has selected it 
> display another
> color in given below code
> 
> Similar manner instead of color and it should display image.


If it were me, I'd make a derived widget from a radio-button, but which
also had a simple Fl_Box attached to put the image in.
Then when the radio-button changes state, update the image in the box
accordingly.



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to