mirror of
https://github.com/glfw/glfw.git
synced 2025-06-07 16:24:57 +00:00
Added documentation
This commit is contained in:
parent
05ac1a9757
commit
8dfb6747a8
@ -882,6 +882,15 @@ If you are using C++11 or C11, you can use a UTF-8 string literal.
|
|||||||
glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
|
glfwSetWindowTitle(window, u8"This is always a UTF-8 string");
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
The window title can be retrieved with @ref glfwGetWindowTitle.
|
||||||
|
|
||||||
|
@code
|
||||||
|
const char* title = glfwGetWindowTitle(window);
|
||||||
|
@endcode
|
||||||
|
|
||||||
|
The title returned is an internally managed copy of the title set
|
||||||
|
by @ref glfwCreateWindow or @ref glfwSetWindowTitle. It does not
|
||||||
|
include any additional text which may be appended by the platform.
|
||||||
|
|
||||||
@subsection window_icon Window icon
|
@subsection window_icon Window icon
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user