Fix typos in documentation of FL_APP_ACTIVATE

This commit is contained in:
ManoloFLTK 2025-12-23 12:26:31 +01:00
parent 33199dab78
commit 0105b593b6
2 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,7 @@ enum Fl_Event { // events
receive this event right before the menu appears, providing an opportunity
to update menu item states and activation. */
FL_BEFORE_MENU = 29,
/** Sent when the application is activate an becomes topmost and focused.
/** Sent when the application is activated and becomes topmost and focused.
Not supported on X11.
\see Fl::add_handler() */
FL_APP_ACTIVATE = 30,

View File

@ -940,6 +940,7 @@ static handler_link *handlers = 0;
Under X11, this event requires the libXrandr.so shared library to be
loadable at run-time and the X server to implement the RandR extension.
- \ref FL_ZOOM_EVENT events.
- \ref FL_APP_ACTIVATE and \ref FL_APP_DEACTIVATE events.
- System events that FLTK does not recognize. See fl_xevent.
- \e Some other events when the widget FLTK selected returns
zero from its handle() method. Exactly which ones may change