From 3cc5539d1c85e5044e6f893b3173cd1392bd8fc8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 6 Jun 2022 22:41:41 -0400 Subject: 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". --- doc/c/view.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/c') 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 ` 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 -- cgit v1.2.1