On 18 Jan 2013, at 23:49, George wrote:
> Now i have another question I'm kind of a beginner in fltk. I have a window > with some input widgets and a button which is deactiveted initially. I want > to activate the button when i insert text in all the input widgets(the button > can't be pressed if an input is empty). I've read some things and i know it;s > something with events handling and FL_KEYDOWN but it really gives me a hard > time. Any help will be appreciated I don't think it would require any messing about with event handling per se; should be enough to have a callback attached to the input widgets that checks whether they are all set or not, and if they are all set, do a button->activate() to "wake up" the button... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

