diff options
author | David Robillard <d@drobilla.net> | 2023-01-12 10:30:10 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-14 11:53:28 -0500 |
commit | bd4f79646f623e929e6aa22bea028952b515aeef (patch) | |
tree | e2dcc2635bb2b12b9c552755b35a0343005ce88a /doc/c/view.rst | |
parent | 786a28e4a2bc9fce95a8d2e6cd1a4c76d2ae1a0f (diff) | |
download | pugl-bd4f79646f623e929e6aa22bea028952b515aeef.tar.gz pugl-bd4f79646f623e929e6aa22bea028952b515aeef.tar.bz2 pugl-bd4f79646f623e929e6aa22bea028952b515aeef.zip |
Add general string hint interface
This replaces the window title and class name APIs with a more general one that
can be easily extended to other things, like icon names, more detailed
application hints, and so on.
Diffstat (limited to 'doc/c/view.rst')
-rw-r--r-- | doc/c/view.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/c/view.rst b/doc/c/view.rst index ff8d3db..0a26e14 100644 --- a/doc/c/view.rst +++ b/doc/c/view.rst @@ -31,7 +31,7 @@ For example: const PuglSpan defaultWidth = 1920; const PuglSpan defaultHeight = 1080; - puglSetWindowTitle(view, "My Window"); + puglSetViewString(view, PUGL_WINDOW_TITLE, "My Window"); puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 1920, 1080); puglSetSizeHint(view, PUGL_MIN_SIZE, 640, 480); puglSetSizeHint(view, PUGL_MIN_ASPECT, 1, 1); |