aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-07 16:04:25 -0400
committerDavid Robillard <d@drobilla.net>2022-07-07 16:04:25 -0400
commitfe0ee61b27b28d6c7cf80ac8abbdb3af55f43e8b (patch)
tree05682b3fdb72af7a53a47e8fad454c0ca217b55c /doc/cpp
parent08a2773de5a0a821589ff0fd93a59fe622e45d06 (diff)
downloadpugl-fe0ee61b27b28d6c7cf80ac8abbdb3af55f43e8b.tar.gz
pugl-fe0ee61b27b28d6c7cf80ac8abbdb3af55f43e8b.tar.bz2
pugl-fe0ee61b27b28d6c7cf80ac8abbdb3af55f43e8b.zip
Fix outdated reference in documentation
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/view.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/cpp/view.rst b/doc/cpp/view.rst
index 3f5aee8..1b93379 100644
--- a/doc/cpp/view.rst
+++ b/doc/cpp/view.rst
@@ -92,12 +92,12 @@ To embed the view in another window,
you will need to somehow get the :type:`native view handle <pugl::NativeView>` for the parent,
then set it with :func:`View::setParentWindow`.
If the parent is a Pugl view,
-the native handle can be accessed with :func:`View::nativeWindow`.
+the native handle can be accessed with :func:`View::nativeView`.
For example:
.. code-block:: cpp
- view.setParentWindow(view, parent.getNativeWindow());
+ view.setParentWindow(view, parent.getNativeView());
*****************
Setting a Backend