Depending on what you define a /special/ event, yes. Do you have a specific example where we can help you?
Christian Hufnagel <[email protected]> schrieb: >> >> On 12.01.2013, at 15:00, Christian Hufnagel <[email protected]> wrote: >> >> > How can I react on all events which are got at a widget how a >button? >> > As an example, I have an button, and I would like to react on an >other = >> event as "click" how "mouseover", on which could be reacted with the >= >> callback-method. >> >=20 >> > Sorry for the bad english, it is not my mother language. >> >> Every widget has a callback. The callback is called when the event = >> happens, that is important for that widget. For example, the Button = >> callback is called when the users clicks a button. >> >> If you need more events, you must write a new event handler for your >= >> widget. This is easy, but you must derive a new class and overwrite = >> SomeWidget::handle(int);. Here you get all mouse events and so much = >> more. >> >> This is all explained in detail in the documentation. >> > >Thank you for the fast answer. >To be sure: If I want to react on special events, I can't do that with >the normal widgets, I must derive a own class? >_______________________________________________ >fltk mailing list >[email protected] >http://lists.easysw.com/mailman/listinfo/fltk -- Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

