Make sure you read the topic about Operating Issues carefully.

http://www.fltk.org/doc-1.3/osissues.html

It says there there that you must make any calls to icon _before_ you 
call your MainWindow->show(). If you don't follow this, you will be in a 
lot of despair :-)

Cheers, Herman



On 08/07/2012 05:26 PM, MacArthur, Ian (SELEX GALILEO, UK) wrote:
>
>> I want to set an icon of my application to the top bar of the main window
>> (top left corner above menu). How can I set... ?
>>
>> // is it that function ? if not then how and what this function means ?
>> MainWindow->icon();
>
> This is described in the docs, but the easiest way might be to look at what 
> the sudoku example does and just copy that.
>
>
>
> SELEX Galileo Ltd
> 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