> want to great a gui app in linux using fltk and C (no c++). anyone have a > simple, minimalist example of fltk in C? need performance and stability, > pizzazz is secondary... trying to avoid GTK+ ... if no, any suggestions?
The actual fltk part of the GUI must be written in C++; fltk itself is written in C++ and there's no way of avoiding that. However, once you have the basic GUI in place, it would be practical to provide C bindings to the key input/output methods that could then call access the GUI from the plain-C code. The inverse, calling C code from a C++ GUI, is trivial so would not require special bindings to be created. So, in summary, you can do this, but it maybe take a little work. Why not use C++? You can make all your files be "technically" C++ but just write plain-C for everything, except for the few places it needs to call into the GUI, and that will Just Work. For most practical purposes, C is a subset of C++, so a valid C program can be compiled as C++ with no discernible differences! 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

