On 17.06.2008, at 09:53, huda wrote:

> I have problem with using Fl_Multiline_Output in the main when i  
> call it nothing happen even if the condition is matched. I tried also
> to make function to hold all cases then i call on the main it deosnt  
> work.


The problem is not with Fl_Multiline or any other widget, but with the  
way you use the library.

All GUI libraries are event based. That means, you need some kind of  
main loop (usually the command "Fl::run();") which, after creating you  
UI, just sits there and waits for user input. As soon as ythe user  
clicks or enters text, a callback function will be called, telling you  
what happened.

I suggest that you go through the FLT manual a bit and look at the  
test programs to see what is going on. I think there are additional  
examples on Greg's page. The link is in the FAQ section or fltk.org.

----
http://robowerk.com/


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

Reply via email to