> On 07.06.2011 23:54, anon wrote: > > > Well I still stick to handle() as my widget needs won't be causing > > troubles...yet.. > > > > [...] couldn't these type of widgets re-invoke handle() with those vanilla > > events ? > > Yes, "they" can and they *should*. Usually you will only handle > those events that you use to _extend_ the widget's functionality, > e.g. FL_ENTER and FL_LEAVE for highlighting. > > Now that you are going into the depth's of event handling I > suggest to (re)read the FLTK docs, particularly the chapters > > "Handling Events" > <http://www.fltk.org/doc-1.3/events.html> > > and "Adding and Extending Widgets" > <http://www.fltk.org/doc-1.3/subclassing.html>. > > Handling events in subclasses is explained there together with > example code: > <http://www.fltk.org/doc-1.3/subclassing.html#subclassing_events> > > Albrecht
Thanks for the reply Albrecht. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

