aboutsummaryrefslogtreecommitdiffstats
path: root/doc/c/events.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/c/events.rst')
-rw-r--r--doc/c/events.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/c/events.rst b/doc/c/events.rst
index bf964db..86f7c63 100644
--- a/doc/c/events.rst
+++ b/doc/c/events.rst
@@ -60,7 +60,7 @@ and handles exposure internally to provide optimized and consistent behavior acr
Cairo Context
-------------
-A Cairo context is created for each :struct:`PuglEventExpose`,
+A Cairo context is created for each :struct:`PuglExposeEvent`,
and only exists during the handling of that event.
Null is returned by :func:`puglGetContext` at any other time.
@@ -69,10 +69,10 @@ OpenGL Context
The OpenGL context is only active during the handling of these events:
-- :struct:`PuglEventCreate`
-- :struct:`PuglEventDestroy`
-- :struct:`PuglEventConfigure`
-- :struct:`PuglEventExpose`
+- :struct:`PuglCreateEvent`
+- :struct:`PuglDestroyEvent`
+- :struct:`PuglConfigureEvent`
+- :struct:`PuglExposeEvent`
As always, drawing is only possible during an expose.