diff options
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index c8e62d4..d744477 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -599,6 +599,16 @@ PUGL_API void puglGrabFocus(PuglView* view); /** + Request user attention. + + This hints to the system that the window or application requires attention + from the user. The exact effect depends on the platform, but is usually + something like flashing a task bar entry. +*/ +PUGL_API void +puglRequestAttention(PuglView* view); + +/** Block and wait for an event to be ready. This can be used in a loop to only process events via puglProcessEvents when |