aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/c/view.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/c/view.rst b/doc/c/view.rst
index 016c4e3..634b736 100644
--- a/doc/c/view.rst
+++ b/doc/c/view.rst
@@ -52,12 +52,12 @@ To embed the view in another window,
you will need to somehow get the :type:`native view handle <PuglNativeView>` for the parent,
then set it with :func:`puglSetParentWindow`.
If the parent is a Pugl view,
-the native handle can be accessed with :func:`puglGetNativeWindow`.
+the native handle can be accessed with :func:`puglGetNativeView`.
For example:
.. code-block:: c
- puglSetParentWindow(view, puglGetNativeWindow(parent));
+ puglSetParentWindow(view, puglGetNativeView(parent));
************************
Setting an Event Handler