diff options
author | David Robillard <d@drobilla.net> | 2022-06-06 22:41:41 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-06-08 22:04:49 -0400 |
commit | 3cc5539d1c85e5044e6f893b3173cd1392bd8fc8 (patch) | |
tree | c0706a7c80a391e86b913ce165ef0f70f3de17f8 /doc/c/view.rst | |
parent | 96ca7a5a2ae976c587c676baf87446a55961e507 (diff) | |
download | pugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.tar.gz pugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.tar.bz2 pugl-3cc5539d1c85e5044e6f893b3173cd1392bd8fc8.zip |
Use consistent terminology for native views
On MacOS in particular, views and windows are entirely different concepts, so
confusing them... confuses things. This was the last holdover in the API that
used the old "native window".
Diffstat (limited to 'doc/c/view.rst')
-rw-r--r-- | doc/c/view.rst | 4 |
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 |