mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
Document that the Wayland platform doesn't send FL_HIDE to minimized windows.
This commit is contained in:
+3
-1
@@ -256,7 +256,9 @@ enum Fl_Event { // events
|
|||||||
|
|
||||||
/** This widget is no longer visible, due to Fl_Widget::hide() being
|
/** This widget is no longer visible, due to Fl_Widget::hide() being
|
||||||
called on it or one of its parents, or due to a parent window being
|
called on it or one of its parents, or due to a parent window being
|
||||||
minimized. Fl_Widget::visible() may still be true after this, but the
|
minimized (under Wayland, minimized toplevel windows don't receive
|
||||||
|
the FL_HIDE event).
|
||||||
|
Fl_Widget::visible() may still be true after this, but the
|
||||||
widget is visible only if visible() is true for it and all its
|
widget is visible only if visible() is true for it and all its
|
||||||
parents (use Fl_Widget::visible_r() to check this).
|
parents (use Fl_Widget::visible_r() to check this).
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -301,15 +301,7 @@ This widget is no longer visible, due to
|
|||||||
\ref Fl_Widget::hide() "hide()"
|
\ref Fl_Widget::hide() "hide()"
|
||||||
being called on it or one of its parents, or due to a parent window
|
being called on it or one of its parents, or due to a parent window
|
||||||
being minimized.
|
being minimized.
|
||||||
Please note that although
|
\see FL_HIDE
|
||||||
\ref Fl_Widget::visible() "visible()"
|
|
||||||
may still return true for this widget after receiving this event,
|
|
||||||
it is only truly visible if
|
|
||||||
\ref Fl_Widget::visible() "visible()"
|
|
||||||
is true for both it and all of its parents.
|
|
||||||
(You can use
|
|
||||||
\ref Fl_Widget::visible_r() "visible_r()"
|
|
||||||
to check this).
|
|
||||||
|
|
||||||
\subsection events_fl_show FL_SHOW
|
\subsection events_fl_show FL_SHOW
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user