summaryrefslogtreecommitdiff
path: root/documentation/src
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/src')
-rw-r--r--documentation/src/enumerations.dox4
-rw-r--r--documentation/src/events.dox14
2 files changed, 17 insertions, 1 deletions
diff --git a/documentation/src/enumerations.dox b/documentation/src/enumerations.dox
index 022ce431d..47a147f12 100644
--- a/documentation/src/enumerations.dox
+++ b/documentation/src/enumerations.dox
@@ -27,7 +27,7 @@ The FLTK version number is stored in a number of compile-time constants:
\section enumerations_events Events
-Events are identified by an \p Fl_Event enumeration value. The
+Events are identified by an \ref Fl_Event enumeration value. The
following events are currently defined:
\li FL_NO_EVENT - No event (or an event fltk does not
@@ -57,6 +57,8 @@ following events are currently defined:
\li FL_DND_LEAVE - The mouse pointer left a widget still dragging
data.
\li FL_DND_RELEASE - Dragged data is about to be dropped.
+\li FL_SCREEN_CONFIGURATION_CHANGED - The screen configuration (number, positions) was changed.
+\li FL_FULLSCREEN - The fullscreen state of the window has changed.
\section enumerations_when Callback "When" Conditions
diff --git a/documentation/src/events.dox b/documentation/src/events.dox
index 2d402d2a8..3183f94eb 100644
--- a/documentation/src/events.dox
+++ b/documentation/src/events.dox
@@ -300,6 +300,20 @@ The user has released the mouse button dropping data into
the widget. If the widget returns 1, it will receive the data in
the immediately following \p FL_PASTE event.
+\section events_fl_misc Other events
+
+\subsection events_fl_screen_config FL_SCREEN_CONFIGURATION_CHANGED
+Sent whenever the screen configuration changes (a screen is added/removed,
+a screen resolution is changed, screens are moved).
+Use Fl::add_handler() to be notified of this event.
+
+\subsection events_fl_fullscreen FL_FULLSCREEN
+
+The application window has been changed from normal to fullscreen, or
+from fullscreen to normal. If you are using a X window manager which
+supports Extended Window Manager Hints, this event will not be
+delivered until the change has actually happened.
+
\section events_event_xxx Fl::event_*() methods