On 15.07.2010, at 14:41, md houssy wrote:

> 
> hi, please I need help to display an image 
> how can I load this image ? 
> how can I pass it to the box ( box -> image = img ??)

You can load images by calling

Fl_JPEG_Image *img = new Fl_JPEG_Image("/my/path/and/filename.jpg");

then you can ssign it to as many widgets as you like:

myButton->image(img);

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

Reply via email to