\hypertarget{group__window}{}\doxysection{Window reference}
\label{group__window}\index{Window reference@{Window reference}}


Functions and types related to windows.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}}
\begin{DoxyCompactList}\small\item\em Image data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__window_ga54ddb14825a1541a56e22afb5f832a9e}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+ED}}~0x00020001
\begin{DoxyCompactList}\small\item\em Input focus window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga39d44b7c056e55e581355a92d240b58a}{G\+L\+F\+W\+\_\+\+I\+C\+O\+N\+I\+F\+I\+ED}}~0x00020002
\begin{DoxyCompactList}\small\item\em Window iconification window attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}{G\+L\+F\+W\+\_\+\+R\+E\+S\+I\+Z\+A\+B\+LE}}~0x00020003
\begin{DoxyCompactList}\small\item\em Window resize-\/ability window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafb3cdc45297e06d8f1eb13adc69ca6c4}{G\+L\+F\+W\+\_\+\+V\+I\+S\+I\+B\+LE}}~0x00020004
\begin{DoxyCompactList}\small\item\em Window visibility window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga21b854d36314c94d65aed84405b2f25e}{G\+L\+F\+W\+\_\+\+D\+E\+C\+O\+R\+A\+T\+ED}}~0x00020005
\begin{DoxyCompactList}\small\item\em Window decoration window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga9d9874fc928200136a6dcdad726aa252}{G\+L\+F\+W\+\_\+\+A\+U\+T\+O\+\_\+\+I\+C\+O\+N\+I\+FY}}~0x00020006
\begin{DoxyCompactList}\small\item\em Window auto-\/iconification window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga7fb0be51407783b41adbf5bec0b09d80}{G\+L\+F\+W\+\_\+\+F\+L\+O\+A\+T\+I\+NG}}~0x00020007
\begin{DoxyCompactList}\small\item\em Window decoration window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gad8ccb396253ad0b72c6d4c917eb38a03}{G\+L\+F\+W\+\_\+\+M\+A\+X\+I\+M\+I\+Z\+ED}}~0x00020008
\begin{DoxyCompactList}\small\item\em Window maximization window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga5ac0847c0aa0b3619f2855707b8a7a77}{G\+L\+F\+W\+\_\+\+C\+E\+N\+T\+E\+R\+\_\+\+C\+U\+R\+S\+OR}}~0x00020009
\begin{DoxyCompactList}\small\item\em Cursor centering window hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga60a0578c3b9449027d683a9c6abb9f14}{G\+L\+F\+W\+\_\+\+T\+R\+A\+N\+S\+P\+A\+R\+E\+N\+T\+\_\+\+F\+R\+A\+M\+E\+B\+U\+F\+F\+ER}}~0x0002000A
\begin{DoxyCompactList}\small\item\em Window framebuffer transparency hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga8665c71c6fa3d22425c6a0e8a3f89d8a}{G\+L\+F\+W\+\_\+\+H\+O\+V\+E\+R\+ED}}~0x0002000B
\begin{DoxyCompactList}\small\item\em Mouse cursor hover window attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafa94b1da34bfd6488c0d709761504dfc}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+\_\+\+O\+N\+\_\+\+S\+H\+OW}}~0x0002000C
\begin{DoxyCompactList}\small\item\em Input focus on calling show window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga88981797d29800808ec242274ab5c03a}{G\+L\+F\+W\+\_\+\+M\+O\+U\+S\+E\+\_\+\+P\+A\+S\+S\+T\+H\+R\+O\+U\+GH}}~0x0002000D
\begin{DoxyCompactList}\small\item\em Mouse input transparency window hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gaf78ed8e417dbcc1e354906cc2708c982}{G\+L\+F\+W\+\_\+\+R\+E\+D\+\_\+\+B\+I\+TS}}~0x00021001
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafba3b72638c914e5fb8a237dd4c50d4d}{G\+L\+F\+W\+\_\+\+G\+R\+E\+E\+N\+\_\+\+B\+I\+TS}}~0x00021002
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gab292ea403db6d514537b515311bf9ae3}{G\+L\+F\+W\+\_\+\+B\+L\+U\+E\+\_\+\+B\+I\+TS}}~0x00021003
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafed79a3f468997877da86c449bd43e8c}{G\+L\+F\+W\+\_\+\+A\+L\+P\+H\+A\+\_\+\+B\+I\+TS}}~0x00021004
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga318a55eac1fee57dfe593b6d38149d07}{G\+L\+F\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+I\+TS}}~0x00021005
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga5339890a45a1fb38e93cb9fcc5fd069d}{G\+L\+F\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+B\+I\+TS}}~0x00021006
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gaead34a9a683b2bc20eecf30ba738bfc6}{G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+R\+E\+D\+\_\+\+B\+I\+TS}}~0x00021007
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga65713cee1326f8e9d806fdf93187b471}{G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+G\+R\+E\+E\+N\+\_\+\+B\+I\+TS}}~0x00021008
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga22bbe9104a8ce1f8b88fb4f186aa36ce}{G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+B\+L\+U\+E\+\_\+\+B\+I\+TS}}~0x00021009
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gae829b55591c18169a40ab4067a041b1f}{G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+A\+L\+P\+H\+A\+\_\+\+B\+I\+TS}}~0x0002100A
\begin{DoxyCompactList}\small\item\em Framebuffer bit depth hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gab05108c5029443b371112b031d1fa174}{G\+L\+F\+W\+\_\+\+A\+U\+X\+\_\+\+B\+U\+F\+F\+E\+RS}}~0x0002100B
\begin{DoxyCompactList}\small\item\em Framebuffer auxiliary buffer hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga83d991efca02537e2d69969135b77b03}{G\+L\+F\+W\+\_\+\+S\+T\+E\+R\+EO}}~0x0002100C
\begin{DoxyCompactList}\small\item\em Open\+GL stereoscopic rendering hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga2cdf86fdcb7722fb8829c4e201607535}{G\+L\+F\+W\+\_\+\+S\+A\+M\+P\+L\+ES}}~0x0002100D
\begin{DoxyCompactList}\small\item\em Framebuffer M\+S\+AA samples hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga444a8f00414a63220591f9fdb7b5642b}{G\+L\+F\+W\+\_\+\+S\+R\+G\+B\+\_\+\+C\+A\+P\+A\+B\+LE}}~0x0002100E
\begin{DoxyCompactList}\small\item\em Framebuffer s\+R\+GB hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga0f20825e6e47ee8ba389024519682212}{G\+L\+F\+W\+\_\+\+R\+E\+F\+R\+E\+S\+H\+\_\+\+R\+A\+TE}}~0x0002100F
\begin{DoxyCompactList}\small\item\em Monitor refresh rate hint. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga714a5d569e8a274ea58fdfa020955339}{G\+L\+F\+W\+\_\+\+D\+O\+U\+B\+L\+E\+B\+U\+F\+F\+ER}}~0x00021010
\begin{DoxyCompactList}\small\item\em Framebuffer double buffering hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga649309cf72a3d3de5b1348ca7936c95b}{G\+L\+F\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+A\+PI}}~0x00022001
\begin{DoxyCompactList}\small\item\em Context client A\+PI hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafe5e4922de1f9932d7e9849bb053b0c0}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR}}~0x00022002
\begin{DoxyCompactList}\small\item\em Context client A\+PI major version hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga31aca791e4b538c4e4a771eb95cc2d07}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR}}~0x00022003
\begin{DoxyCompactList}\small\item\em Context client A\+PI minor version hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gafb9475071aa77c6fb05ca5a5c8678a08}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+E\+V\+I\+S\+I\+ON}}~0x00022004
\begin{DoxyCompactList}\small\item\em Context client A\+PI revision number attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gade3593916b4c507900aa2d6844810e00}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+O\+B\+U\+S\+T\+N\+E\+SS}}~0x00022005
\begin{DoxyCompactList}\small\item\em Context robustness hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga13d24b12465da8b28985f46c8557925b}{G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+F\+O\+R\+W\+A\+R\+D\+\_\+\+C\+O\+M\+P\+AT}}~0x00022006
\begin{DoxyCompactList}\small\item\em Open\+GL forward-\/compatibility hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+D\+E\+B\+UG}}~0x00022007
\begin{DoxyCompactList}\small\item\em Debug mode context hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga87ec2df0b915201e950ca42d5d0831e1}{G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+O\+N\+T\+E\+XT}}~\mbox{\hyperlink{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+D\+E\+B\+UG}}
\begin{DoxyCompactList}\small\item\em Legacy name for compatibility. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga44f3a6b4261fbe351e0b950b0f372e12}{G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+P\+R\+O\+F\+I\+LE}}~0x00022008
\begin{DoxyCompactList}\small\item\em Open\+GL profile hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga72b648a8378fe3310c7c7bbecc0f7be6}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+E\+L\+E\+A\+S\+E\+\_\+\+B\+E\+H\+A\+V\+I\+OR}}~0x00022009
\begin{DoxyCompactList}\small\item\em Context flush-\/on-\/release hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga5a52fdfd46d8249c211f923675728082}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+N\+O\+\_\+\+E\+R\+R\+OR}}~0x0002200A
\begin{DoxyCompactList}\small\item\em Context error suppression hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga5154cebfcd831c1cc63a4d5ac9bb4486}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+C\+R\+E\+A\+T\+I\+O\+N\+\_\+\+A\+PI}}~0x0002200B
\begin{DoxyCompactList}\small\item\em Context creation A\+PI hint and attribute. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga620bc4280c7eab81ac9f02204500ed47}{G\+L\+F\+W\+\_\+\+S\+C\+A\+L\+E\+\_\+\+T\+O\+\_\+\+M\+O\+N\+I\+T\+OR}}~0x0002200C
\begin{DoxyCompactList}\small\item\em Window content area scaling window \mbox{\hyperlink{window_guide_GLFW_SCALE_TO_MONITOR}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gab6ef2d02eb55800d249ccf1af253c35e}{G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+R\+E\+T\+I\+N\+A\+\_\+\+F\+R\+A\+M\+E\+B\+U\+F\+F\+ER}}~0x00023001
\begin{DoxyCompactList}\small\item\em mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_RETINA_FRAMEBUFFER_hint}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga70fa0fbc745de6aa824df79a580e84b5}{G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+F\+R\+A\+M\+E\+\_\+\+N\+A\+ME}}~0x00023002
\begin{DoxyCompactList}\small\item\em mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_FRAME_NAME_hint}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga53c84ed2ddd94e15bbd44b1f6f7feafc}{G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+G\+R\+A\+P\+H\+I\+C\+S\+\_\+\+S\+W\+I\+T\+C\+H\+I\+NG}}~0x00023003
\begin{DoxyCompactList}\small\item\em mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_GRAPHICS_SWITCHING_hint}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gae5a9ea2fccccd92edbd343fc56461114}{G\+L\+F\+W\+\_\+\+X11\+\_\+\+C\+L\+A\+S\+S\+\_\+\+N\+A\+ME}}~0x00024001
\begin{DoxyCompactList}\small\item\em X11 specific \mbox{\hyperlink{window_guide_GLFW_X11_CLASS_NAME_hint}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_ga494c3c0d911e4b860b946530a3e389e8}{G\+L\+F\+W\+\_\+\+X11\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+N\+A\+ME}}~0x00024002
\begin{DoxyCompactList}\small\item\em X11 specific \mbox{\hyperlink{window_guide_GLFW_X11_CLASS_NAME_hint}{window hint}}. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__window_gaf65ea8dafdc0edb07b821b9a336d5043}{G\+L\+F\+W\+\_\+\+W\+I\+N32\+\_\+\+K\+E\+Y\+B\+O\+A\+R\+D\+\_\+\+M\+E\+NU}}~0x00025001
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}}
\begin{DoxyCompactList}\small\item\em Opaque window object. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{G\+L\+F\+Wwindowposfun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int xpos, int ypos)
\begin{DoxyCompactList}\small\item\em The function pointer type for window position callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{G\+L\+F\+Wwindowsizefun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})
\begin{DoxyCompactList}\small\item\em The function pointer type for window size callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{G\+L\+F\+Wwindowclosefun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em The function pointer type for window close callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{G\+L\+F\+Wwindowrefreshfun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em The function pointer type for window content refresh callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{G\+L\+F\+Wwindowfocusfun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int focused)
\begin{DoxyCompactList}\small\item\em The function pointer type for window focus callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{G\+L\+F\+Wwindowiconifyfun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int iconified)
\begin{DoxyCompactList}\small\item\em The function pointer type for window iconify callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{G\+L\+F\+Wwindowmaximizefun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int maximized)
\begin{DoxyCompactList}\small\item\em The function pointer type for window maximize callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{G\+L\+F\+Wframebuffersizefun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})
\begin{DoxyCompactList}\small\item\em The function pointer type for framebuffer size callbacks. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ \mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{G\+L\+F\+Wwindowcontentscalefun}}) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, float xscale, float yscale)
\begin{DoxyCompactList}\small\item\em The function pointer type for window content scale callbacks. \end{DoxyCompactList}\item 
typedef struct \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}} \mbox{\hyperlink{group__window_ga7cc0a09de172fa7250872046f8c4d2ca}{G\+L\+F\+Wimage}}
\begin{DoxyCompactList}\small\item\em Image data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}{glfw\+Default\+Window\+Hints}} (\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}})
\begin{DoxyCompactList}\small\item\em Resets all window hints to their default values. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga69c40728499720bef8a49aa925ea0efa}{glfw\+Window\+Hint}} (int hint, int \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}})
\begin{DoxyCompactList}\small\item\em Sets the specified window hint to the desired value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga3c2270562d7ba13d92680ba1090adafe}{glfw\+Window\+Hint\+String}} (int hint, const char $\ast$\mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}})
\begin{DoxyCompactList}\small\item\em Sets the specified window hint to the desired value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$ \mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}} (int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}}, const char $\ast$title, \mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}} $\ast$monitor, \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$share)
\begin{DoxyCompactList}\small\item\em Creates a window and its associated context. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga806747476b7247d292be3711c323ea10}{glfw\+Destroy\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Destroys the specified window and its context. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} int \mbox{\hyperlink{group__window_gaa6162f67dfa38b8beda2fea623649332}{glfw\+Window\+Should\+Close}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Checks the close flag of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga1cadeda7a1e2f224e06a8415d30741aa}{glfw\+Set\+Window\+Should\+Close}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}})
\begin{DoxyCompactList}\small\item\em Sets the close flag of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga861ed3414ab8120e2f74151a666ed1dc}{glfw\+Set\+Window\+Title}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, const char $\ast$title)
\begin{DoxyCompactList}\small\item\em Sets the title of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga182987a1a62a41a924842b9473d560df}{glfw\+Set\+Window\+Icon}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a5b40aca7a9682963dd00a8f5aef0a901}{count}}, const \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}} $\ast$images)
\begin{DoxyCompactList}\small\item\em Sets the icon for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga0076a8591ef7494d359730cf2250b45b}{glfw\+Get\+Window\+Pos}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int $\ast$xpos, int $\ast$ypos)
\begin{DoxyCompactList}\small\item\em Retrieves the position of the content area of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga0dc8d880a0d87be16d3ea8114561f6f0}{glfw\+Set\+Window\+Pos}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int xpos, int ypos)
\begin{DoxyCompactList}\small\item\em Sets the position of the content area of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}{glfw\+Get\+Window\+Size}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int $\ast$\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int $\ast$\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})
\begin{DoxyCompactList}\small\item\em Retrieves the size of the content area of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga8af814fc98d786d1de2505b40b707de8}{glfw\+Set\+Window\+Size\+Limits}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int minwidth, int minheight, int maxwidth, int maxheight)
\begin{DoxyCompactList}\small\item\em Sets the size limits of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gad2ae94a2c5ee1c46a36e13a8f4ac68ac}{glfw\+Set\+Window\+Aspect\+Ratio}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int numer, int denom)
\begin{DoxyCompactList}\small\item\em Sets the aspect ratio of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gae54d1f4915ded15e267ddd3f41496cd2}{glfw\+Set\+Window\+Size}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})
\begin{DoxyCompactList}\small\item\em Sets the size of the content area of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gaf7d17f3534b4b6dc9a6f905e3a240b7e}{glfw\+Get\+Framebuffer\+Size}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int $\ast$\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int $\ast$\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})
\begin{DoxyCompactList}\small\item\em Retrieves the size of the framebuffer of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gaad46cdaae2eb732f68d3a1499a7c5409}{glfw\+Get\+Window\+Frame\+Size}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int $\ast$\mbox{\hyperlink{glad_8h_a85b8f6c07fbc1fb5d77c2ae090f21995}{left}}, int $\ast$\mbox{\hyperlink{glext_8h_a5ab323daeacf8dfdb8f91132fecdca23}{top}}, int $\ast$\mbox{\hyperlink{glext_8h_a5ffadbbacc6b89cf6218bc43b384d3fe}{right}}, int $\ast$\mbox{\hyperlink{glad_8h_a95fc257e5ddf46f7db9d5e898cdf1991}{bottom}})
\begin{DoxyCompactList}\small\item\em Retrieves the size of the frame of the window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga72718c983a9fffaa27f786bfe7d1c9ee}{glfw\+Get\+Window\+Content\+Scale}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, float $\ast$xscale, float $\ast$yscale)
\begin{DoxyCompactList}\small\item\em Retrieves the content scale for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} float \mbox{\hyperlink{group__window_gad124d57a1c1c519f60c9765cd0c2a89c}{glfw\+Get\+Window\+Opacity}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Returns the opacity of the whole window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga62a784fe328f227727cbcd0d07480ff3}{glfw\+Set\+Window\+Opacity}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, float opacity)
\begin{DoxyCompactList}\small\item\em Sets the opacity of the whole window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga24274e3c6ecd44e11fec5e6b66e4d7f3}{glfw\+Iconify\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Iconifies the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga1e29caf0b819f578b04db52fff17256c}{glfw\+Restore\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Restores the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga4f825a55367d3fabde3d06e7f30128e8}{glfw\+Maximize\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Maximizes the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga7945bcdff9e5e058cf36505d6873ed8c}{glfw\+Show\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Makes the specified window visible. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gaa17e287d521544bdeceafa09ac036e20}{glfw\+Hide\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Hides the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga0da0e3daaa2d100f44a115c09077b510}{glfw\+Focus\+Window}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Brings the specified window to front and sets input focus. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gad0c9629abb49447bedd28080642b8538}{glfw\+Request\+Window\+Attention}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Requests user attention to the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}} $\ast$ \mbox{\hyperlink{group__window_gaf1525cb3bccd5789c702cc9676ef3403}{glfw\+Get\+Window\+Monitor}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Returns the monitor that the window uses for full screen mode. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga12fabf78575e59c00f822f323ae0b6ae}{glfw\+Set\+Window\+Monitor}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}} $\ast$monitor, int xpos, int ypos, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}}, int refresh\+Rate)
\begin{DoxyCompactList}\small\item\em Sets the mode, monitor, video mode and placement of a window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} int \mbox{\hyperlink{group__window_ga1bb0c7e100418e284dbb800789c63d40}{glfw\+Get\+Window\+Attrib}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int attrib)
\begin{DoxyCompactList}\small\item\em Returns an attribute of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gad39f43f07856efcf3d656426a9284c75}{glfw\+Set\+Window\+Attrib}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int attrib, int \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}})
\begin{DoxyCompactList}\small\item\em Sets an attribute of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gacc9e68faee3c1763b54cd9bc405cf43e}{glfw\+Set\+Window\+User\+Pointer}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} $\ast$\mbox{\hyperlink{glad_8h_a8e06a460fd89ba3a95ce49119ef7aab2}{pointer}})
\begin{DoxyCompactList}\small\item\em Sets the user pointer of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} $\ast$ \mbox{\hyperlink{group__window_ga0a9ff3b4bf8589e9518e8816d06a8f50}{glfw\+Get\+Window\+User\+Pointer}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Returns the user pointer of the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{G\+L\+F\+Wwindowposfun}} \mbox{\hyperlink{group__window_ga517b6e80b982efa06e9b8ca89d4a75a6}{glfw\+Set\+Window\+Pos\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{G\+L\+F\+Wwindowposfun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the position callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{G\+L\+F\+Wwindowsizefun}} \mbox{\hyperlink{group__window_gab0754f8d5c7c4d5cae2a9937a0e00bc5}{glfw\+Set\+Window\+Size\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{G\+L\+F\+Wwindowsizefun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the size callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{G\+L\+F\+Wwindowclosefun}} \mbox{\hyperlink{group__window_ga693d778815971a06e1a5a7bcdeff3d36}{glfw\+Set\+Window\+Close\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{G\+L\+F\+Wwindowclosefun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the close callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{G\+L\+F\+Wwindowrefreshfun}} \mbox{\hyperlink{group__window_ga62bfa902c07a03b8ad9be37da31a4be7}{glfw\+Set\+Window\+Refresh\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{G\+L\+F\+Wwindowrefreshfun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the refresh callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{G\+L\+F\+Wwindowfocusfun}} \mbox{\hyperlink{group__window_gacce1c4dd273b5c4c60b05599f8725b4e}{glfw\+Set\+Window\+Focus\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{G\+L\+F\+Wwindowfocusfun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the focus callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{G\+L\+F\+Wwindowiconifyfun}} \mbox{\hyperlink{group__window_ga3e9f355edb6b9247149ddea2335eda69}{glfw\+Set\+Window\+Iconify\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{G\+L\+F\+Wwindowiconifyfun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the iconify callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{G\+L\+F\+Wwindowmaximizefun}} \mbox{\hyperlink{group__window_gae77b3960dcd40514fb7b2b8a6eb98137}{glfw\+Set\+Window\+Maximize\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{G\+L\+F\+Wwindowmaximizefun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the maximize callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{G\+L\+F\+Wframebuffersizefun}} \mbox{\hyperlink{group__window_ga41d69f9f263d7b33ea03cf58772b4ea0}{glfw\+Set\+Framebuffer\+Size\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{G\+L\+F\+Wframebuffersizefun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the framebuffer resize callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{G\+L\+F\+Wwindowcontentscalefun}} \mbox{\hyperlink{group__window_gac6edcddbe785445d0d2b7b7be500836e}{glfw\+Set\+Window\+Content\+Scale\+Callback}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{G\+L\+F\+Wwindowcontentscalefun}} callback)
\begin{DoxyCompactList}\small\item\em Sets the window content scale callback for the specified window. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga872d16e4c77f58c0436f356255920cfc}{glfw\+Poll\+Events}} (\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}})
\begin{DoxyCompactList}\small\item\em Processes all pending events. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga6e042d05823c11e11c7339b81a237738}{glfw\+Wait\+Events}} (\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}})
\begin{DoxyCompactList}\small\item\em Waits until events are queued and processes them. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_ga05223a0a4c5e50f10f289e60398153aa}{glfw\+Wait\+Events\+Timeout}} (double \mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}})
\begin{DoxyCompactList}\small\item\em Waits with timeout until events are queued and processes them. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gad6f6b997278c91c43b35970eb9713d7e}{glfw\+Post\+Empty\+Event}} (\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}})
\begin{DoxyCompactList}\small\item\em Posts an empty event to the event queue. \end{DoxyCompactList}\item 
\mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} \mbox{\hyperlink{group__window_gafb827800eedbfcbc97b1e5408df668d7}{glfw\+Swap\+Buffers}} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})
\begin{DoxyCompactList}\small\item\em Swaps the front and back buffers of the specified window. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions and types related to windows. 

This is the reference documentation for window related functions and types, including creation, deletion and event polling. For more task-\/oriented information, see the \mbox{\hyperlink{window_guide}{Window guide}}. 

\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__window_gae829b55591c18169a40ab4067a041b1f}\label{group__window_gae829b55591c18169a40ab4067a041b1f}} 
\index{Window reference@{Window reference}!GLFW\_ACCUM\_ALPHA\_BITS@{GLFW\_ACCUM\_ALPHA\_BITS}}
\index{GLFW\_ACCUM\_ALPHA\_BITS@{GLFW\_ACCUM\_ALPHA\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ACCUM\_ALPHA\_BITS}{GLFW\_ACCUM\_ALPHA\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+A\+L\+P\+H\+A\+\_\+\+B\+I\+TS~0x0002100A}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_ACCUM_ALPHA_BITS}{hint}}. 

Definition at line 980 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga22bbe9104a8ce1f8b88fb4f186aa36ce}\label{group__window_ga22bbe9104a8ce1f8b88fb4f186aa36ce}} 
\index{Window reference@{Window reference}!GLFW\_ACCUM\_BLUE\_BITS@{GLFW\_ACCUM\_BLUE\_BITS}}
\index{GLFW\_ACCUM\_BLUE\_BITS@{GLFW\_ACCUM\_BLUE\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ACCUM\_BLUE\_BITS}{GLFW\_ACCUM\_BLUE\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+B\+L\+U\+E\+\_\+\+B\+I\+TS~0x00021009}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_ACCUM_BLUE_BITS}{hint}}. 

Definition at line 975 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga65713cee1326f8e9d806fdf93187b471}\label{group__window_ga65713cee1326f8e9d806fdf93187b471}} 
\index{Window reference@{Window reference}!GLFW\_ACCUM\_GREEN\_BITS@{GLFW\_ACCUM\_GREEN\_BITS}}
\index{GLFW\_ACCUM\_GREEN\_BITS@{GLFW\_ACCUM\_GREEN\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ACCUM\_GREEN\_BITS}{GLFW\_ACCUM\_GREEN\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+G\+R\+E\+E\+N\+\_\+\+B\+I\+TS~0x00021008}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_ACCUM_GREEN_BITS}{hint}}. 

Definition at line 970 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gaead34a9a683b2bc20eecf30ba738bfc6}\label{group__window_gaead34a9a683b2bc20eecf30ba738bfc6}} 
\index{Window reference@{Window reference}!GLFW\_ACCUM\_RED\_BITS@{GLFW\_ACCUM\_RED\_BITS}}
\index{GLFW\_ACCUM\_RED\_BITS@{GLFW\_ACCUM\_RED\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ACCUM\_RED\_BITS}{GLFW\_ACCUM\_RED\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+C\+C\+U\+M\+\_\+\+R\+E\+D\+\_\+\+B\+I\+TS~0x00021007}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_ACCUM_RED_BITS}{hint}}. 

Definition at line 965 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafed79a3f468997877da86c449bd43e8c}\label{group__window_gafed79a3f468997877da86c449bd43e8c}} 
\index{Window reference@{Window reference}!GLFW\_ALPHA\_BITS@{GLFW\_ALPHA\_BITS}}
\index{GLFW\_ALPHA\_BITS@{GLFW\_ALPHA\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ALPHA\_BITS}{GLFW\_ALPHA\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+L\+P\+H\+A\+\_\+\+B\+I\+TS~0x00021004}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_ALPHA_BITS}{hint}}. 

Definition at line 950 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga9d9874fc928200136a6dcdad726aa252}\label{group__window_ga9d9874fc928200136a6dcdad726aa252}} 
\index{Window reference@{Window reference}!GLFW\_AUTO\_ICONIFY@{GLFW\_AUTO\_ICONIFY}}
\index{GLFW\_AUTO\_ICONIFY@{GLFW\_AUTO\_ICONIFY}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_AUTO\_ICONIFY}{GLFW\_AUTO\_ICONIFY}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+U\+T\+O\+\_\+\+I\+C\+O\+N\+I\+FY~0x00020006}



Window auto-\/iconification window hint and attribute. 

Window auto-\/iconification \mbox{\hyperlink{window_guide_GLFW_AUTO_ICONIFY_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_AUTO_ICONIFY_attrib}{window attribute}}. 

Definition at line 887 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gab05108c5029443b371112b031d1fa174}\label{group__window_gab05108c5029443b371112b031d1fa174}} 
\index{Window reference@{Window reference}!GLFW\_AUX\_BUFFERS@{GLFW\_AUX\_BUFFERS}}
\index{GLFW\_AUX\_BUFFERS@{GLFW\_AUX\_BUFFERS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_AUX\_BUFFERS}{GLFW\_AUX\_BUFFERS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+A\+U\+X\+\_\+\+B\+U\+F\+F\+E\+RS~0x0002100B}



Framebuffer auxiliary buffer hint. 

Framebuffer auxiliary buffer \mbox{\hyperlink{window_guide_GLFW_AUX_BUFFERS}{hint}}. 

Definition at line 985 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gab292ea403db6d514537b515311bf9ae3}\label{group__window_gab292ea403db6d514537b515311bf9ae3}} 
\index{Window reference@{Window reference}!GLFW\_BLUE\_BITS@{GLFW\_BLUE\_BITS}}
\index{GLFW\_BLUE\_BITS@{GLFW\_BLUE\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_BLUE\_BITS}{GLFW\_BLUE\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+B\+L\+U\+E\+\_\+\+B\+I\+TS~0x00021003}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_BLUE_BITS}{hint}}. 

Definition at line 945 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga5ac0847c0aa0b3619f2855707b8a7a77}\label{group__window_ga5ac0847c0aa0b3619f2855707b8a7a77}} 
\index{Window reference@{Window reference}!GLFW\_CENTER\_CURSOR@{GLFW\_CENTER\_CURSOR}}
\index{GLFW\_CENTER\_CURSOR@{GLFW\_CENTER\_CURSOR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CENTER\_CURSOR}{GLFW\_CENTER\_CURSOR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+E\+N\+T\+E\+R\+\_\+\+C\+U\+R\+S\+OR~0x00020009}



Cursor centering window hint. 

Cursor centering \mbox{\hyperlink{window_guide_GLFW_CENTER_CURSOR_hint}{window hint}}. 

Definition at line 904 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga649309cf72a3d3de5b1348ca7936c95b}\label{group__window_ga649309cf72a3d3de5b1348ca7936c95b}} 
\index{Window reference@{Window reference}!GLFW\_CLIENT\_API@{GLFW\_CLIENT\_API}}
\index{GLFW\_CLIENT\_API@{GLFW\_CLIENT\_API}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CLIENT\_API}{GLFW\_CLIENT\_API}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+L\+I\+E\+N\+T\+\_\+\+A\+PI~0x00022001}



Context client A\+PI hint and attribute. 

Context client A\+PI \mbox{\hyperlink{window_guide_GLFW_CLIENT_API_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CLIENT_API_attrib}{attribute}}. 

Definition at line 1018 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga70fa0fbc745de6aa824df79a580e84b5}\label{group__window_ga70fa0fbc745de6aa824df79a580e84b5}} 
\index{Window reference@{Window reference}!GLFW\_COCOA\_FRAME\_NAME@{GLFW\_COCOA\_FRAME\_NAME}}
\index{GLFW\_COCOA\_FRAME\_NAME@{GLFW\_COCOA\_FRAME\_NAME}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_COCOA\_FRAME\_NAME}{GLFW\_COCOA\_FRAME\_NAME}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+F\+R\+A\+M\+E\+\_\+\+N\+A\+ME~0x00023002}



mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_FRAME_NAME_hint}{window hint}}. 



Definition at line 1095 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga53c84ed2ddd94e15bbd44b1f6f7feafc}\label{group__window_ga53c84ed2ddd94e15bbd44b1f6f7feafc}} 
\index{Window reference@{Window reference}!GLFW\_COCOA\_GRAPHICS\_SWITCHING@{GLFW\_COCOA\_GRAPHICS\_SWITCHING}}
\index{GLFW\_COCOA\_GRAPHICS\_SWITCHING@{GLFW\_COCOA\_GRAPHICS\_SWITCHING}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_COCOA\_GRAPHICS\_SWITCHING}{GLFW\_COCOA\_GRAPHICS\_SWITCHING}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+G\+R\+A\+P\+H\+I\+C\+S\+\_\+\+S\+W\+I\+T\+C\+H\+I\+NG~0x00023003}



mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_GRAPHICS_SWITCHING_hint}{window hint}}. 



Definition at line 1099 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gab6ef2d02eb55800d249ccf1af253c35e}\label{group__window_gab6ef2d02eb55800d249ccf1af253c35e}} 
\index{Window reference@{Window reference}!GLFW\_COCOA\_RETINA\_FRAMEBUFFER@{GLFW\_COCOA\_RETINA\_FRAMEBUFFER}}
\index{GLFW\_COCOA\_RETINA\_FRAMEBUFFER@{GLFW\_COCOA\_RETINA\_FRAMEBUFFER}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_COCOA\_RETINA\_FRAMEBUFFER}{GLFW\_COCOA\_RETINA\_FRAMEBUFFER}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+R\+E\+T\+I\+N\+A\+\_\+\+F\+R\+A\+M\+E\+B\+U\+F\+F\+ER~0x00023001}



mac\+OS specific \mbox{\hyperlink{window_guide_GLFW_COCOA_RETINA_FRAMEBUFFER_hint}{window hint}}. 



Definition at line 1091 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga5154cebfcd831c1cc63a4d5ac9bb4486}\label{group__window_ga5154cebfcd831c1cc63a4d5ac9bb4486}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_CREATION\_API@{GLFW\_CONTEXT\_CREATION\_API}}
\index{GLFW\_CONTEXT\_CREATION\_API@{GLFW\_CONTEXT\_CREATION\_API}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_CREATION\_API}{GLFW\_CONTEXT\_CREATION\_API}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+C\+R\+E\+A\+T\+I\+O\+N\+\_\+\+A\+PI~0x0002200B}



Context creation A\+PI hint and attribute. 

Context creation A\+PI \mbox{\hyperlink{window_guide_GLFW_CONTEXT_CREATION_API_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_CREATION_API_attrib}{attribute}}. 

Definition at line 1083 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}\label{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_DEBUG@{GLFW\_CONTEXT\_DEBUG}}
\index{GLFW\_CONTEXT\_DEBUG@{GLFW\_CONTEXT\_DEBUG}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_DEBUG}{GLFW\_CONTEXT\_DEBUG}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+D\+E\+B\+UG~0x00022007}



Debug mode context hint and attribute. 

Debug mode context \mbox{\hyperlink{window_guide_GLFW_CONTEXT_DEBUG_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_DEBUG_attrib}{attribute}}. 

Definition at line 1054 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga5a52fdfd46d8249c211f923675728082}\label{group__window_ga5a52fdfd46d8249c211f923675728082}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_NO\_ERROR@{GLFW\_CONTEXT\_NO\_ERROR}}
\index{GLFW\_CONTEXT\_NO\_ERROR@{GLFW\_CONTEXT\_NO\_ERROR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_NO\_ERROR}{GLFW\_CONTEXT\_NO\_ERROR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+N\+O\+\_\+\+E\+R\+R\+OR~0x0002200A}



Context error suppression hint and attribute. 

Context error suppression \mbox{\hyperlink{window_guide_GLFW_CONTEXT_NO_ERROR_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_NO_ERROR_attrib}{attribute}}. 

Definition at line 1077 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga72b648a8378fe3310c7c7bbecc0f7be6}\label{group__window_ga72b648a8378fe3310c7c7bbecc0f7be6}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_RELEASE\_BEHAVIOR@{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}}
\index{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR@{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+E\+L\+E\+A\+S\+E\+\_\+\+B\+E\+H\+A\+V\+I\+OR~0x00022009}



Context flush-\/on-\/release hint and attribute. 

Context flush-\/on-\/release \mbox{\hyperlink{window_guide_GLFW_CONTEXT_RELEASE_BEHAVIOR_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_RELEASE_BEHAVIOR_attrib}{attribute}}. 

Definition at line 1071 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafb9475071aa77c6fb05ca5a5c8678a08}\label{group__window_gafb9475071aa77c6fb05ca5a5c8678a08}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_REVISION@{GLFW\_CONTEXT\_REVISION}}
\index{GLFW\_CONTEXT\_REVISION@{GLFW\_CONTEXT\_REVISION}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_REVISION}{GLFW\_CONTEXT\_REVISION}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+E\+V\+I\+S\+I\+ON~0x00022004}



Context client A\+PI revision number attribute. 

Context client A\+PI revision number \mbox{\hyperlink{window_guide_GLFW_CONTEXT_REVISION_attrib}{attribute}}. 

Definition at line 1036 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gade3593916b4c507900aa2d6844810e00}\label{group__window_gade3593916b4c507900aa2d6844810e00}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_ROBUSTNESS@{GLFW\_CONTEXT\_ROBUSTNESS}}
\index{GLFW\_CONTEXT\_ROBUSTNESS@{GLFW\_CONTEXT\_ROBUSTNESS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_ROBUSTNESS}{GLFW\_CONTEXT\_ROBUSTNESS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+R\+O\+B\+U\+S\+T\+N\+E\+SS~0x00022005}



Context robustness hint and attribute. 

Context client A\+PI revision number \mbox{\hyperlink{window_guide_GLFW_CONTEXT_ROBUSTNESS_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_ROBUSTNESS_attrib}{attribute}}. 

Definition at line 1042 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafe5e4922de1f9932d7e9849bb053b0c0}\label{group__window_gafe5e4922de1f9932d7e9849bb053b0c0}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_VERSION\_MAJOR@{GLFW\_CONTEXT\_VERSION\_MAJOR}}
\index{GLFW\_CONTEXT\_VERSION\_MAJOR@{GLFW\_CONTEXT\_VERSION\_MAJOR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_VERSION\_MAJOR}{GLFW\_CONTEXT\_VERSION\_MAJOR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+A\+J\+OR~0x00022002}



Context client A\+PI major version hint and attribute. 

Context client A\+PI major version \mbox{\hyperlink{window_guide_GLFW_CONTEXT_VERSION_MAJOR_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_VERSION_MAJOR_attrib}{attribute}}. 

Definition at line 1024 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga31aca791e4b538c4e4a771eb95cc2d07}\label{group__window_ga31aca791e4b538c4e4a771eb95cc2d07}} 
\index{Window reference@{Window reference}!GLFW\_CONTEXT\_VERSION\_MINOR@{GLFW\_CONTEXT\_VERSION\_MINOR}}
\index{GLFW\_CONTEXT\_VERSION\_MINOR@{GLFW\_CONTEXT\_VERSION\_MINOR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_CONTEXT\_VERSION\_MINOR}{GLFW\_CONTEXT\_VERSION\_MINOR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+M\+I\+N\+OR~0x00022003}



Context client A\+PI minor version hint and attribute. 

Context client A\+PI minor version \mbox{\hyperlink{window_guide_GLFW_CONTEXT_VERSION_MINOR_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_CONTEXT_VERSION_MINOR_attrib}{attribute}}. 

Definition at line 1030 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga21b854d36314c94d65aed84405b2f25e}\label{group__window_ga21b854d36314c94d65aed84405b2f25e}} 
\index{Window reference@{Window reference}!GLFW\_DECORATED@{GLFW\_DECORATED}}
\index{GLFW\_DECORATED@{GLFW\_DECORATED}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_DECORATED}{GLFW\_DECORATED}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+D\+E\+C\+O\+R\+A\+T\+ED~0x00020005}



Window decoration window hint and attribute. 

Window decoration \mbox{\hyperlink{window_guide_GLFW_DECORATED_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_DECORATED_attrib}{window attribute}}. 

Definition at line 881 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga318a55eac1fee57dfe593b6d38149d07}\label{group__window_ga318a55eac1fee57dfe593b6d38149d07}} 
\index{Window reference@{Window reference}!GLFW\_DEPTH\_BITS@{GLFW\_DEPTH\_BITS}}
\index{GLFW\_DEPTH\_BITS@{GLFW\_DEPTH\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_DEPTH\_BITS}{GLFW\_DEPTH\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+D\+E\+P\+T\+H\+\_\+\+B\+I\+TS~0x00021005}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_DEPTH_BITS}{hint}}. 

Definition at line 955 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga714a5d569e8a274ea58fdfa020955339}\label{group__window_ga714a5d569e8a274ea58fdfa020955339}} 
\index{Window reference@{Window reference}!GLFW\_DOUBLEBUFFER@{GLFW\_DOUBLEBUFFER}}
\index{GLFW\_DOUBLEBUFFER@{GLFW\_DOUBLEBUFFER}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_DOUBLEBUFFER}{GLFW\_DOUBLEBUFFER}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+D\+O\+U\+B\+L\+E\+B\+U\+F\+F\+ER~0x00021010}



Framebuffer double buffering hint and attribute. 

Framebuffer double buffering \mbox{\hyperlink{window_guide_GLFW_DOUBLEBUFFER_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_DOUBLEBUFFER_attrib}{attribute}}. 

Definition at line 1011 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga7fb0be51407783b41adbf5bec0b09d80}\label{group__window_ga7fb0be51407783b41adbf5bec0b09d80}} 
\index{Window reference@{Window reference}!GLFW\_FLOATING@{GLFW\_FLOATING}}
\index{GLFW\_FLOATING@{GLFW\_FLOATING}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_FLOATING}{GLFW\_FLOATING}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+F\+L\+O\+A\+T\+I\+NG~0x00020007}



Window decoration window hint and attribute. 

Window decoration \mbox{\hyperlink{window_guide_GLFW_FLOATING_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_FLOATING_attrib}{window attribute}}. 

Definition at line 893 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafa94b1da34bfd6488c0d709761504dfc}\label{group__window_gafa94b1da34bfd6488c0d709761504dfc}} 
\index{Window reference@{Window reference}!GLFW\_FOCUS\_ON\_SHOW@{GLFW\_FOCUS\_ON\_SHOW}}
\index{GLFW\_FOCUS\_ON\_SHOW@{GLFW\_FOCUS\_ON\_SHOW}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_FOCUS\_ON\_SHOW}{GLFW\_FOCUS\_ON\_SHOW}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+\_\+\+O\+N\+\_\+\+S\+H\+OW~0x0002000C}



Input focus on calling show window hint and attribute. 

Input focus \mbox{\hyperlink{window_guide_GLFW_FOCUS_ON_SHOW_hint}{window hint}} or \mbox{\hyperlink{window_guide_GLFW_FOCUS_ON_SHOW_attrib}{window attribute}}. 

Definition at line 922 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga54ddb14825a1541a56e22afb5f832a9e}\label{group__window_ga54ddb14825a1541a56e22afb5f832a9e}} 
\index{Window reference@{Window reference}!GLFW\_FOCUSED@{GLFW\_FOCUSED}}
\index{GLFW\_FOCUSED@{GLFW\_FOCUSED}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_FOCUSED}{GLFW\_FOCUSED}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+ED~0x00020001}



Input focus window hint and attribute. 

Input focus \mbox{\hyperlink{window_guide_GLFW_FOCUSED_hint}{window hint}} or \mbox{\hyperlink{window_guide_GLFW_FOCUSED_attrib}{window attribute}}. 

Definition at line 858 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafba3b72638c914e5fb8a237dd4c50d4d}\label{group__window_gafba3b72638c914e5fb8a237dd4c50d4d}} 
\index{Window reference@{Window reference}!GLFW\_GREEN\_BITS@{GLFW\_GREEN\_BITS}}
\index{GLFW\_GREEN\_BITS@{GLFW\_GREEN\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_GREEN\_BITS}{GLFW\_GREEN\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+G\+R\+E\+E\+N\+\_\+\+B\+I\+TS~0x00021002}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_GREEN_BITS}{hint}}. 

Definition at line 940 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga8665c71c6fa3d22425c6a0e8a3f89d8a}\label{group__window_ga8665c71c6fa3d22425c6a0e8a3f89d8a}} 
\index{Window reference@{Window reference}!GLFW\_HOVERED@{GLFW\_HOVERED}}
\index{GLFW\_HOVERED@{GLFW\_HOVERED}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_HOVERED}{GLFW\_HOVERED}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+H\+O\+V\+E\+R\+ED~0x0002000B}



Mouse cursor hover window attribute. 

Mouse cursor hover \mbox{\hyperlink{window_guide_GLFW_HOVERED_attrib}{window attribute}}. 

Definition at line 916 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga39d44b7c056e55e581355a92d240b58a}\label{group__window_ga39d44b7c056e55e581355a92d240b58a}} 
\index{Window reference@{Window reference}!GLFW\_ICONIFIED@{GLFW\_ICONIFIED}}
\index{GLFW\_ICONIFIED@{GLFW\_ICONIFIED}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_ICONIFIED}{GLFW\_ICONIFIED}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+I\+C\+O\+N\+I\+F\+I\+ED~0x00020002}



Window iconification window attribute. 

Window iconification \mbox{\hyperlink{window_guide_GLFW_ICONIFIED_attrib}{window attribute}}. 

Definition at line 863 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gad8ccb396253ad0b72c6d4c917eb38a03}\label{group__window_gad8ccb396253ad0b72c6d4c917eb38a03}} 
\index{Window reference@{Window reference}!GLFW\_MAXIMIZED@{GLFW\_MAXIMIZED}}
\index{GLFW\_MAXIMIZED@{GLFW\_MAXIMIZED}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_MAXIMIZED}{GLFW\_MAXIMIZED}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+M\+A\+X\+I\+M\+I\+Z\+ED~0x00020008}



Window maximization window hint and attribute. 

Window maximization \mbox{\hyperlink{window_guide_GLFW_MAXIMIZED_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_MAXIMIZED_attrib}{window attribute}}. 

Definition at line 899 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga88981797d29800808ec242274ab5c03a}\label{group__window_ga88981797d29800808ec242274ab5c03a}} 
\index{Window reference@{Window reference}!GLFW\_MOUSE\_PASSTHROUGH@{GLFW\_MOUSE\_PASSTHROUGH}}
\index{GLFW\_MOUSE\_PASSTHROUGH@{GLFW\_MOUSE\_PASSTHROUGH}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_MOUSE\_PASSTHROUGH}{GLFW\_MOUSE\_PASSTHROUGH}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+M\+O\+U\+S\+E\+\_\+\+P\+A\+S\+S\+T\+H\+R\+O\+U\+GH~0x0002000D}



Mouse input transparency window hint and attribute. 

Mouse input transparency \mbox{\hyperlink{window_guide_GLFW_MOUSE_PASSTHROUGH_hint}{window hint}} or \mbox{\hyperlink{window_guide_GLFW_MOUSE_PASSTHROUGH_attrib}{window attribute}}. 

Definition at line 929 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga87ec2df0b915201e950ca42d5d0831e1}\label{group__window_ga87ec2df0b915201e950ca42d5d0831e1}} 
\index{Window reference@{Window reference}!GLFW\_OPENGL\_DEBUG\_CONTEXT@{GLFW\_OPENGL\_DEBUG\_CONTEXT}}
\index{GLFW\_OPENGL\_DEBUG\_CONTEXT@{GLFW\_OPENGL\_DEBUG\_CONTEXT}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_OPENGL\_DEBUG\_CONTEXT}{GLFW\_OPENGL\_DEBUG\_CONTEXT}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+D\+E\+B\+U\+G\+\_\+\+C\+O\+N\+T\+E\+XT~\mbox{\hyperlink{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}{G\+L\+F\+W\+\_\+\+C\+O\+N\+T\+E\+X\+T\+\_\+\+D\+E\+B\+UG}}}



Legacy name for compatibility. 

This is an alias for compatibility with earlier versions. 

Definition at line 1059 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga13d24b12465da8b28985f46c8557925b}\label{group__window_ga13d24b12465da8b28985f46c8557925b}} 
\index{Window reference@{Window reference}!GLFW\_OPENGL\_FORWARD\_COMPAT@{GLFW\_OPENGL\_FORWARD\_COMPAT}}
\index{GLFW\_OPENGL\_FORWARD\_COMPAT@{GLFW\_OPENGL\_FORWARD\_COMPAT}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_OPENGL\_FORWARD\_COMPAT}{GLFW\_OPENGL\_FORWARD\_COMPAT}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+F\+O\+R\+W\+A\+R\+D\+\_\+\+C\+O\+M\+P\+AT~0x00022006}



Open\+GL forward-\/compatibility hint and attribute. 

Open\+GL forward-\/compatibility \mbox{\hyperlink{window_guide_GLFW_OPENGL_FORWARD_COMPAT_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_OPENGL_FORWARD_COMPAT_attrib}{attribute}}. 

Definition at line 1048 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga44f3a6b4261fbe351e0b950b0f372e12}\label{group__window_ga44f3a6b4261fbe351e0b950b0f372e12}} 
\index{Window reference@{Window reference}!GLFW\_OPENGL\_PROFILE@{GLFW\_OPENGL\_PROFILE}}
\index{GLFW\_OPENGL\_PROFILE@{GLFW\_OPENGL\_PROFILE}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_OPENGL\_PROFILE}{GLFW\_OPENGL\_PROFILE}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+P\+R\+O\+F\+I\+LE~0x00022008}



Open\+GL profile hint and attribute. 

Open\+GL profile \mbox{\hyperlink{window_guide_GLFW_OPENGL_PROFILE_hint}{hint}} and \mbox{\hyperlink{window_guide_GLFW_OPENGL_PROFILE_attrib}{attribute}}. 

Definition at line 1065 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gaf78ed8e417dbcc1e354906cc2708c982}\label{group__window_gaf78ed8e417dbcc1e354906cc2708c982}} 
\index{Window reference@{Window reference}!GLFW\_RED\_BITS@{GLFW\_RED\_BITS}}
\index{GLFW\_RED\_BITS@{GLFW\_RED\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_RED\_BITS}{GLFW\_RED\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+R\+E\+D\+\_\+\+B\+I\+TS~0x00021001}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_RED_BITS}{hint}}. 

Definition at line 935 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga0f20825e6e47ee8ba389024519682212}\label{group__window_ga0f20825e6e47ee8ba389024519682212}} 
\index{Window reference@{Window reference}!GLFW\_REFRESH\_RATE@{GLFW\_REFRESH\_RATE}}
\index{GLFW\_REFRESH\_RATE@{GLFW\_REFRESH\_RATE}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_REFRESH\_RATE}{GLFW\_REFRESH\_RATE}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+R\+E\+F\+R\+E\+S\+H\+\_\+\+R\+A\+TE~0x0002100F}



Monitor refresh rate hint. 

Monitor refresh rate \mbox{\hyperlink{window_guide_GLFW_REFRESH_RATE}{hint}}. 

Definition at line 1005 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}\label{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}} 
\index{Window reference@{Window reference}!GLFW\_RESIZABLE@{GLFW\_RESIZABLE}}
\index{GLFW\_RESIZABLE@{GLFW\_RESIZABLE}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_RESIZABLE}{GLFW\_RESIZABLE}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+R\+E\+S\+I\+Z\+A\+B\+LE~0x00020003}



Window resize-\/ability window hint and attribute. 

Window resize-\/ability \mbox{\hyperlink{window_guide_GLFW_RESIZABLE_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_RESIZABLE_attrib}{window attribute}}. 

Definition at line 869 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga2cdf86fdcb7722fb8829c4e201607535}\label{group__window_ga2cdf86fdcb7722fb8829c4e201607535}} 
\index{Window reference@{Window reference}!GLFW\_SAMPLES@{GLFW\_SAMPLES}}
\index{GLFW\_SAMPLES@{GLFW\_SAMPLES}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_SAMPLES}{GLFW\_SAMPLES}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+S\+A\+M\+P\+L\+ES~0x0002100D}



Framebuffer M\+S\+AA samples hint. 

Framebuffer M\+S\+AA samples \mbox{\hyperlink{window_guide_GLFW_SAMPLES}{hint}}. 

Definition at line 995 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga620bc4280c7eab81ac9f02204500ed47}\label{group__window_ga620bc4280c7eab81ac9f02204500ed47}} 
\index{Window reference@{Window reference}!GLFW\_SCALE\_TO\_MONITOR@{GLFW\_SCALE\_TO\_MONITOR}}
\index{GLFW\_SCALE\_TO\_MONITOR@{GLFW\_SCALE\_TO\_MONITOR}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_SCALE\_TO\_MONITOR}{GLFW\_SCALE\_TO\_MONITOR}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+S\+C\+A\+L\+E\+\_\+\+T\+O\+\_\+\+M\+O\+N\+I\+T\+OR~0x0002200C}



Window content area scaling window \mbox{\hyperlink{window_guide_GLFW_SCALE_TO_MONITOR}{window hint}}. 



Definition at line 1087 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga444a8f00414a63220591f9fdb7b5642b}\label{group__window_ga444a8f00414a63220591f9fdb7b5642b}} 
\index{Window reference@{Window reference}!GLFW\_SRGB\_CAPABLE@{GLFW\_SRGB\_CAPABLE}}
\index{GLFW\_SRGB\_CAPABLE@{GLFW\_SRGB\_CAPABLE}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_SRGB\_CAPABLE}{GLFW\_SRGB\_CAPABLE}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+S\+R\+G\+B\+\_\+\+C\+A\+P\+A\+B\+LE~0x0002100E}



Framebuffer s\+R\+GB hint. 

Framebuffer s\+R\+GB \mbox{\hyperlink{window_guide_GLFW_SRGB_CAPABLE}{hint}}. 

Definition at line 1000 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga5339890a45a1fb38e93cb9fcc5fd069d}\label{group__window_ga5339890a45a1fb38e93cb9fcc5fd069d}} 
\index{Window reference@{Window reference}!GLFW\_STENCIL\_BITS@{GLFW\_STENCIL\_BITS}}
\index{GLFW\_STENCIL\_BITS@{GLFW\_STENCIL\_BITS}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_STENCIL\_BITS}{GLFW\_STENCIL\_BITS}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+S\+T\+E\+N\+C\+I\+L\+\_\+\+B\+I\+TS~0x00021006}



Framebuffer bit depth hint. 

Framebuffer bit depth \mbox{\hyperlink{window_guide_GLFW_STENCIL_BITS}{hint}}. 

Definition at line 960 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga83d991efca02537e2d69969135b77b03}\label{group__window_ga83d991efca02537e2d69969135b77b03}} 
\index{Window reference@{Window reference}!GLFW\_STEREO@{GLFW\_STEREO}}
\index{GLFW\_STEREO@{GLFW\_STEREO}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_STEREO}{GLFW\_STEREO}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+S\+T\+E\+R\+EO~0x0002100C}



Open\+GL stereoscopic rendering hint. 

Open\+GL stereoscopic rendering \mbox{\hyperlink{window_guide_GLFW_STEREO}{hint}}. 

Definition at line 990 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga60a0578c3b9449027d683a9c6abb9f14}\label{group__window_ga60a0578c3b9449027d683a9c6abb9f14}} 
\index{Window reference@{Window reference}!GLFW\_TRANSPARENT\_FRAMEBUFFER@{GLFW\_TRANSPARENT\_FRAMEBUFFER}}
\index{GLFW\_TRANSPARENT\_FRAMEBUFFER@{GLFW\_TRANSPARENT\_FRAMEBUFFER}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_TRANSPARENT\_FRAMEBUFFER}{GLFW\_TRANSPARENT\_FRAMEBUFFER}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+T\+R\+A\+N\+S\+P\+A\+R\+E\+N\+T\+\_\+\+F\+R\+A\+M\+E\+B\+U\+F\+F\+ER~0x0002000A}



Window framebuffer transparency hint and attribute. 

Window framebuffer transparency \mbox{\hyperlink{window_guide_GLFW_TRANSPARENT_FRAMEBUFFER_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_TRANSPARENT_FRAMEBUFFER_attrib}{window attribute}}. 

Definition at line 911 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gafb3cdc45297e06d8f1eb13adc69ca6c4}\label{group__window_gafb3cdc45297e06d8f1eb13adc69ca6c4}} 
\index{Window reference@{Window reference}!GLFW\_VISIBLE@{GLFW\_VISIBLE}}
\index{GLFW\_VISIBLE@{GLFW\_VISIBLE}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_VISIBLE}{GLFW\_VISIBLE}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+V\+I\+S\+I\+B\+LE~0x00020004}



Window visibility window hint and attribute. 

Window visibility \mbox{\hyperlink{window_guide_GLFW_VISIBLE_hint}{window hint}} and \mbox{\hyperlink{window_guide_GLFW_VISIBLE_attrib}{window attribute}}. 

Definition at line 875 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gaf65ea8dafdc0edb07b821b9a336d5043}\label{group__window_gaf65ea8dafdc0edb07b821b9a336d5043}} 
\index{Window reference@{Window reference}!GLFW\_WIN32\_KEYBOARD\_MENU@{GLFW\_WIN32\_KEYBOARD\_MENU}}
\index{GLFW\_WIN32\_KEYBOARD\_MENU@{GLFW\_WIN32\_KEYBOARD\_MENU}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_WIN32\_KEYBOARD\_MENU}{GLFW\_WIN32\_KEYBOARD\_MENU}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+W\+I\+N32\+\_\+\+K\+E\+Y\+B\+O\+A\+R\+D\+\_\+\+M\+E\+NU~0x00025001}



Definition at line 1108 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gae5a9ea2fccccd92edbd343fc56461114}\label{group__window_gae5a9ea2fccccd92edbd343fc56461114}} 
\index{Window reference@{Window reference}!GLFW\_X11\_CLASS\_NAME@{GLFW\_X11\_CLASS\_NAME}}
\index{GLFW\_X11\_CLASS\_NAME@{GLFW\_X11\_CLASS\_NAME}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_X11\_CLASS\_NAME}{GLFW\_X11\_CLASS\_NAME}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+X11\+\_\+\+C\+L\+A\+S\+S\+\_\+\+N\+A\+ME~0x00024001}



X11 specific \mbox{\hyperlink{window_guide_GLFW_X11_CLASS_NAME_hint}{window hint}}. 



Definition at line 1103 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga494c3c0d911e4b860b946530a3e389e8}\label{group__window_ga494c3c0d911e4b860b946530a3e389e8}} 
\index{Window reference@{Window reference}!GLFW\_X11\_INSTANCE\_NAME@{GLFW\_X11\_INSTANCE\_NAME}}
\index{GLFW\_X11\_INSTANCE\_NAME@{GLFW\_X11\_INSTANCE\_NAME}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFW\_X11\_INSTANCE\_NAME}{GLFW\_X11\_INSTANCE\_NAME}}
{\footnotesize\ttfamily \#define G\+L\+F\+W\+\_\+\+X11\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+N\+A\+ME~0x00024002}



X11 specific \mbox{\hyperlink{window_guide_GLFW_X11_CLASS_NAME_hint}{window hint}}. 



Definition at line 1107 of file glfw3.\+h.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__window_gae18026e294dde685ed2e5f759533144d}\label{group__window_gae18026e294dde685ed2e5f759533144d}} 
\index{Window reference@{Window reference}!GLFWframebuffersizefun@{GLFWframebuffersizefun}}
\index{GLFWframebuffersizefun@{GLFWframebuffersizefun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWframebuffersizefun}{GLFWframebuffersizefun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wframebuffersizefun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}



The function pointer type for framebuffer size callbacks. 

This is the function pointer type for framebuffer size callbacks. A framebuffer size callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose framebuffer was resized. \\
\hline
\mbox{\texttt{ in}}  & {\em width} & The new width, in pixels, of the framebuffer. \\
\hline
\mbox{\texttt{ in}}  & {\em height} & The new height, in pixels, of the framebuffer.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_fbsize}{Framebuffer size}} 

\mbox{\hyperlink{group__window_ga41d69f9f263d7b33ea03cf58772b4ea0}{glfw\+Set\+Framebuffer\+Size\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1693 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga7cc0a09de172fa7250872046f8c4d2ca}\label{group__window_ga7cc0a09de172fa7250872046f8c4d2ca}} 
\index{Window reference@{Window reference}!GLFWimage@{GLFWimage}}
\index{GLFWimage@{GLFWimage}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWimage}{GLFWimage}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}} \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}}}



Image data. 

This describes a single 2D image. See the documentation for each related function what the expected pixel format is.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{input_guide_cursor_custom}{Custom cursor creation}} 

\mbox{\hyperlink{window_guide_window_icon}{Window icon}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+1. @glfw3 Removed format and bytes-\/per-\/pixel members. 
\end{DoxySince}
\mbox{\Hypertarget{group__window_ga3c96d80d363e67d13a41b5d1821f3242}\label{group__window_ga3c96d80d363e67d13a41b5d1821f3242}} 
\index{Window reference@{Window reference}!GLFWwindow@{GLFWwindow}}
\index{GLFWwindow@{GLFWwindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindow}{GLFWwindow}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}}}



Opaque window object. 

Opaque window object.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_object}{Window objects}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1363 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gabf859b936d80961b7d39013a9694cc3e}\label{group__window_gabf859b936d80961b7d39013a9694cc3e}} 
\index{Window reference@{Window reference}!GLFWwindowclosefun@{GLFWwindowclosefun}}
\index{GLFWwindowclosefun@{GLFWwindowclosefun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowclosefun}{GLFWwindowclosefun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowclosefun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})}



The function pointer type for window close callbacks. 

This is the function pointer type for window close callbacks. A window close callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that the user attempted to close.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_close}{Window closing and close flag}} 

\mbox{\hyperlink{group__window_ga693d778815971a06e1a5a7bcdeff3d36}{glfw\+Set\+Window\+Close\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+5. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 1589 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}\label{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}} 
\index{Window reference@{Window reference}!GLFWwindowcontentscalefun@{GLFWwindowcontentscalefun}}
\index{GLFWwindowcontentscalefun@{GLFWwindowcontentscalefun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowcontentscalefun}{GLFWwindowcontentscalefun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowcontentscalefun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, float xscale, float yscale)}



The function pointer type for window content scale callbacks. 

This is the function pointer type for window content scale callbacks. A window content scale callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{float} xscale, \textcolor{keywordtype}{float} yscale)}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose content scale changed. \\
\hline
\mbox{\texttt{ in}}  & {\em xscale} & The new x-\/axis content scale of the window. \\
\hline
\mbox{\texttt{ in}}  & {\em yscale} & The new y-\/axis content scale of the window.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_scale}{Window content scale}} 

\mbox{\hyperlink{group__window_gac6edcddbe785445d0d2b7b7be500836e}{glfw\+Set\+Window\+Content\+Scale\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 1714 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gabc58c47e9d93f6eb1862d615c3680f46}\label{group__window_gabc58c47e9d93f6eb1862d615c3680f46}} 
\index{Window reference@{Window reference}!GLFWwindowfocusfun@{GLFWwindowfocusfun}}
\index{GLFWwindowfocusfun@{GLFWwindowfocusfun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowfocusfun}{GLFWwindowfocusfun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowfocusfun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int focused)}



The function pointer type for window focus callbacks. 

This is the function pointer type for window focus callbacks. A window focus callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} focused)}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that gained or lost input focus. \\
\hline
\mbox{\texttt{ in}}  & {\em focused} & {\ttfamily G\+L\+F\+W\+\_\+\+T\+R\+UE} if the window was given input focus, or {\ttfamily G\+L\+F\+W\+\_\+\+F\+A\+L\+SE} if it lost it.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_focus}{Window input focus}} 

\mbox{\hyperlink{group__window_gacce1c4dd273b5c4c60b05599f8725b4e}{glfw\+Set\+Window\+Focus\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1630 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga35c658cccba236f26e7adee0e25f6a4f}\label{group__window_ga35c658cccba236f26e7adee0e25f6a4f}} 
\index{Window reference@{Window reference}!GLFWwindowiconifyfun@{GLFWwindowiconifyfun}}
\index{GLFWwindowiconifyfun@{GLFWwindowiconifyfun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowiconifyfun}{GLFWwindowiconifyfun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowiconifyfun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int iconified)}



The function pointer type for window iconify callbacks. 

This is the function pointer type for window iconify callbacks. A window iconify callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} iconified)}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that was iconified or restored. \\
\hline
\mbox{\texttt{ in}}  & {\em iconified} & {\ttfamily G\+L\+F\+W\+\_\+\+T\+R\+UE} if the window was iconified, or {\ttfamily G\+L\+F\+W\+\_\+\+F\+A\+L\+SE} if it was restored.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_iconify}{Window iconification}} 

\mbox{\hyperlink{group__window_ga3e9f355edb6b9247149ddea2335eda69}{glfw\+Set\+Window\+Iconify\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1651 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga3017196fdaec33ac3e095765176c2a90}\label{group__window_ga3017196fdaec33ac3e095765176c2a90}} 
\index{Window reference@{Window reference}!GLFWwindowmaximizefun@{GLFWwindowmaximizefun}}
\index{GLFWwindowmaximizefun@{GLFWwindowmaximizefun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowmaximizefun}{GLFWwindowmaximizefun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowmaximizefun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int maximized)}



The function pointer type for window maximize callbacks. 

This is the function pointer type for window maximize callbacks. A window maximize callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} maximized)}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that was maximized or restored. \\
\hline
\mbox{\texttt{ in}}  & {\em maximized} & {\ttfamily G\+L\+F\+W\+\_\+\+T\+R\+UE} if the window was maximized, or {\ttfamily G\+L\+F\+W\+\_\+\+F\+A\+L\+SE} if it was restored.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_maximize}{Window maximization}} 

\mbox{\hyperlink{group__window_gae77b3960dcd40514fb7b2b8a6eb98137}{glfw\+Set\+Window\+Maximize\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 1672 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gabe287973a21a8f927cde4db06b8dcbe9}\label{group__window_gabe287973a21a8f927cde4db06b8dcbe9}} 
\index{Window reference@{Window reference}!GLFWwindowposfun@{GLFWwindowposfun}}
\index{GLFWwindowposfun@{GLFWwindowposfun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowposfun}{GLFWwindowposfun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowposfun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int xpos, int ypos)}



The function pointer type for window position callbacks. 

This is the function pointer type for window position callbacks. A window position callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} callback\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} xpos, \textcolor{keywordtype}{int} ypos)}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that was moved. \\
\hline
\mbox{\texttt{ in}}  & {\em xpos} & The new x-\/coordinate, in screen coordinates, of the upper-\/left corner of the content area of the window. \\
\hline
\mbox{\texttt{ in}}  & {\em ypos} & The new y-\/coordinate, in screen coordinates, of the upper-\/left corner of the content area of the window.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_pos}{Window position}} 

\mbox{\hyperlink{group__window_ga517b6e80b982efa06e9b8ca89d4a75a6}{glfw\+Set\+Window\+Pos\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1547 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_ga431663a1427d2eb3a273bc398b6737b5}\label{group__window_ga431663a1427d2eb3a273bc398b6737b5}} 
\index{Window reference@{Window reference}!GLFWwindowrefreshfun@{GLFWwindowrefreshfun}}
\index{GLFWwindowrefreshfun@{GLFWwindowrefreshfun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowrefreshfun}{GLFWwindowrefreshfun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowrefreshfun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})}



The function pointer type for window content refresh callbacks. 

This is the function pointer type for window content refresh callbacks. A window content refresh callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose content needs to be refreshed.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_refresh}{Window damage and refresh}} 

\mbox{\hyperlink{group__window_ga62bfa902c07a03b8ad9be37da31a4be7}{glfw\+Set\+Window\+Refresh\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+5. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 1609 of file glfw3.\+h.

\mbox{\Hypertarget{group__window_gaec0282944bb810f6f3163ec02da90350}\label{group__window_gaec0282944bb810f6f3163ec02da90350}} 
\index{Window reference@{Window reference}!GLFWwindowsizefun@{GLFWwindowsizefun}}
\index{GLFWwindowsizefun@{GLFWwindowsizefun}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{GLFWwindowsizefun}{GLFWwindowsizefun}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}($\ast$ G\+L\+F\+Wwindowsizefun) (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, int \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, int \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}



The function pointer type for window size callbacks. 

This is the function pointer type for window size callbacks. A window size callback function has the following signature\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} callback\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\end{DoxyCode}



\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window that was resized. \\
\hline
\mbox{\texttt{ in}}  & {\em width} & The new width, in screen coordinates, of the window. \\
\hline
\mbox{\texttt{ in}}  & {\em height} & The new height, in screen coordinates, of the window.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_size}{Window size}} 

\mbox{\hyperlink{group__window_gab0754f8d5c7c4d5cae2a9937a0e00bc5}{glfw\+Set\+Window\+Size\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 1569 of file glfw3.\+h.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__window_ga680a02abe0e4494b6759d5703240713e}\label{group__window_ga680a02abe0e4494b6759d5703240713e}} 
\index{Window reference@{Window reference}!glfwCreateWindow@{glfwCreateWindow}}
\index{glfwCreateWindow@{glfwCreateWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwCreateWindow()}{glfwCreateWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}}$\ast$ glfw\+Create\+Window (\begin{DoxyParamCaption}\item[{int}]{width,  }\item[{int}]{height,  }\item[{const char $\ast$}]{title,  }\item[{\mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}} $\ast$}]{monitor,  }\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{share }\end{DoxyParamCaption})}



Creates a window and its associated context. 

This function creates a window and its associated Open\+GL or Open\+GL ES context. Most of the options controlling how the window and its context should be created are specified with \mbox{\hyperlink{window_guide_window_hints}{window hints}}.

Successful creation does not change which context is current. Before you can use the newly created context, you need to \mbox{\hyperlink{context_guide_context_current}{make it current}}. For information about the {\ttfamily share} parameter, see \mbox{\hyperlink{context_guide_context_sharing}{Context object sharing}}.

The created window, framebuffer and context may differ from what you requested, as not all parameters and hints are \mbox{\hyperlink{window_guide_window_hints_hard}{hard constraints}}. This includes the size of the window, especially for full screen windows. To query the actual attributes of the created window, framebuffer and context, see \mbox{\hyperlink{group__window_ga1bb0c7e100418e284dbb800789c63d40}{glfw\+Get\+Window\+Attrib}}, \mbox{\hyperlink{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}{glfw\+Get\+Window\+Size}} and \mbox{\hyperlink{group__window_gaf7d17f3534b4b6dc9a6f905e3a240b7e}{glfw\+Get\+Framebuffer\+Size}}.

To create a full screen window, you need to specify the monitor the window will cover. If no monitor is specified, the window will be windowed mode. Unless you have a way for the user to choose a specific monitor, it is recommended that you pick the primary monitor. For more information on how to query connected monitors, see \mbox{\hyperlink{monitor_guide_monitor_monitors}{Retrieving monitors}}.

For full screen windows, the specified size becomes the resolution of the window\textquotesingle{}s {\itshape desired video mode}. As long as a full screen window is not iconified, the supported video mode most closely matching the desired video mode is set for the specified monitor. For more information about full screen windows, including the creation of so called {\itshape windowed full screen} or {\itshape borderless full screen} windows, see \mbox{\hyperlink{window_guide_window_windowed_full_screen}{\char`\"{}\+Windowed full screen\char`\"{} windows}}.

Once you have created the window, you can switch it between windowed and full screen mode with \mbox{\hyperlink{group__window_ga12fabf78575e59c00f822f323ae0b6ae}{glfw\+Set\+Window\+Monitor}}. This will not affect its Open\+GL or Open\+GL ES context.

By default, newly created windows use the placement recommended by the window system. To create the window at a specific position, make it initially invisible using the \mbox{\hyperlink{window_guide_GLFW_VISIBLE_hint}{G\+L\+F\+W\+\_\+\+V\+I\+S\+I\+B\+LE}} window hint, set its \mbox{\hyperlink{window_guide_window_pos}{position}} and then \mbox{\hyperlink{window_guide_window_hide}{show}} it.

As long as at least one full screen window is not iconified, the screensaver is prohibited from starting.

Window systems put limits on window sizes. Very large or very small window dimensions may be overridden by the window system on creation. Check the actual \mbox{\hyperlink{window_guide_window_size}{size}} after creation.

The \mbox{\hyperlink{window_guide_buffer_swap}{swap interval}} is not set during window creation and the initial value may vary depending on driver settings and defaults.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em width} & The desired width, in screen coordinates, of the window. This must be greater than zero. \\
\hline
\mbox{\texttt{ in}}  & {\em height} & The desired height, in screen coordinates, of the window. This must be greater than zero. \\
\hline
\mbox{\texttt{ in}}  & {\em title} & The initial, U\+T\+F-\/8 encoded window title. \\
\hline
\mbox{\texttt{ in}}  & {\em monitor} & The monitor to use for full screen mode, or {\ttfamily N\+U\+LL} for windowed mode. \\
\hline
\mbox{\texttt{ in}}  & {\em share} & The window whose context to share resources with, or {\ttfamily N\+U\+LL} to not share resources. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The handle of the created window, or {\ttfamily N\+U\+LL} if an \mbox{\hyperlink{intro_guide_error_handling}{error}} occurred.
\end{DoxyReturn}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+E\+N\+UM}}, \mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+L\+UE}}, \mbox{\hyperlink{group__errors_ga56882b290db23261cc6c053c40c2d08e}{G\+L\+F\+W\+\_\+\+A\+P\+I\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}, \mbox{\hyperlink{group__errors_gad16c5565b4a69f9c2a9ac2c0dbc89462}{G\+L\+F\+W\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}, \mbox{\hyperlink{group__errors_ga196e125ef261d94184e2b55c05762f14}{G\+L\+F\+W\+\_\+\+F\+O\+R\+M\+A\+T\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@win32 Window creation will fail if the Microsoft G\+DI software Open\+GL implementation is the only one available.

@win32 If the executable has an icon resource named {\ttfamily G\+L\+F\+W\+\_\+\+I\+C\+ON,} it will be set as the initial icon for the window. If no such icon is present, the {\ttfamily I\+D\+I\+\_\+\+A\+P\+P\+L\+I\+C\+A\+T\+I\+ON} icon will be used instead. To set a different icon, see \mbox{\hyperlink{group__window_ga182987a1a62a41a924842b9473d560df}{glfw\+Set\+Window\+Icon}}.

@win32 The context to share resources with must not be current on any other thread.

@macos The OS only supports core profile contexts for Open\+GL versions 3.\+2 and later. Before creating an Open\+GL context of version 3.\+2 or later you must set the \mbox{\hyperlink{window_guide_GLFW_OPENGL_PROFILE_hint}{G\+L\+F\+W\+\_\+\+O\+P\+E\+N\+G\+L\+\_\+\+P\+R\+O\+F\+I\+LE}} hint accordingly. Open\+GL 3.\+0 and 3.\+1 contexts are not supported at all on mac\+OS.

@macos The G\+L\+FW window has no icon, as it is not a document window, but the dock icon will be the same as the application bundle\textquotesingle{}s icon. For more information on bundles, see the \href{https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/}{\texttt{ Bundle Programming Guide}} in the Mac Developer Library.

@macos On OS X 10.\+10 and later the window frame will not be rendered at full resolution on Retina displays unless the \mbox{\hyperlink{window_guide_GLFW_COCOA_RETINA_FRAMEBUFFER_hint}{G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+R\+E\+T\+I\+N\+A\+\_\+\+F\+R\+A\+M\+E\+B\+U\+F\+F\+ER}} hint is {\ttfamily G\+L\+F\+W\+\_\+\+T\+R\+UE} and the {\ttfamily N\+S\+High\+Resolution\+Capable} key is enabled in the application bundle\textquotesingle{}s {\ttfamily Info.\+plist}. For more information, see \href{https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Explained/Explained.html}{\texttt{ High Resolution Guidelines for OS X}} in the Mac Developer Library. The G\+L\+FW test and example programs use a custom {\ttfamily Info.\+plist} template for this, which can be found as {\ttfamily C\+Make/\+Info.\+plist.\+in} in the source tree.

@macos When activating frame autosaving with \mbox{\hyperlink{window_guide_GLFW_COCOA_FRAME_NAME_hint}{G\+L\+F\+W\+\_\+\+C\+O\+C\+O\+A\+\_\+\+F\+R\+A\+M\+E\+\_\+\+N\+A\+ME}}, the specified window size and position may be overridden by previously saved values.

@x11 Some window managers will not respect the placement of initially hidden windows.

@x11 Due to the asynchronous nature of X11, it may take a moment for a window to reach its requested state. This means you may not be able to query the final size, position or other attributes directly after window creation.

@x11 The class part of the {\ttfamily W\+M\+\_\+\+C\+L\+A\+SS} window property will by default be set to the window title passed to this function. The instance part will use the contents of the {\ttfamily R\+E\+S\+O\+U\+R\+C\+E\+\_\+\+N\+A\+ME} environment variable, if present and not empty, or fall back to the window title. Set the \mbox{\hyperlink{window_guide_GLFW_X11_CLASS_NAME_hint}{G\+L\+F\+W\+\_\+\+X11\+\_\+\+C\+L\+A\+S\+S\+\_\+\+N\+A\+ME}} and \mbox{\hyperlink{window_guide_GLFW_X11_INSTANCE_NAME_hint}{G\+L\+F\+W\+\_\+\+X11\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+N\+A\+ME}} window hints to override this.

@wayland Compositors should implement the xdg-\/decoration protocol for G\+L\+FW to decorate the window properly. If this protocol isn\textquotesingle{}t supported, or if the compositor prefers client-\/side decorations, a very simple fallback frame will be drawn using the wp\+\_\+viewporter protocol. A compositor can still emit close, maximize or fullscreen events, using for instance a keybind mechanism. If neither of these protocols is supported, the window won\textquotesingle{}t be decorated.

@wayland A full screen window will not attempt to change the mode, no matter what the requested size or refresh rate.

@wayland Screensaver inhibition requires the idle-\/inhibit protocol to be implemented in the user\textquotesingle{}s compositor.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_creation}{Window creation}} 

\mbox{\hyperlink{group__window_ga806747476b7247d292be3711c323ea10}{glfw\+Destroy\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. Replaces {\ttfamily glfw\+Open\+Window}. 
\end{DoxySince}


Definition at line 152 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{156 \{}
\DoxyCodeLine{157     \mbox{\hyperlink{struct___g_l_f_wfbconfig}{\_GLFWfbconfig}} fbconfig;}
\DoxyCodeLine{158     \mbox{\hyperlink{struct___g_l_f_wctxconfig}{\_GLFWctxconfig}} ctxconfig;}
\DoxyCodeLine{159     \mbox{\hyperlink{struct___g_l_f_wwndconfig}{\_GLFWwndconfig}} wndconfig;}
\DoxyCodeLine{160     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}};}
\DoxyCodeLine{161 }
\DoxyCodeLine{162     assert(title != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{163     assert(\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} >= 0);}
\DoxyCodeLine{164     assert(\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} >= 0);}
\DoxyCodeLine{165 }
\DoxyCodeLine{166     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{167 }
\DoxyCodeLine{168     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} <= 0 || \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} <= 0)}
\DoxyCodeLine{169     \{}
\DoxyCodeLine{170         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{171                         \textcolor{stringliteral}{"Invalid window size \%ix\%i"},}
\DoxyCodeLine{172                         \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}});}
\DoxyCodeLine{173 }
\DoxyCodeLine{174         \textcolor{keywordflow}{return} \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}};}
\DoxyCodeLine{175     \}}
\DoxyCodeLine{176 }
\DoxyCodeLine{177     fbconfig  = \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}};}
\DoxyCodeLine{178     ctxconfig = \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}};}
\DoxyCodeLine{179     wndconfig = \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}};}
\DoxyCodeLine{180 }
\DoxyCodeLine{181     wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ab53d90df4a7f5fd67a232501c36ac921}{width}}   = \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}};}
\DoxyCodeLine{182     wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ae1fcd89a1c47ac1a5174636667265154}{height}}  = \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}};}
\DoxyCodeLine{183     wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a1b3475dec1fd6198da30c822d8d17e32}{title}}   = title;}
\DoxyCodeLine{184     ctxconfig.\mbox{\hyperlink{struct___g_l_f_wctxconfig_ae2de5454bfc052ffa9c27f300fcc0425}{share}}   = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) share;}
\DoxyCodeLine{185 }
\DoxyCodeLine{186     \textcolor{keywordflow}{if} (!\mbox{\hyperlink{context_8c_a659c5d5b0cd359304004700d16a76954}{\_glfwIsValidContextConfig}}(\&ctxconfig))}
\DoxyCodeLine{187         \textcolor{keywordflow}{return} \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}};}
\DoxyCodeLine{188 }
\DoxyCodeLine{189     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = \mbox{\hyperlink{init_8c_afdf24e4f0665535fd3d012b810ffb18f}{\_glfw\_calloc}}(1, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}));}
\DoxyCodeLine{190     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>next = \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a7859e386c1ff4ed65e13e6ba1e189cfe}{windowListHead}};}
\DoxyCodeLine{191     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a7859e386c1ff4ed65e13e6ba1e189cfe}{windowListHead}} = \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}};}
\DoxyCodeLine{192 }
\DoxyCodeLine{193     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.width       = \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}};}
\DoxyCodeLine{194     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.height      = \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}};}
\DoxyCodeLine{195     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.redBits     = fbconfig.\mbox{\hyperlink{struct___g_l_f_wfbconfig_ab9a8f50cbc9b0c6e1ad230e411797f44}{redBits}};}
\DoxyCodeLine{196     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.greenBits   = fbconfig.\mbox{\hyperlink{struct___g_l_f_wfbconfig_af19c4a4e81f5e852ebfbfdc5986610ab}{greenBits}};}
\DoxyCodeLine{197     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.blueBits    = fbconfig.\mbox{\hyperlink{struct___g_l_f_wfbconfig_aff797f80ccb99126ce88f696f745f6e5}{blueBits}};}
\DoxyCodeLine{198     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.refreshRate = \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_aa6897931acebf196791bc65c82461110}{refreshRate}};}
\DoxyCodeLine{199 }
\DoxyCodeLine{200     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor          = (\mbox{\hyperlink{struct___g_l_f_wmonitor}{\_GLFWmonitor}}*) monitor;}
\DoxyCodeLine{201     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>resizable        = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a720d7078ba5509a2f900ee1820683757}{resizable}};}
\DoxyCodeLine{202     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>decorated        = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a02d04b1fd5957f637c572719ffbfb322}{decorated}};}
\DoxyCodeLine{203     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>autoIconify      = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_adfada5e8fba13ad11042f7e76c34e84d}{autoIconify}};}
\DoxyCodeLine{204     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>floating         = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a97083e8d9143830dff2cb819762fa042}{floating}};}
\DoxyCodeLine{205     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>focusOnShow      = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a52d82b17771f31cd65202715f5ccaa41}{focusOnShow}};}
\DoxyCodeLine{206     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>mousePassthrough = wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a957f693bf16d99d5217922331b3f96c0}{mousePassthrough}};}
\DoxyCodeLine{207     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>cursorMode       = \mbox{\hyperlink{glfw3_8h_ae04dd25c8577e19fa8c97368561f6c68}{GLFW\_CURSOR\_NORMAL}};}
\DoxyCodeLine{208 }
\DoxyCodeLine{209     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>doublebuffer = fbconfig.\mbox{\hyperlink{struct___g_l_f_wfbconfig_afd48b37171d567f9893bd8a660c4621b}{doublebuffer}};}
\DoxyCodeLine{210 }
\DoxyCodeLine{211     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>minwidth    = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{212     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>minheight   = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{213     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>maxwidth    = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{214     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>maxheight   = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{215     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>numer       = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{216     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>denom       = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{217 }
\DoxyCodeLine{218     \textcolor{comment}{// Open the actual window and create its context}}
\DoxyCodeLine{219     \textcolor{keywordflow}{if} (!\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a133d7bf1900eb7f01130b84f5d8514dc}{createWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \&wndconfig, \&ctxconfig, \&fbconfig))}
\DoxyCodeLine{220     \{}
\DoxyCodeLine{221         \mbox{\hyperlink{group__window_ga806747476b7247d292be3711c323ea10}{glfwDestroyWindow}}((\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}*) \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{222         \textcolor{keywordflow}{return} \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}};}
\DoxyCodeLine{223     \}}
\DoxyCodeLine{224 }
\DoxyCodeLine{225     \textcolor{keywordflow}{if} (ctxconfig.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a9d54584dc156b04e39d7567a70e13ef8}{client}} != \mbox{\hyperlink{glfw3_8h_a8f6dcdc968d214ff14779564f1389264}{GLFW\_NO\_API}})}
\DoxyCodeLine{226     \{}
\DoxyCodeLine{227         \textcolor{keywordflow}{if} (!\mbox{\hyperlink{context_8c_ad31e31c6a588d6770188033eed87305b}{\_glfwRefreshContextAttribs}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \&ctxconfig))}
\DoxyCodeLine{228         \{}
\DoxyCodeLine{229             \mbox{\hyperlink{group__window_ga806747476b7247d292be3711c323ea10}{glfwDestroyWindow}}((\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}*) \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{230             \textcolor{keywordflow}{return} \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}};}
\DoxyCodeLine{231         \}}
\DoxyCodeLine{232     \}}
\DoxyCodeLine{233 }
\DoxyCodeLine{234     \textcolor{keywordflow}{if} (wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a957f693bf16d99d5217922331b3f96c0}{mousePassthrough}})}
\DoxyCodeLine{235         \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a7d6d01a90ce3f4b04ba0954aedc9ab9f}{setWindowMousePassthrough}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}});}
\DoxyCodeLine{236 }
\DoxyCodeLine{237     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{238     \{}
\DoxyCodeLine{239         \textcolor{keywordflow}{if} (wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a083f02ce71ee3bd7f5eb2bb5fe1e840b}{centerCursor}})}
\DoxyCodeLine{240             \mbox{\hyperlink{deps_2glfw_2src_2input_8c_acf1fbc03e8d658a35f70544df858fe6c}{\_glfwCenterCursorInContentArea}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{241     \}}
\DoxyCodeLine{242     \textcolor{keywordflow}{else}}
\DoxyCodeLine{243     \{}
\DoxyCodeLine{244         \textcolor{keywordflow}{if} (wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a308144d2d6df19c1d655231b48985b14}{visible}})}
\DoxyCodeLine{245         \{}
\DoxyCodeLine{246             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_acf0479b2c98868d61b54087b4b6de1cd}{showWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{247             \textcolor{keywordflow}{if} (wndconfig.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ac56d67a9031b7fba4620f7e756ea86d1}{focused}})}
\DoxyCodeLine{248                 \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a371fdd823fe2e2c448627ec8ac8d00c9}{focusWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{249         \}}
\DoxyCodeLine{250     \}}
\DoxyCodeLine{251 }
\DoxyCodeLine{252     \textcolor{keywordflow}{return} (\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}*) \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}};}
\DoxyCodeLine{253 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}\label{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}} 
\index{Window reference@{Window reference}!glfwDefaultWindowHints@{glfwDefaultWindowHints}}
\index{glfwDefaultWindowHints@{glfwDefaultWindowHints}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwDefaultWindowHints()}{glfwDefaultWindowHints()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Default\+Window\+Hints (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}}]{ }\end{DoxyParamCaption})}



Resets all window hints to their default values. 

This function resets all window hints to their \mbox{\hyperlink{window_guide_window_hints_values}{default values}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_hints}{Window creation hints}} 

\mbox{\hyperlink{group__window_ga69c40728499720bef8a49aa925ea0efa}{glfw\+Window\+Hint}} 

\mbox{\hyperlink{group__window_ga3c2270562d7ba13d92680ba1090adafe}{glfw\+Window\+Hint\+String}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 255 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{256 \{}
\DoxyCodeLine{257     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{258 }
\DoxyCodeLine{259     \textcolor{comment}{// The default is OpenGL with minimum version 1.0}}
\DoxyCodeLine{260     memset(\&\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}, 0, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}));}
\DoxyCodeLine{261     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a9d54584dc156b04e39d7567a70e13ef8}{client}} = \mbox{\hyperlink{glfw3_8h_a01b3f66db266341425e9abee6b257db2}{GLFW\_OPENGL\_API}};}
\DoxyCodeLine{262     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a725120317549aa1eef2b88af5ac4c409}{source}} = \mbox{\hyperlink{glfw3_8h_a0494c9bfd3f584ab41e6dbeeaa0e6a19}{GLFW\_NATIVE\_CONTEXT\_API}};}
\DoxyCodeLine{263     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a51a8fa315dccf7f6217098cf0413a7a9}{major}}  = 1;}
\DoxyCodeLine{264     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a250a475c8d778778bb8fb4ab942eddd9}{minor}}  = 0;}
\DoxyCodeLine{265 }
\DoxyCodeLine{266     \textcolor{comment}{// The default is a focused, visible, resizable window with decorations}}
\DoxyCodeLine{267     memset(\&\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}, 0, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}));}
\DoxyCodeLine{268     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a720d7078ba5509a2f900ee1820683757}{resizable}}    = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{269     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a308144d2d6df19c1d655231b48985b14}{visible}}      = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{270     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a02d04b1fd5957f637c572719ffbfb322}{decorated}}    = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{271     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ac56d67a9031b7fba4620f7e756ea86d1}{focused}}      = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{272     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_adfada5e8fba13ad11042f7e76c34e84d}{autoIconify}}  = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{273     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a083f02ce71ee3bd7f5eb2bb5fe1e840b}{centerCursor}} = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{274     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a52d82b17771f31cd65202715f5ccaa41}{focusOnShow}}  = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{275 }
\DoxyCodeLine{276     \textcolor{comment}{// The default is 24 bits of color, 24 bits of depth and 8 bits of stencil,}}
\DoxyCodeLine{277     \textcolor{comment}{// double buffered}}
\DoxyCodeLine{278     memset(\&\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}, 0, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}));}
\DoxyCodeLine{279     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_ab9a8f50cbc9b0c6e1ad230e411797f44}{redBits}}      = 8;}
\DoxyCodeLine{280     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_af19c4a4e81f5e852ebfbfdc5986610ab}{greenBits}}    = 8;}
\DoxyCodeLine{281     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_aff797f80ccb99126ce88f696f745f6e5}{blueBits}}     = 8;}
\DoxyCodeLine{282     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a9945d1191aaa94d92f326382027a43a0}{alphaBits}}    = 8;}
\DoxyCodeLine{283     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a0e7baeca6ea2e4146236f38bc1df870f}{depthBits}}    = 24;}
\DoxyCodeLine{284     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a202a6343c817e5f6e9597a02559273b9}{stencilBits}}  = 8;}
\DoxyCodeLine{285     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_afd48b37171d567f9893bd8a660c4621b}{doublebuffer}} = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{286 }
\DoxyCodeLine{287     \textcolor{comment}{// The default is to select the highest available refresh rate}}
\DoxyCodeLine{288     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_aa6897931acebf196791bc65c82461110}{refreshRate}} = \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}};}
\DoxyCodeLine{289 }
\DoxyCodeLine{290     \textcolor{comment}{// The default is to use full Retina resolution framebuffers}}
\DoxyCodeLine{291     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a36a70f7ee298a1cdcadf676ee545f825}{ns}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a7da9c35c04d11628f15d848eca27ebde}{retina}} = \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}};}
\DoxyCodeLine{292 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga806747476b7247d292be3711c323ea10}\label{group__window_ga806747476b7247d292be3711c323ea10}} 
\index{Window reference@{Window reference}!glfwDestroyWindow@{glfwDestroyWindow}}
\index{glfwDestroyWindow@{glfwDestroyWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwDestroyWindow()}{glfwDestroyWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Destroy\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Destroys the specified window and its context. 

This function destroys the specified window and its context. On calling this function, no further callbacks will be called for that window.

If the context of the specified window is current on the main thread, it is detached before being destroyed.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to destroy.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyNote}{Note}
The context of the specified window must not be current on any other thread when this function is called.
\end{DoxyNote}
@reentrancy This function must not be called from a callback.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_creation}{Window creation}} 

\mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. Replaces {\ttfamily glfw\+Close\+Window}. 
\end{DoxySince}


Definition at line 453 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{454 \{}
\DoxyCodeLine{455     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{456 }
\DoxyCodeLine{457     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{458 }
\DoxyCodeLine{459     \textcolor{comment}{// Allow closing of NULL (to match the behavior of free)}}
\DoxyCodeLine{460     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} == \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}})}
\DoxyCodeLine{461         \textcolor{keywordflow}{return};}
\DoxyCodeLine{462 }
\DoxyCodeLine{463     \textcolor{comment}{// Clear all callbacks to avoid exposing a half torn-\/down window object}}
\DoxyCodeLine{464     memset(\&\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks, 0, \textcolor{keyword}{sizeof}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks));}
\DoxyCodeLine{465 }
\DoxyCodeLine{466     \textcolor{comment}{// The window's context must not be current on another thread when the}}
\DoxyCodeLine{467     \textcolor{comment}{// window is destroyed}}
\DoxyCodeLine{468     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} == \mbox{\hyperlink{internal_8h_a0a0787a86bb4e04f17a8d24e70e1f013}{\_glfwPlatformGetTls}}(\&\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_aa267e959a6f2dae405c0c15220e0cfb2}{contextSlot}}))}
\DoxyCodeLine{469         \mbox{\hyperlink{group__context_gafd76c93e15ec8b0b90506a9936a46185}{glfwMakeContextCurrent}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{470 }
\DoxyCodeLine{471     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ad333e998d6a22e17ee71d821beae6e7d}{destroyWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{472 }
\DoxyCodeLine{473     \textcolor{comment}{// Unlink window from global linked list}}
\DoxyCodeLine{474     \{}
\DoxyCodeLine{475         \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}** prev = \&\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a7859e386c1ff4ed65e13e6ba1e189cfe}{windowListHead}};}
\DoxyCodeLine{476 }
\DoxyCodeLine{477         \textcolor{keywordflow}{while} (*prev != \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})}
\DoxyCodeLine{478             prev = \&((*prev)-\/>next);}
\DoxyCodeLine{479 }
\DoxyCodeLine{480         *prev = \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>next;}
\DoxyCodeLine{481     \}}
\DoxyCodeLine{482 }
\DoxyCodeLine{483     \mbox{\hyperlink{init_8c_abcf72962b101a8a5c539da1a278b0e9e}{\_glfw\_free}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{484 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga0da0e3daaa2d100f44a115c09077b510}\label{group__window_ga0da0e3daaa2d100f44a115c09077b510}} 
\index{Window reference@{Window reference}!glfwFocusWindow@{glfwFocusWindow}}
\index{glfwFocusWindow@{glfwFocusWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwFocusWindow()}{glfwFocusWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Focus\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Brings the specified window to front and sets input focus. 

This function brings the specified window to front and sets input focus. The window should already be visible and not iconified.

By default, both windowed and full screen mode windows are focused when initially created. Set the \mbox{\hyperlink{window_guide_GLFW_FOCUSED_hint}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+ED}} to disable this behavior.

Also by default, windowed mode windows are focused when shown with \mbox{\hyperlink{group__window_ga7945bcdff9e5e058cf36505d6873ed8c}{glfw\+Show\+Window}}. Set the \mbox{\hyperlink{window_guide_GLFW_FOCUS_ON_SHOW_hint}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+\_\+\+O\+N\+\_\+\+S\+H\+OW}} to disable this behavior.

{\bfseries{Do not use this function}} to steal focus from other applications unless you are certain that is what the user wants. Focus stealing can be extremely disruptive.

For a less disruptive way of getting the user\textquotesingle{}s attention, see \mbox{\hyperlink{window_guide_window_attention}{attention requests}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to give input focus.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}} and \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} (see remarks).

\begin{DoxyRemark}{Remarks}
@wayland It is not possible for an application to set the input focus. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_focus}{Window input focus}} 

\mbox{\hyperlink{window_guide_window_attention}{Window attention request}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 803 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{804 \{}
\DoxyCodeLine{805     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{806     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{807 }
\DoxyCodeLine{808     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{809 }
\DoxyCodeLine{810     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a371fdd823fe2e2c448627ec8ac8d00c9}{focusWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{811 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gaf7d17f3534b4b6dc9a6f905e3a240b7e}\label{group__window_gaf7d17f3534b4b6dc9a6f905e3a240b7e}} 
\index{Window reference@{Window reference}!glfwGetFramebufferSize@{glfwGetFramebufferSize}}
\index{glfwGetFramebufferSize@{glfwGetFramebufferSize}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetFramebufferSize()}{glfwGetFramebufferSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Get\+Framebuffer\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int $\ast$}]{width,  }\item[{int $\ast$}]{height }\end{DoxyParamCaption})}



Retrieves the size of the framebuffer of the specified window. 

This function retrieves the size, in pixels, of the framebuffer of the specified window. If you wish to retrieve the size of the window in screen coordinates, see \mbox{\hyperlink{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}{glfw\+Get\+Window\+Size}}.

Any or all of the size arguments may be {\ttfamily N\+U\+LL}. If an error occurs, all non-\/{\ttfamily N\+U\+LL} size arguments will be set to zero.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose framebuffer to query. \\
\hline
\mbox{\texttt{ out}}  & {\em width} & Where to store the width, in pixels, of the framebuffer, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em height} & Where to store the height, in pixels, of the framebuffer, or {\ttfamily N\+U\+LL}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_fbsize}{Framebuffer size}} 

\mbox{\hyperlink{group__window_ga41d69f9f263d7b33ea03cf58772b4ea0}{glfw\+Set\+Framebuffer\+Size\+Callback}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 656 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{657 \{}
\DoxyCodeLine{658     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{659     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{660 }
\DoxyCodeLine{661     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}})}
\DoxyCodeLine{662         *\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} = 0;}
\DoxyCodeLine{663     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\DoxyCodeLine{664         *\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} = 0;}
\DoxyCodeLine{665 }
\DoxyCodeLine{666     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{667     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_afd5d50a47dc102ecc01c1b3d3bd31cd8}{getFramebufferSize}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}});}
\DoxyCodeLine{668 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga1bb0c7e100418e284dbb800789c63d40}\label{group__window_ga1bb0c7e100418e284dbb800789c63d40}} 
\index{Window reference@{Window reference}!glfwGetWindowAttrib@{glfwGetWindowAttrib}}
\index{glfwGetWindowAttrib@{glfwGetWindowAttrib}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowAttrib()}{glfwGetWindowAttrib()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} int glfw\+Get\+Window\+Attrib (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{attrib }\end{DoxyParamCaption})}



Returns an attribute of the specified window. 

This function returns the value of an attribute of the specified window or its Open\+GL or Open\+GL ES context.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\mbox{\texttt{ in}}  & {\em attrib} & The \mbox{\hyperlink{window_guide_window_attribs}{window attribute}} whose value to return. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The value of the attribute, or zero if an \mbox{\hyperlink{intro_guide_error_handling}{error}} occurred.
\end{DoxyReturn}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+E\+N\+UM}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
Framebuffer related hints are not window attributes. See \mbox{\hyperlink{window_guide_window_attribs_fb}{Framebuffer related attributes}} for more information.

Zero is a valid value for many window and context related attributes so you cannot use a return value of zero as an indication of errors. However, this function should not fail as long as it is passed valid arguments and the library has been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_attribs}{Window attributes}} 

\mbox{\hyperlink{group__window_gad39f43f07856efcf3d656426a9284c75}{glfw\+Set\+Window\+Attrib}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. Replaces {\ttfamily glfw\+Get\+Window\+Param} and {\ttfamily glfw\+Get\+G\+L\+Version}. 
\end{DoxySince}


Definition at line 813 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{814 \{}
\DoxyCodeLine{815     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{816     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{817 }
\DoxyCodeLine{818     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(0);}
\DoxyCodeLine{819 }
\DoxyCodeLine{820     \textcolor{keywordflow}{switch} (attrib)}
\DoxyCodeLine{821     \{}
\DoxyCodeLine{822         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga54ddb14825a1541a56e22afb5f832a9e}{GLFW\_FOCUSED}}:}
\DoxyCodeLine{823             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a4f8164c43b16635c985a41ff9056a5fe}{windowFocused}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{824         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga39d44b7c056e55e581355a92d240b58a}{GLFW\_ICONIFIED}}:}
\DoxyCodeLine{825             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a27a04313e233695eb8b45fa76278c806}{windowIconified}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{826         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafb3cdc45297e06d8f1eb13adc69ca6c4}{GLFW\_VISIBLE}}:}
\DoxyCodeLine{827             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a328c34c59fa3460fd39f4f476f947cdb}{windowVisible}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{828         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gad8ccb396253ad0b72c6d4c917eb38a03}{GLFW\_MAXIMIZED}}:}
\DoxyCodeLine{829             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a37c3a24d8896b9338aa894de310bf969}{windowMaximized}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{830         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga8665c71c6fa3d22425c6a0e8a3f89d8a}{GLFW\_HOVERED}}:}
\DoxyCodeLine{831             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_adcafb8fd05f3f7c9bdab36d70e578c10}{windowHovered}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{832         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafa94b1da34bfd6488c0d709761504dfc}{GLFW\_FOCUS\_ON\_SHOW}}:}
\DoxyCodeLine{833             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>focusOnShow;}
\DoxyCodeLine{834         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga88981797d29800808ec242274ab5c03a}{GLFW\_MOUSE\_PASSTHROUGH}}:}
\DoxyCodeLine{835             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>mousePassthrough;}
\DoxyCodeLine{836         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga60a0578c3b9449027d683a9c6abb9f14}{GLFW\_TRANSPARENT\_FRAMEBUFFER}}:}
\DoxyCodeLine{837             \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ad5f1ad265f2ffd23d898a70cf1931667}{framebufferTransparent}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{838         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}{GLFW\_RESIZABLE}}:}
\DoxyCodeLine{839             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>resizable;}
\DoxyCodeLine{840         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga21b854d36314c94d65aed84405b2f25e}{GLFW\_DECORATED}}:}
\DoxyCodeLine{841             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>decorated;}
\DoxyCodeLine{842         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga7fb0be51407783b41adbf5bec0b09d80}{GLFW\_FLOATING}}:}
\DoxyCodeLine{843             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>floating;}
\DoxyCodeLine{844         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga9d9874fc928200136a6dcdad726aa252}{GLFW\_AUTO\_ICONIFY}}:}
\DoxyCodeLine{845             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>autoIconify;}
\DoxyCodeLine{846         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga714a5d569e8a274ea58fdfa020955339}{GLFW\_DOUBLEBUFFER}}:}
\DoxyCodeLine{847             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>doublebuffer;}
\DoxyCodeLine{848         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga649309cf72a3d3de5b1348ca7936c95b}{GLFW\_CLIENT\_API}}:}
\DoxyCodeLine{849             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.client;}
\DoxyCodeLine{850         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5154cebfcd831c1cc63a4d5ac9bb4486}{GLFW\_CONTEXT\_CREATION\_API}}:}
\DoxyCodeLine{851             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.source;}
\DoxyCodeLine{852         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafe5e4922de1f9932d7e9849bb053b0c0}{GLFW\_CONTEXT\_VERSION\_MAJOR}}:}
\DoxyCodeLine{853             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.major;}
\DoxyCodeLine{854         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga31aca791e4b538c4e4a771eb95cc2d07}{GLFW\_CONTEXT\_VERSION\_MINOR}}:}
\DoxyCodeLine{855             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.minor;}
\DoxyCodeLine{856         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafb9475071aa77c6fb05ca5a5c8678a08}{GLFW\_CONTEXT\_REVISION}}:}
\DoxyCodeLine{857             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.revision;}
\DoxyCodeLine{858         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gade3593916b4c507900aa2d6844810e00}{GLFW\_CONTEXT\_ROBUSTNESS}}:}
\DoxyCodeLine{859             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.robustness;}
\DoxyCodeLine{860         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga13d24b12465da8b28985f46c8557925b}{GLFW\_OPENGL\_FORWARD\_COMPAT}}:}
\DoxyCodeLine{861             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.forward;}
\DoxyCodeLine{862         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}{GLFW\_CONTEXT\_DEBUG}}:}
\DoxyCodeLine{863             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.debug;}
\DoxyCodeLine{864         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga44f3a6b4261fbe351e0b950b0f372e12}{GLFW\_OPENGL\_PROFILE}}:}
\DoxyCodeLine{865             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.profile;}
\DoxyCodeLine{866         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga72b648a8378fe3310c7c7bbecc0f7be6}{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}}:}
\DoxyCodeLine{867             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.release;}
\DoxyCodeLine{868         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5a52fdfd46d8249c211f923675728082}{GLFW\_CONTEXT\_NO\_ERROR}}:}
\DoxyCodeLine{869             \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.noerror;}
\DoxyCodeLine{870     \}}
\DoxyCodeLine{871 }
\DoxyCodeLine{872     \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{GLFW\_INVALID\_ENUM}}, \textcolor{stringliteral}{"Invalid window attribute 0x\%08X"}, attrib);}
\DoxyCodeLine{873     \textcolor{keywordflow}{return} 0;}
\DoxyCodeLine{874 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga72718c983a9fffaa27f786bfe7d1c9ee}\label{group__window_ga72718c983a9fffaa27f786bfe7d1c9ee}} 
\index{Window reference@{Window reference}!glfwGetWindowContentScale@{glfwGetWindowContentScale}}
\index{glfwGetWindowContentScale@{glfwGetWindowContentScale}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowContentScale()}{glfwGetWindowContentScale()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Get\+Window\+Content\+Scale (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{float $\ast$}]{xscale,  }\item[{float $\ast$}]{yscale }\end{DoxyParamCaption})}



Retrieves the content scale for the specified window. 

This function retrieves the content scale for the specified window. The content scale is the ratio between the current D\+PI and the platform\textquotesingle{}s default D\+PI. This is especially important for text and any UI elements. If the pixel dimensions of your UI scaled by this look appropriate on your machine then it should appear at a reasonable size on other machines regardless of their D\+PI and scaling settings. This relies on the system D\+PI and scaling settings being somewhat correct.

On platforms where each monitors can have its own content scale, the window content scale will depend on which monitor the system considers the window to be on.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\mbox{\texttt{ out}}  & {\em xscale} & Where to store the x-\/axis content scale, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em yscale} & Where to store the y-\/axis content scale, or {\ttfamily N\+U\+LL}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_scale}{Window content scale}} 

\mbox{\hyperlink{group__window_gac6edcddbe785445d0d2b7b7be500836e}{glfw\+Set\+Window\+Content\+Scale\+Callback}} 

\mbox{\hyperlink{group__monitor_ga28d856d94bea2ce8f09a67bb0346aaff}{glfw\+Get\+Monitor\+Content\+Scale}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 690 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{692 \{}
\DoxyCodeLine{693     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{694     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{695 }
\DoxyCodeLine{696     \textcolor{keywordflow}{if} (xscale)}
\DoxyCodeLine{697         *xscale = 0.f;}
\DoxyCodeLine{698     \textcolor{keywordflow}{if} (yscale)}
\DoxyCodeLine{699         *yscale = 0.f;}
\DoxyCodeLine{700 }
\DoxyCodeLine{701     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{702     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a6e6af82d7d64d018f4ae62d9c15fc6ee}{getWindowContentScale}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, xscale, yscale);}
\DoxyCodeLine{703 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gaad46cdaae2eb732f68d3a1499a7c5409}\label{group__window_gaad46cdaae2eb732f68d3a1499a7c5409}} 
\index{Window reference@{Window reference}!glfwGetWindowFrameSize@{glfwGetWindowFrameSize}}
\index{glfwGetWindowFrameSize@{glfwGetWindowFrameSize}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowFrameSize()}{glfwGetWindowFrameSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Get\+Window\+Frame\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int $\ast$}]{left,  }\item[{int $\ast$}]{top,  }\item[{int $\ast$}]{right,  }\item[{int $\ast$}]{bottom }\end{DoxyParamCaption})}



Retrieves the size of the frame of the window. 

This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the \mbox{\hyperlink{window_guide_window_hints_wnd}{window-\/related hints}} used to create it.

Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.

Any or all of the size arguments may be {\ttfamily N\+U\+LL}. If an error occurs, all non-\/{\ttfamily N\+U\+LL} size arguments will be set to zero.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose frame size to query. \\
\hline
\mbox{\texttt{ out}}  & {\em left} & Where to store the size, in screen coordinates, of the left edge of the window frame, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em top} & Where to store the size, in screen coordinates, of the top edge of the window frame, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em right} & Where to store the size, in screen coordinates, of the right edge of the window frame, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em bottom} & Where to store the size, in screen coordinates, of the bottom edge of the window frame, or {\ttfamily N\+U\+LL}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_size}{Window size}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+1. 
\end{DoxySince}


Definition at line 670 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{673 \{}
\DoxyCodeLine{674     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{675     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{676 }
\DoxyCodeLine{677     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a85b8f6c07fbc1fb5d77c2ae090f21995}{left}})}
\DoxyCodeLine{678         *\mbox{\hyperlink{glad_8h_a85b8f6c07fbc1fb5d77c2ae090f21995}{left}} = 0;}
\DoxyCodeLine{679     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glext_8h_a5ab323daeacf8dfdb8f91132fecdca23}{top}})}
\DoxyCodeLine{680         *\mbox{\hyperlink{glext_8h_a5ab323daeacf8dfdb8f91132fecdca23}{top}} = 0;}
\DoxyCodeLine{681     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glext_8h_a5ffadbbacc6b89cf6218bc43b384d3fe}{right}})}
\DoxyCodeLine{682         *\mbox{\hyperlink{glext_8h_a5ffadbbacc6b89cf6218bc43b384d3fe}{right}} = 0;}
\DoxyCodeLine{683     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a95fc257e5ddf46f7db9d5e898cdf1991}{bottom}})}
\DoxyCodeLine{684         *\mbox{\hyperlink{glad_8h_a95fc257e5ddf46f7db9d5e898cdf1991}{bottom}} = 0;}
\DoxyCodeLine{685 }
\DoxyCodeLine{686     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{687     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a6d45026146c463123ad8c00c5c94d9e5}{getWindowFrameSize}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a85b8f6c07fbc1fb5d77c2ae090f21995}{left}}, \mbox{\hyperlink{glext_8h_a5ab323daeacf8dfdb8f91132fecdca23}{top}}, \mbox{\hyperlink{glext_8h_a5ffadbbacc6b89cf6218bc43b384d3fe}{right}}, \mbox{\hyperlink{glad_8h_a95fc257e5ddf46f7db9d5e898cdf1991}{bottom}});}
\DoxyCodeLine{688 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gaf1525cb3bccd5789c702cc9676ef3403}\label{group__window_gaf1525cb3bccd5789c702cc9676ef3403}} 
\index{Window reference@{Window reference}!glfwGetWindowMonitor@{glfwGetWindowMonitor}}
\index{glfwGetWindowMonitor@{glfwGetWindowMonitor}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowMonitor()}{glfwGetWindowMonitor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}}$\ast$ glfw\+Get\+Window\+Monitor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Returns the monitor that the window uses for full screen mode. 

This function returns the handle of the monitor that the specified window is in full screen on.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The monitor, or {\ttfamily N\+U\+LL} if the window is in windowed mode or an \mbox{\hyperlink{intro_guide_error_handling}{error}} occurred.
\end{DoxyReturn}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_monitor}{Window monitor}} 

\mbox{\hyperlink{group__window_ga12fabf78575e59c00f822f323ae0b6ae}{glfw\+Set\+Window\+Monitor}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 922 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{923 \{}
\DoxyCodeLine{924     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{925     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{926 }
\DoxyCodeLine{927     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{928     \textcolor{keywordflow}{return} (\mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{GLFWmonitor}}*) \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor;}
\DoxyCodeLine{929 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gad124d57a1c1c519f60c9765cd0c2a89c}\label{group__window_gad124d57a1c1c519f60c9765cd0c2a89c}} 
\index{Window reference@{Window reference}!glfwGetWindowOpacity@{glfwGetWindowOpacity}}
\index{glfwGetWindowOpacity@{glfwGetWindowOpacity}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowOpacity()}{glfwGetWindowOpacity()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} float glfw\+Get\+Window\+Opacity (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Returns the opacity of the whole window. 

This function returns the opacity of the window, including any decorations.

The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque. If the system does not support whole window transparency, this function always returns one.

The initial opacity value for newly created windows is one.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The opacity value of the specified window.
\end{DoxyReturn}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_transparency}{Window transparency}} 

\mbox{\hyperlink{group__window_ga62a784fe328f227727cbcd0d07480ff3}{glfw\+Set\+Window\+Opacity}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 705 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{706 \{}
\DoxyCodeLine{707     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{708     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{709 }
\DoxyCodeLine{710     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(1.\mbox{\hyperlink{glad_8h_a691492ec0bd6383f91200e49f6ae40ed}{f}});}
\DoxyCodeLine{711     \textcolor{keywordflow}{return} \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a39aafbfbabc1ce37f3d5fa5ac7a8e1aa}{getWindowOpacity}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{712 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga0076a8591ef7494d359730cf2250b45b}\label{group__window_ga0076a8591ef7494d359730cf2250b45b}} 
\index{Window reference@{Window reference}!glfwGetWindowPos@{glfwGetWindowPos}}
\index{glfwGetWindowPos@{glfwGetWindowPos}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowPos()}{glfwGetWindowPos()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Get\+Window\+Pos (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int $\ast$}]{xpos,  }\item[{int $\ast$}]{ypos }\end{DoxyParamCaption})}



Retrieves the position of the content area of the specified window. 

This function retrieves the position, in screen coordinates, of the upper-\/left corner of the content area of the specified window.

Any or all of the position arguments may be {\ttfamily N\+U\+LL}. If an error occurs, all non-\/{\ttfamily N\+U\+LL} position arguments will be set to zero.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\mbox{\texttt{ out}}  & {\em xpos} & Where to store the x-\/coordinate of the upper-\/left corner of the content area, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em ypos} & Where to store the y-\/coordinate of the upper-\/left corner of the content area, or {\ttfamily N\+U\+LL}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}} and \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} (see remarks).

\begin{DoxyRemark}{Remarks}
@wayland There is no way for an application to retrieve the global position of its windows. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_pos}{Window position}} 

\mbox{\hyperlink{group__window_ga0dc8d880a0d87be16d3ea8114561f6f0}{glfw\+Set\+Window\+Pos}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 526 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{527 \{}
\DoxyCodeLine{528     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{529     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{530 }
\DoxyCodeLine{531     \textcolor{keywordflow}{if} (xpos)}
\DoxyCodeLine{532         *xpos = 0;}
\DoxyCodeLine{533     \textcolor{keywordflow}{if} (ypos)}
\DoxyCodeLine{534         *ypos = 0;}
\DoxyCodeLine{535 }
\DoxyCodeLine{536     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{537     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a16500819e4a60a2593e59ec285c09c0b}{getWindowPos}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, xpos, ypos);}
\DoxyCodeLine{538 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}\label{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}} 
\index{Window reference@{Window reference}!glfwGetWindowSize@{glfwGetWindowSize}}
\index{glfwGetWindowSize@{glfwGetWindowSize}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowSize()}{glfwGetWindowSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Get\+Window\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int $\ast$}]{width,  }\item[{int $\ast$}]{height }\end{DoxyParamCaption})}



Retrieves the size of the content area of the specified window. 

This function retrieves the size, in screen coordinates, of the content area of the specified window. If you wish to retrieve the size of the framebuffer of the window in pixels, see \mbox{\hyperlink{group__window_gaf7d17f3534b4b6dc9a6f905e3a240b7e}{glfw\+Get\+Framebuffer\+Size}}.

Any or all of the size arguments may be {\ttfamily N\+U\+LL}. If an error occurs, all non-\/{\ttfamily N\+U\+LL} size arguments will be set to zero.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose size to retrieve. \\
\hline
\mbox{\texttt{ out}}  & {\em width} & Where to store the width, in screen coordinates, of the content area, or {\ttfamily N\+U\+LL}. \\
\hline
\mbox{\texttt{ out}}  & {\em height} & Where to store the height, in screen coordinates, of the content area, or {\ttfamily N\+U\+LL}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_size}{Window size}} 

\mbox{\hyperlink{group__window_gae54d1f4915ded15e267ddd3f41496cd2}{glfw\+Set\+Window\+Size}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 553 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{554 \{}
\DoxyCodeLine{555     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{556     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{557 }
\DoxyCodeLine{558     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}})}
\DoxyCodeLine{559         *\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} = 0;}
\DoxyCodeLine{560     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\DoxyCodeLine{561         *\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} = 0;}
\DoxyCodeLine{562 }
\DoxyCodeLine{563     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{564     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_abb483c8d581cba5199ac0f8bbd4776d5}{getWindowSize}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}});}
\DoxyCodeLine{565 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga0a9ff3b4bf8589e9518e8816d06a8f50}\label{group__window_ga0a9ff3b4bf8589e9518e8816d06a8f50}} 
\index{Window reference@{Window reference}!glfwGetWindowUserPointer@{glfwGetWindowUserPointer}}
\index{glfwGetWindowUserPointer@{glfwGetWindowUserPointer}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwGetWindowUserPointer()}{glfwGetWindowUserPointer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}$\ast$ glfw\+Get\+Window\+User\+Pointer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Returns the user pointer of the specified window. 

This function returns the current value of the user-\/defined pointer of the specified window. The initial value is {\ttfamily N\+U\+LL}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose pointer to return.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function may be called from any thread. Access is not synchronized.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_userptr}{User pointer}} 

\mbox{\hyperlink{group__window_gacc9e68faee3c1763b54cd9bc405cf43e}{glfw\+Set\+Window\+User\+Pointer}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 979 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{980 \{}
\DoxyCodeLine{981     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{982     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{983 }
\DoxyCodeLine{984     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{985     \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>userPointer;}
\DoxyCodeLine{986 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gaa17e287d521544bdeceafa09ac036e20}\label{group__window_gaa17e287d521544bdeceafa09ac036e20}} 
\index{Window reference@{Window reference}!glfwHideWindow@{glfwHideWindow}}
\index{glfwHideWindow@{glfwHideWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwHideWindow()}{glfwHideWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Hide\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Hides the specified window. 

This function hides the specified window if it was previously visible. If the window is already hidden or is in full screen mode, this function does nothing.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to hide.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_hide}{Window visibility}} 

\mbox{\hyperlink{group__window_ga7945bcdff9e5e058cf36505d6873ed8c}{glfw\+Show\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 790 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{791 \{}
\DoxyCodeLine{792     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{793     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{794 }
\DoxyCodeLine{795     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{796 }
\DoxyCodeLine{797     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{798         \textcolor{keywordflow}{return};}
\DoxyCodeLine{799 }
\DoxyCodeLine{800     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a3696989d7bf67837e6c4b742e4671bd1}{hideWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{801 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga24274e3c6ecd44e11fec5e6b66e4d7f3}\label{group__window_ga24274e3c6ecd44e11fec5e6b66e4d7f3}} 
\index{Window reference@{Window reference}!glfwIconifyWindow@{glfwIconifyWindow}}
\index{glfwIconifyWindow@{glfwIconifyWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwIconifyWindow()}{glfwIconifyWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Iconify\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Iconifies the specified window. 

This function iconifies (minimizes) the specified window if it was previously restored. If the window is already iconified, this function does nothing.

If the specified window is a full screen window, the original monitor resolution is restored until the window is restored.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to iconify.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@wayland Once a window is iconified, \mbox{\hyperlink{group__window_ga1e29caf0b819f578b04db52fff17256c}{glfw\+Restore\+Window}} won’t be able to restore it. This is a design decision of the xdg-\/shell protocol.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_iconify}{Window iconification}} 

\mbox{\hyperlink{group__window_ga1e29caf0b819f578b04db52fff17256c}{glfw\+Restore\+Window}} 

\mbox{\hyperlink{group__window_ga4f825a55367d3fabde3d06e7f30128e8}{glfw\+Maximize\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+1. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 733 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{734 \{}
\DoxyCodeLine{735     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{736     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{737 }
\DoxyCodeLine{738     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{739     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_aeaa84ce4827b8592d9d6cbc193de8b36}{iconifyWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{740 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga4f825a55367d3fabde3d06e7f30128e8}\label{group__window_ga4f825a55367d3fabde3d06e7f30128e8}} 
\index{Window reference@{Window reference}!glfwMaximizeWindow@{glfwMaximizeWindow}}
\index{glfwMaximizeWindow@{glfwMaximizeWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwMaximizeWindow()}{glfwMaximizeWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Maximize\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Maximizes the specified window. 

This function maximizes the specified window if it was previously not maximized. If the window is already maximized, this function does nothing.

If the specified window is a full screen window, this function does nothing.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to maximize.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyParagraph}{Thread Safety}
This function may only be called from the main thread.
\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_iconify}{Window iconification}} 

\mbox{\hyperlink{group__window_ga24274e3c6ecd44e11fec5e6b66e4d7f3}{glfw\+Iconify\+Window}} 

\mbox{\hyperlink{group__window_ga1e29caf0b819f578b04db52fff17256c}{glfw\+Restore\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in G\+L\+FW 3.\+2. 
\end{DoxySince}


Definition at line 751 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{752 \{}
\DoxyCodeLine{753     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{754     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{755 }
\DoxyCodeLine{756     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{757 }
\DoxyCodeLine{758     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{759         \textcolor{keywordflow}{return};}
\DoxyCodeLine{760 }
\DoxyCodeLine{761     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a29de307aafa943d887e3dc6cc03b2197}{maximizeWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{762 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga872d16e4c77f58c0436f356255920cfc}\label{group__window_ga872d16e4c77f58c0436f356255920cfc}} 
\index{Window reference@{Window reference}!glfwPollEvents@{glfwPollEvents}}
\index{glfwPollEvents@{glfwPollEvents}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwPollEvents()}{glfwPollEvents()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Poll\+Events (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}}]{ }\end{DoxyParamCaption})}



Processes all pending events. 

This function processes only those events that are already in the event queue and then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the \mbox{\hyperlink{window_guide_window_refresh}{window refresh callback}} to redraw the contents of your window when necessary during such operations.

Do not assume that callbacks you set will {\itshape only} be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require G\+L\+FW to register callbacks of its own can pass events to G\+L\+FW in response to many window system function calls. G\+L\+FW will pass those events on to the application callbacks before returning.

Event processing is not required for joystick input to work.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@reentrancy This function must not be called from a callback.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{input_guide_events}{Event processing}} 

\mbox{\hyperlink{group__window_ga6e042d05823c11e11c7339b81a237738}{glfw\+Wait\+Events}} 

\mbox{\hyperlink{group__window_ga05223a0a4c5e50f10f289e60398153aa}{glfw\+Wait\+Events\+Timeout}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. 
\end{DoxySince}


Definition at line 1087 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1088 \{}
\DoxyCodeLine{1089     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{1090     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a437ced6fc51898b408498c6d4084a387}{pollEvents}}();}
\DoxyCodeLine{1091 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gad6f6b997278c91c43b35970eb9713d7e}\label{group__window_gad6f6b997278c91c43b35970eb9713d7e}} 
\index{Window reference@{Window reference}!glfwPostEmptyEvent@{glfwPostEmptyEvent}}
\index{glfwPostEmptyEvent@{glfwPostEmptyEvent}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwPostEmptyEvent()}{glfwPostEmptyEvent()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Post\+Empty\+Event (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}}]{ }\end{DoxyParamCaption})}



Posts an empty event to the event queue. 

This function posts an empty event from the current thread to the event queue, causing \mbox{\hyperlink{group__window_ga6e042d05823c11e11c7339b81a237738}{glfw\+Wait\+Events}} or \mbox{\hyperlink{group__window_ga05223a0a4c5e50f10f289e60398153aa}{glfw\+Wait\+Events\+Timeout}} to return.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function may be called from any thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{input_guide_events}{Event processing}} 

\mbox{\hyperlink{group__window_ga6e042d05823c11e11c7339b81a237738}{glfw\+Wait\+Events}} 

\mbox{\hyperlink{group__window_ga05223a0a4c5e50f10f289e60398153aa}{glfw\+Wait\+Events\+Timeout}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+1. 
\end{DoxySince}


Definition at line 1115 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1116 \{}
\DoxyCodeLine{1117     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{1118     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_aa13bfe77a85ba1164cd2c32a67ccd242}{postEmptyEvent}}();}
\DoxyCodeLine{1119 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gad0c9629abb49447bedd28080642b8538}\label{group__window_gad0c9629abb49447bedd28080642b8538}} 
\index{Window reference@{Window reference}!glfwRequestWindowAttention@{glfwRequestWindowAttention}}
\index{glfwRequestWindowAttention@{glfwRequestWindowAttention}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwRequestWindowAttention()}{glfwRequestWindowAttention()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Request\+Window\+Attention (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Requests user attention to the specified window. 

This function requests user attention to the specified window. On platforms where this is not supported, attention is requested to the application as a whole.

Once the user has given attention, usually by focusing the window or application, the system will end the request automatically.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to request attention to.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@macos Attention is requested to the application as a whole, not the specific window.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_attention}{Window attention request}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 780 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{781 \{}
\DoxyCodeLine{782     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{783     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{784 }
\DoxyCodeLine{785     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{786 }
\DoxyCodeLine{787     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ac676cf1cf722269148c02a2f409dd678}{requestWindowAttention}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{788 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga1e29caf0b819f578b04db52fff17256c}\label{group__window_ga1e29caf0b819f578b04db52fff17256c}} 
\index{Window reference@{Window reference}!glfwRestoreWindow@{glfwRestoreWindow}}
\index{glfwRestoreWindow@{glfwRestoreWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwRestoreWindow()}{glfwRestoreWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Restore\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Restores the specified window. 

This function restores the specified window if it was previously iconified (minimized) or maximized. If the window is already restored, this function does nothing.

If the specified window is a full screen window, the resolution chosen for the window is restored on the selected monitor.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to restore.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_iconify}{Window iconification}} 

\mbox{\hyperlink{group__window_ga24274e3c6ecd44e11fec5e6b66e4d7f3}{glfw\+Iconify\+Window}} 

\mbox{\hyperlink{group__window_ga4f825a55367d3fabde3d06e7f30128e8}{glfw\+Maximize\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+1. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 742 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{743 \{}
\DoxyCodeLine{744     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{745     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{746 }
\DoxyCodeLine{747     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{748     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a47373deb086f784832dd62275015be8e}{restoreWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{749 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga41d69f9f263d7b33ea03cf58772b4ea0}\label{group__window_ga41d69f9f263d7b33ea03cf58772b4ea0}} 
\index{Window reference@{Window reference}!glfwSetFramebufferSizeCallback@{glfwSetFramebufferSizeCallback}}
\index{glfwSetFramebufferSizeCallback@{glfwSetFramebufferSizeCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetFramebufferSizeCallback()}{glfwSetFramebufferSizeCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{G\+L\+F\+Wframebuffersizefun}} glfw\+Set\+Framebuffer\+Size\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{G\+L\+F\+Wframebuffersizefun}}}]{callback }\end{DoxyParamCaption})}



Sets the framebuffer resize callback for the specified window. 

This function sets the framebuffer resize callback of the specified window, which is called when the framebuffer of the specified window is resized.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_fbsize}{Framebuffer size}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1065 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1067 \{}
\DoxyCodeLine{1068     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1069     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1070 }
\DoxyCodeLine{1071     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1072     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_gae18026e294dde685ed2e5f759533144d}{GLFWframebuffersizefun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.fbsize, cbfun);}
\DoxyCodeLine{1073     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1074 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gad2ae94a2c5ee1c46a36e13a8f4ac68ac}\label{group__window_gad2ae94a2c5ee1c46a36e13a8f4ac68ac}} 
\index{Window reference@{Window reference}!glfwSetWindowAspectRatio@{glfwSetWindowAspectRatio}}
\index{glfwSetWindowAspectRatio@{glfwSetWindowAspectRatio}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowAspectRatio()}{glfwSetWindowAspectRatio()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Aspect\+Ratio (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{numer,  }\item[{int}]{denom }\end{DoxyParamCaption})}



Sets the aspect ratio of the specified window. 

This function sets the required aspect ratio of the content area of the specified window. If the window is full screen, the aspect ratio only takes effect once it is made windowed. If the window is not resizable, this function does nothing.

The aspect ratio is specified as a numerator and a denominator and both values must be greater than zero. For example, the common 16\+:9 aspect ratio is specified as 16 and 9, respectively.

If the numerator and denominator is set to {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE} then the aspect ratio limit is disabled.

The aspect ratio is applied immediately to a windowed mode window and may cause it to be resized.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to set limits for. \\
\hline
\mbox{\texttt{ in}}  & {\em numer} & The numerator of the desired aspect ratio, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}. \\
\hline
\mbox{\texttt{ in}}  & {\em denom} & The denominator of the desired aspect ratio, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+L\+UE}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
If you set size limits and an aspect ratio that conflict, the results are undefined.

@wayland The aspect ratio will not be applied until the window is actually resized, either by the user or by the compositor.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_sizelimits}{Window size limits}} 

\mbox{\hyperlink{group__window_ga8af814fc98d786d1de2505b40b707de8}{glfw\+Set\+Window\+Size\+Limits}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 627 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{628 \{}
\DoxyCodeLine{629     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{630     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{631     assert(numer != 0);}
\DoxyCodeLine{632     assert(denom != 0);}
\DoxyCodeLine{633 }
\DoxyCodeLine{634     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{635 }
\DoxyCodeLine{636     \textcolor{keywordflow}{if} (numer != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}} \&\& denom != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}})}
\DoxyCodeLine{637     \{}
\DoxyCodeLine{638         \textcolor{keywordflow}{if} (numer <= 0 || denom <= 0)}
\DoxyCodeLine{639         \{}
\DoxyCodeLine{640             \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{641                             \textcolor{stringliteral}{"Invalid window aspect ratio \%i:\%i"},}
\DoxyCodeLine{642                             numer, denom);}
\DoxyCodeLine{643             \textcolor{keywordflow}{return};}
\DoxyCodeLine{644         \}}
\DoxyCodeLine{645     \}}
\DoxyCodeLine{646 }
\DoxyCodeLine{647     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>numer = numer;}
\DoxyCodeLine{648     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>denom = denom;}
\DoxyCodeLine{649 }
\DoxyCodeLine{650     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor || !\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>resizable)}
\DoxyCodeLine{651         \textcolor{keywordflow}{return};}
\DoxyCodeLine{652 }
\DoxyCodeLine{653     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a1a5ae87518953ed9a5e18ff7511a55a8}{setWindowAspectRatio}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, numer, denom);}
\DoxyCodeLine{654 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gad39f43f07856efcf3d656426a9284c75}\label{group__window_gad39f43f07856efcf3d656426a9284c75}} 
\index{Window reference@{Window reference}!glfwSetWindowAttrib@{glfwSetWindowAttrib}}
\index{glfwSetWindowAttrib@{glfwSetWindowAttrib}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowAttrib()}{glfwSetWindowAttrib()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Attrib (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{attrib,  }\item[{int}]{value }\end{DoxyParamCaption})}



Sets an attribute of the specified window. 

This function sets the value of an attribute of the specified window.

The supported attributes are \mbox{\hyperlink{window_guide_GLFW_DECORATED_attrib}{G\+L\+F\+W\+\_\+\+D\+E\+C\+O\+R\+A\+T\+ED}}, \mbox{\hyperlink{window_guide_GLFW_RESIZABLE_attrib}{G\+L\+F\+W\+\_\+\+R\+E\+S\+I\+Z\+A\+B\+LE}}, \mbox{\hyperlink{window_guide_GLFW_FLOATING_attrib}{G\+L\+F\+W\+\_\+\+F\+L\+O\+A\+T\+I\+NG}}, \mbox{\hyperlink{window_guide_GLFW_AUTO_ICONIFY_attrib}{G\+L\+F\+W\+\_\+\+A\+U\+T\+O\+\_\+\+I\+C\+O\+N\+I\+FY}} and \mbox{\hyperlink{window_guide_GLFW_FOCUS_ON_SHOW_attrib}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+\_\+\+O\+N\+\_\+\+S\+H\+OW}}. \mbox{\hyperlink{window_guide_GLFW_MOUSE_PASSTHROUGH_attrib}{G\+L\+F\+W\+\_\+\+M\+O\+U\+S\+E\+\_\+\+P\+A\+S\+S\+T\+H\+R\+O\+U\+GH}}

Some of these attributes are ignored for full screen windows. The new value will take effect if the window is later made windowed.

Some of these attributes are ignored for windowed mode windows. The new value will take effect if the window is later made full screen.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to set the attribute for. \\
\hline
\mbox{\texttt{ in}}  & {\em attrib} & A supported window attribute. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & {\ttfamily G\+L\+F\+W\+\_\+\+T\+R\+UE} or {\ttfamily G\+L\+F\+W\+\_\+\+F\+A\+L\+SE}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+E\+N\+UM}}, \mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+L\+UE}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
Calling \mbox{\hyperlink{group__window_ga1bb0c7e100418e284dbb800789c63d40}{glfw\+Get\+Window\+Attrib}} will always return the latest value, even if that value is ignored by the current mode of the window.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_attribs}{Window attributes}} 

\mbox{\hyperlink{group__window_ga1bb0c7e100418e284dbb800789c63d40}{glfw\+Get\+Window\+Attrib}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 876 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{877 \{}
\DoxyCodeLine{878     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{879     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{880 }
\DoxyCodeLine{881     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{882 }
\DoxyCodeLine{883     \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{884 }
\DoxyCodeLine{885     \textcolor{keywordflow}{switch} (attrib)}
\DoxyCodeLine{886     \{}
\DoxyCodeLine{887         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga9d9874fc928200136a6dcdad726aa252}{GLFW\_AUTO\_ICONIFY}}:}
\DoxyCodeLine{888             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>autoIconify = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{889             \textcolor{keywordflow}{return};}
\DoxyCodeLine{890 }
\DoxyCodeLine{891         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}{GLFW\_RESIZABLE}}:}
\DoxyCodeLine{892             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>resizable = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{893             \textcolor{keywordflow}{if} (!\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{894                 \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ac7bb2317058895df521f707da74a9d78}{setWindowResizable}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}});}
\DoxyCodeLine{895             \textcolor{keywordflow}{return};}
\DoxyCodeLine{896 }
\DoxyCodeLine{897         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga21b854d36314c94d65aed84405b2f25e}{GLFW\_DECORATED}}:}
\DoxyCodeLine{898             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>decorated = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{899             \textcolor{keywordflow}{if} (!\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{900                 \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ad399bfea6a8bda52b011fa5ad1e4b75b}{setWindowDecorated}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}});}
\DoxyCodeLine{901             \textcolor{keywordflow}{return};}
\DoxyCodeLine{902 }
\DoxyCodeLine{903         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga7fb0be51407783b41adbf5bec0b09d80}{GLFW\_FLOATING}}:}
\DoxyCodeLine{904             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>floating = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{905             \textcolor{keywordflow}{if} (!\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{906                 \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a6c7c9d5ca7c1a50229de8550e129b44d}{setWindowFloating}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}});}
\DoxyCodeLine{907             \textcolor{keywordflow}{return};}
\DoxyCodeLine{908 }
\DoxyCodeLine{909         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafa94b1da34bfd6488c0d709761504dfc}{GLFW\_FOCUS\_ON\_SHOW}}:}
\DoxyCodeLine{910             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>focusOnShow = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{911             \textcolor{keywordflow}{return};}
\DoxyCodeLine{912 }
\DoxyCodeLine{913         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga88981797d29800808ec242274ab5c03a}{GLFW\_MOUSE\_PASSTHROUGH}}:}
\DoxyCodeLine{914             \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>mousePassthrough = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{915             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a7d6d01a90ce3f4b04ba0954aedc9ab9f}{setWindowMousePassthrough}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}});}
\DoxyCodeLine{916             \textcolor{keywordflow}{return};}
\DoxyCodeLine{917     \}}
\DoxyCodeLine{918 }
\DoxyCodeLine{919     \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{GLFW\_INVALID\_ENUM}}, \textcolor{stringliteral}{"Invalid window attribute 0x\%08X"}, attrib);}
\DoxyCodeLine{920 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga693d778815971a06e1a5a7bcdeff3d36}\label{group__window_ga693d778815971a06e1a5a7bcdeff3d36}} 
\index{Window reference@{Window reference}!glfwSetWindowCloseCallback@{glfwSetWindowCloseCallback}}
\index{glfwSetWindowCloseCallback@{glfwSetWindowCloseCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowCloseCallback()}{glfwSetWindowCloseCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{G\+L\+F\+Wwindowclosefun}} glfw\+Set\+Window\+Close\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{G\+L\+F\+Wwindowclosefun}}}]{callback }\end{DoxyParamCaption})}



Sets the close callback for the specified window. 

This function sets the close callback of the specified window, which is called when the user attempts to close the window, for example by clicking the close widget in the title bar.

The close flag is set before this callback is called, but you can modify it at any time with \mbox{\hyperlink{group__window_ga1cadeda7a1e2f224e06a8415d30741aa}{glfw\+Set\+Window\+Should\+Close}}.

The close callback is not triggered by \mbox{\hyperlink{group__window_ga806747476b7247d292be3711c323ea10}{glfw\+Destroy\+Window}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}})}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

\begin{DoxyRemark}{Remarks}
@macos Selecting Quit from the application menu will trigger the close callback for all windows.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_close}{Window closing and close flag}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+5. @glfw3 Added window handle parameter and return value. 
\end{DoxySince}


Definition at line 1010 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1012 \{}
\DoxyCodeLine{1013     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1014     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1015 }
\DoxyCodeLine{1016     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1017     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_gabf859b936d80961b7d39013a9694cc3e}{GLFWwindowclosefun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.close, cbfun);}
\DoxyCodeLine{1018     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1019 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gac6edcddbe785445d0d2b7b7be500836e}\label{group__window_gac6edcddbe785445d0d2b7b7be500836e}} 
\index{Window reference@{Window reference}!glfwSetWindowContentScaleCallback@{glfwSetWindowContentScaleCallback}}
\index{glfwSetWindowContentScaleCallback@{glfwSetWindowContentScaleCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowContentScaleCallback()}{glfwSetWindowContentScaleCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{G\+L\+F\+Wwindowcontentscalefun}} glfw\+Set\+Window\+Content\+Scale\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{G\+L\+F\+Wwindowcontentscalefun}}}]{callback }\end{DoxyParamCaption})}



Sets the window content scale callback for the specified window. 

This function sets the window content scale callback of the specified window, which is called when the content scale of the specified window changes.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{float} xscale, \textcolor{keywordtype}{float} yscale)}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_scale}{Window content scale}} 

\mbox{\hyperlink{group__window_ga72718c983a9fffaa27f786bfe7d1c9ee}{glfw\+Get\+Window\+Content\+Scale}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 1076 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1078 \{}
\DoxyCodeLine{1079     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1080     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1081 }
\DoxyCodeLine{1082     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1083     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_ga77f288a2d04bb3c77c7d9615d08cf70e}{GLFWwindowcontentscalefun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.scale, cbfun);}
\DoxyCodeLine{1084     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1085 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gacce1c4dd273b5c4c60b05599f8725b4e}\label{group__window_gacce1c4dd273b5c4c60b05599f8725b4e}} 
\index{Window reference@{Window reference}!glfwSetWindowFocusCallback@{glfwSetWindowFocusCallback}}
\index{glfwSetWindowFocusCallback@{glfwSetWindowFocusCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowFocusCallback()}{glfwSetWindowFocusCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{G\+L\+F\+Wwindowfocusfun}} glfw\+Set\+Window\+Focus\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{G\+L\+F\+Wwindowfocusfun}}}]{callback }\end{DoxyParamCaption})}



Sets the focus callback for the specified window. 

This function sets the focus callback of the specified window, which is called when the window gains or loses input focus.

After the focus callback is called for a window that lost input focus, synthetic key and mouse button release events will be generated for all such that had been pressed. For more information, see \mbox{\hyperlink{group__input_gaa4cbcb81b939b8800e44cea971ddae47}{glfw\+Set\+Key\+Callback}} and \mbox{\hyperlink{group__input_gab8f17646f43cdca14e5095512618fdf6}{glfw\+Set\+Mouse\+Button\+Callback}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} focused)}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_focus}{Window input focus}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1032 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1034 \{}
\DoxyCodeLine{1035     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1036     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1037 }
\DoxyCodeLine{1038     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1039     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_gabc58c47e9d93f6eb1862d615c3680f46}{GLFWwindowfocusfun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.focus, cbfun);}
\DoxyCodeLine{1040     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1041 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga182987a1a62a41a924842b9473d560df}\label{group__window_ga182987a1a62a41a924842b9473d560df}} 
\index{Window reference@{Window reference}!glfwSetWindowIcon@{glfwSetWindowIcon}}
\index{glfwSetWindowIcon@{glfwSetWindowIcon}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowIcon()}{glfwSetWindowIcon()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Icon (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{count,  }\item[{const \mbox{\hyperlink{struct_g_l_f_wimage}{G\+L\+F\+Wimage}} $\ast$}]{images }\end{DoxyParamCaption})}



Sets the icon for the specified window. 

This function sets the icon of the specified window. If passed an array of candidate images, those of or closest to the sizes desired by the system are selected. If no images are specified, the window reverts to its default icon.

The pixels are 32-\/bit, little-\/endian, non-\/premultiplied R\+G\+BA, i.\+e. eight bits per channel with the red channel first. They are arranged canonically as packed sequential rows, starting from the top-\/left corner.

The desired image sizes varies depending on platform and system settings. The selected images will be rescaled as needed. Good sizes include 16x16, 32x32 and 48x48.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose icon to set. \\
\hline
\mbox{\texttt{ in}}  & {\em count} & The number of images in the specified array, or zero to revert to the default window icon. \\
\hline
\mbox{\texttt{ in}}  & {\em images} & The images to create the icon from. This is ignored if count is zero.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}} and \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} (see remarks).

@pointer\+\_\+lifetime The specified image data is copied before this function returns.

\begin{DoxyRemark}{Remarks}
@macos Regular windows do not have icons on mac\+OS. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}. The dock icon will be the same as the application bundle\textquotesingle{}s icon. For more information on bundles, see the \href{https://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFBundles/}{\texttt{ Bundle Programming Guide}} in the Mac Developer Library.

@wayland There is no existing protocol to change an icon, the window will thus inherit the one defined in the application\textquotesingle{}s desktop file. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_icon}{Window icon}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 514 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{516 \{}
\DoxyCodeLine{517     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{518     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{519     assert(\mbox{\hyperlink{glad_8h_a5b40aca7a9682963dd00a8f5aef0a901}{count}} >= 0);}
\DoxyCodeLine{520     assert(\mbox{\hyperlink{glad_8h_a5b40aca7a9682963dd00a8f5aef0a901}{count}} == 0 || images != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{521 }
\DoxyCodeLine{522     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{523     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a270451a8675f9d950a3871ca8d5fe06e}{setWindowIcon}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a5b40aca7a9682963dd00a8f5aef0a901}{count}}, images);}
\DoxyCodeLine{524 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga3e9f355edb6b9247149ddea2335eda69}\label{group__window_ga3e9f355edb6b9247149ddea2335eda69}} 
\index{Window reference@{Window reference}!glfwSetWindowIconifyCallback@{glfwSetWindowIconifyCallback}}
\index{glfwSetWindowIconifyCallback@{glfwSetWindowIconifyCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowIconifyCallback()}{glfwSetWindowIconifyCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{G\+L\+F\+Wwindowiconifyfun}} glfw\+Set\+Window\+Iconify\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{G\+L\+F\+Wwindowiconifyfun}}}]{callback }\end{DoxyParamCaption})}



Sets the iconify callback for the specified window. 

This function sets the iconification callback of the specified window, which is called when the window is iconified or restored.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} iconified)}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_iconify}{Window iconification}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 1043 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1045 \{}
\DoxyCodeLine{1046     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1047     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1048 }
\DoxyCodeLine{1049     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1050     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_ga35c658cccba236f26e7adee0e25f6a4f}{GLFWwindowiconifyfun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.iconify, cbfun);}
\DoxyCodeLine{1051     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1052 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gae77b3960dcd40514fb7b2b8a6eb98137}\label{group__window_gae77b3960dcd40514fb7b2b8a6eb98137}} 
\index{Window reference@{Window reference}!glfwSetWindowMaximizeCallback@{glfwSetWindowMaximizeCallback}}
\index{glfwSetWindowMaximizeCallback@{glfwSetWindowMaximizeCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowMaximizeCallback()}{glfwSetWindowMaximizeCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{G\+L\+F\+Wwindowmaximizefun}} glfw\+Set\+Window\+Maximize\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{G\+L\+F\+Wwindowmaximizefun}}}]{callback }\end{DoxyParamCaption})}



Sets the maximize callback for the specified window. 

This function sets the maximization callback of the specified window, which is called when the window is maximized or restored.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} maximized)}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_maximize}{Window maximization}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 1054 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1056 \{}
\DoxyCodeLine{1057     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1058     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1059 }
\DoxyCodeLine{1060     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1061     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_ga3017196fdaec33ac3e095765176c2a90}{GLFWwindowmaximizefun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.maximize, cbfun);}
\DoxyCodeLine{1062     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1063 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga12fabf78575e59c00f822f323ae0b6ae}\label{group__window_ga12fabf78575e59c00f822f323ae0b6ae}} 
\index{Window reference@{Window reference}!glfwSetWindowMonitor@{glfwSetWindowMonitor}}
\index{glfwSetWindowMonitor@{glfwSetWindowMonitor}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowMonitor()}{glfwSetWindowMonitor()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Monitor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__monitor_ga8d9efd1cde9426692c73fe40437d0ae3}{G\+L\+F\+Wmonitor}} $\ast$}]{monitor,  }\item[{int}]{xpos,  }\item[{int}]{ypos,  }\item[{int}]{width,  }\item[{int}]{height,  }\item[{int}]{refresh\+Rate }\end{DoxyParamCaption})}



Sets the mode, monitor, video mode and placement of a window. 

This function sets the monitor that the window uses for full screen mode or, if the monitor is {\ttfamily N\+U\+LL}, makes it windowed mode.

When setting a monitor, this function updates the width, height and refresh rate of the desired video mode and switches to the video mode closest to it. The window position is ignored when setting a monitor.

When the monitor is {\ttfamily N\+U\+LL}, the position, width and height are used to place the window content area. The refresh rate is ignored when no monitor is specified.

If you only wish to update the resolution of a full screen window or the size of a windowed mode window, see \mbox{\hyperlink{group__window_gae54d1f4915ded15e267ddd3f41496cd2}{glfw\+Set\+Window\+Size}}.

When a window transitions from full screen to windowed mode, this function restores any previous window settings such as whether it is decorated, floating, resizable, has size or aspect ratio limits, etc.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose monitor, size or video mode to set. \\
\hline
\mbox{\texttt{ in}}  & {\em monitor} & The desired monitor, or {\ttfamily N\+U\+LL} to set windowed mode. \\
\hline
\mbox{\texttt{ in}}  & {\em xpos} & The desired x-\/coordinate of the upper-\/left corner of the content area. \\
\hline
\mbox{\texttt{ in}}  & {\em ypos} & The desired y-\/coordinate of the upper-\/left corner of the content area. \\
\hline
\mbox{\texttt{ in}}  & {\em width} & The desired with, in screen coordinates, of the content area or video mode. \\
\hline
\mbox{\texttt{ in}}  & {\em height} & The desired height, in screen coordinates, of the content area or video mode. \\
\hline
\mbox{\texttt{ in}}  & {\em refresh\+Rate} & The desired refresh rate, in Hz, of the video mode, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
The Open\+GL or Open\+GL ES context will not be destroyed or otherwise affected by any resizing or mode switching, although you may need to update your viewport if the framebuffer size has changed.

@wayland The desired window position is ignored, as there is no way for an application to set this property.

@wayland Setting the window to full screen will not attempt to change the mode, no matter what the requested size or refresh rate.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_monitor}{Window monitor}} 

\mbox{\hyperlink{window_guide_window_full_screen}{Full screen windows}} 

\mbox{\hyperlink{group__window_gaf1525cb3bccd5789c702cc9676ef3403}{glfw\+Get\+Window\+Monitor}} 

\mbox{\hyperlink{group__window_gae54d1f4915ded15e267ddd3f41496cd2}{glfw\+Set\+Window\+Size}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 931 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{936 \{}
\DoxyCodeLine{937     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) wh;}
\DoxyCodeLine{938     \mbox{\hyperlink{struct___g_l_f_wmonitor}{\_GLFWmonitor}}* monitor = (\mbox{\hyperlink{struct___g_l_f_wmonitor}{\_GLFWmonitor}}*) mh;}
\DoxyCodeLine{939     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{940     assert(\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} >= 0);}
\DoxyCodeLine{941     assert(\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} >= 0);}
\DoxyCodeLine{942 }
\DoxyCodeLine{943     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{944 }
\DoxyCodeLine{945     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} <= 0 || \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} <= 0)}
\DoxyCodeLine{946     \{}
\DoxyCodeLine{947         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{948                         \textcolor{stringliteral}{"Invalid window size \%ix\%i"},}
\DoxyCodeLine{949                         \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}});}
\DoxyCodeLine{950         \textcolor{keywordflow}{return};}
\DoxyCodeLine{951     \}}
\DoxyCodeLine{952 }
\DoxyCodeLine{953     \textcolor{keywordflow}{if} (refreshRate < 0 \&\& refreshRate != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}})}
\DoxyCodeLine{954     \{}
\DoxyCodeLine{955         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{956                         \textcolor{stringliteral}{"Invalid refresh rate \%i"},}
\DoxyCodeLine{957                         refreshRate);}
\DoxyCodeLine{958         \textcolor{keywordflow}{return};}
\DoxyCodeLine{959     \}}
\DoxyCodeLine{960 }
\DoxyCodeLine{961     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.width       = \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}};}
\DoxyCodeLine{962     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.height      = \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}};}
\DoxyCodeLine{963     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.refreshRate = refreshRate;}
\DoxyCodeLine{964 }
\DoxyCodeLine{965     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a004d98bc2e1f6fa105c09f63d42850cb}{setWindowMonitor}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, monitor,}
\DoxyCodeLine{966                                     xpos, ypos, \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}},}
\DoxyCodeLine{967                                     refreshRate);}
\DoxyCodeLine{968 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga62a784fe328f227727cbcd0d07480ff3}\label{group__window_ga62a784fe328f227727cbcd0d07480ff3}} 
\index{Window reference@{Window reference}!glfwSetWindowOpacity@{glfwSetWindowOpacity}}
\index{glfwSetWindowOpacity@{glfwSetWindowOpacity}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowOpacity()}{glfwSetWindowOpacity()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Opacity (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{float}]{opacity }\end{DoxyParamCaption})}



Sets the opacity of the whole window. 

This function sets the opacity of the window, including any decorations.

The opacity (or alpha) value is a positive finite number between zero and one, where zero is fully transparent and one is fully opaque.

The initial opacity value for newly created windows is one.

A window created with framebuffer transparency may not use whole window transparency. The results of doing this are undefined.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to set the opacity for. \\
\hline
\mbox{\texttt{ in}}  & {\em opacity} & The desired opacity of the specified window.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}} and \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} (see remarks).

\begin{DoxyRemark}{Remarks}
@wayland There is no way to set an opacity factor for a window. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_transparency}{Window transparency}} 

\mbox{\hyperlink{group__window_gad124d57a1c1c519f60c9765cd0c2a89c}{glfw\+Get\+Window\+Opacity}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 714 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{715 \{}
\DoxyCodeLine{716     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{717     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{718     assert(opacity == opacity);}
\DoxyCodeLine{719     assert(opacity >= 0.\mbox{\hyperlink{glad_8h_a691492ec0bd6383f91200e49f6ae40ed}{f}});}
\DoxyCodeLine{720     assert(opacity <= 1.\mbox{\hyperlink{glad_8h_a691492ec0bd6383f91200e49f6ae40ed}{f}});}
\DoxyCodeLine{721 }
\DoxyCodeLine{722     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{723 }
\DoxyCodeLine{724     \textcolor{keywordflow}{if} (opacity != opacity || opacity < 0.f || opacity > 1.\mbox{\hyperlink{glad_8h_a691492ec0bd6383f91200e49f6ae40ed}{f}})}
\DoxyCodeLine{725     \{}
\DoxyCodeLine{726         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}}, \textcolor{stringliteral}{"Invalid window opacity \%f"}, opacity);}
\DoxyCodeLine{727         \textcolor{keywordflow}{return};}
\DoxyCodeLine{728     \}}
\DoxyCodeLine{729 }
\DoxyCodeLine{730     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_aa1f9a2b435369d52e9fb7bef0c255fbe}{setWindowOpacity}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, opacity);}
\DoxyCodeLine{731 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga0dc8d880a0d87be16d3ea8114561f6f0}\label{group__window_ga0dc8d880a0d87be16d3ea8114561f6f0}} 
\index{Window reference@{Window reference}!glfwSetWindowPos@{glfwSetWindowPos}}
\index{glfwSetWindowPos@{glfwSetWindowPos}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowPos()}{glfwSetWindowPos()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Pos (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{xpos,  }\item[{int}]{ypos }\end{DoxyParamCaption})}



Sets the position of the content area of the specified window. 

This function sets the position, in screen coordinates, of the upper-\/left corner of the content area of the specified windowed mode window. If the window is a full screen window, this function does nothing.

{\bfseries{Do not use this function}} to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.

The window manager may put limits on what positions are allowed. G\+L\+FW cannot and should not override these limits.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\mbox{\texttt{ in}}  & {\em xpos} & The x-\/coordinate of the upper-\/left corner of the content area. \\
\hline
\mbox{\texttt{ in}}  & {\em ypos} & The y-\/coordinate of the upper-\/left corner of the content area.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}} and \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}} (see remarks).

\begin{DoxyRemark}{Remarks}
@wayland There is no way for an application to set the global position of its windows. This function will emit \mbox{\hyperlink{group__errors_ga526fba20a01504a8086c763b6ca53ce5}{G\+L\+F\+W\+\_\+\+F\+E\+A\+T\+U\+R\+E\+\_\+\+U\+N\+A\+V\+A\+I\+L\+A\+B\+LE}}.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_pos}{Window position}} 

\mbox{\hyperlink{group__window_ga0076a8591ef7494d359730cf2250b45b}{glfw\+Get\+Window\+Pos}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 540 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{541 \{}
\DoxyCodeLine{542     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{543     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{544 }
\DoxyCodeLine{545     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{546 }
\DoxyCodeLine{547     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{548         \textcolor{keywordflow}{return};}
\DoxyCodeLine{549 }
\DoxyCodeLine{550     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a420f62d3b13da1fba49e60f2be197fb9}{setWindowPos}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, xpos, ypos);}
\DoxyCodeLine{551 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga517b6e80b982efa06e9b8ca89d4a75a6}\label{group__window_ga517b6e80b982efa06e9b8ca89d4a75a6}} 
\index{Window reference@{Window reference}!glfwSetWindowPosCallback@{glfwSetWindowPosCallback}}
\index{glfwSetWindowPosCallback@{glfwSetWindowPosCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowPosCallback()}{glfwSetWindowPosCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{G\+L\+F\+Wwindowposfun}} glfw\+Set\+Window\+Pos\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{G\+L\+F\+Wwindowposfun}}}]{callback }\end{DoxyParamCaption})}



Sets the position callback for the specified window. 

This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the position, in screen coordinates, of the upper-\/left corner of the content area of the window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} xpos, \textcolor{keywordtype}{int} ypos)}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

\begin{DoxyRemark}{Remarks}
@wayland This callback will never be called, as there is no way for an application to know its global position.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_pos}{Window position}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 988 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{990 \{}
\DoxyCodeLine{991     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{992     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{993 }
\DoxyCodeLine{994     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{995     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_gabe287973a21a8f927cde4db06b8dcbe9}{GLFWwindowposfun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.pos, cbfun);}
\DoxyCodeLine{996     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{997 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga62bfa902c07a03b8ad9be37da31a4be7}\label{group__window_ga62bfa902c07a03b8ad9be37da31a4be7}} 
\index{Window reference@{Window reference}!glfwSetWindowRefreshCallback@{glfwSetWindowRefreshCallback}}
\index{glfwSetWindowRefreshCallback@{glfwSetWindowRefreshCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowRefreshCallback()}{glfwSetWindowRefreshCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{G\+L\+F\+Wwindowrefreshfun}} glfw\+Set\+Window\+Refresh\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{G\+L\+F\+Wwindowrefreshfun}}}]{callback }\end{DoxyParamCaption})}



Sets the refresh callback for the specified window. 

This function sets the refresh callback of the specified window, which is called when the content area of the window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

On compositing window systems such as Aero, Compiz, Aqua or Wayland, where the window contents are saved off-\/screen, this callback may be called only very infrequently or never at all.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_refresh}{Window damage and refresh}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+5. @glfw3 Added window handle parameter and return value. 
\end{DoxySince}


Definition at line 1021 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1023 \{}
\DoxyCodeLine{1024     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1025     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1026 }
\DoxyCodeLine{1027     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1028     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_ga431663a1427d2eb3a273bc398b6737b5}{GLFWwindowrefreshfun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.refresh, cbfun);}
\DoxyCodeLine{1029     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1030 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga1cadeda7a1e2f224e06a8415d30741aa}\label{group__window_ga1cadeda7a1e2f224e06a8415d30741aa}} 
\index{Window reference@{Window reference}!glfwSetWindowShouldClose@{glfwSetWindowShouldClose}}
\index{glfwSetWindowShouldClose@{glfwSetWindowShouldClose}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowShouldClose()}{glfwSetWindowShouldClose()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Should\+Close (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{value }\end{DoxyParamCaption})}



Sets the close flag of the specified window. 

This function sets the value of the close flag of the specified window. This can be used to override the user\textquotesingle{}s attempt to close the window, or to signal that it should be closed.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose flag to change. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & The new value.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function may be called from any thread. Access is not synchronized.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_close}{Window closing and close flag}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 495 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{496 \{}
\DoxyCodeLine{497     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{498     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{499 }
\DoxyCodeLine{500     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{501     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>shouldClose = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{502 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gae54d1f4915ded15e267ddd3f41496cd2}\label{group__window_gae54d1f4915ded15e267ddd3f41496cd2}} 
\index{Window reference@{Window reference}!glfwSetWindowSize@{glfwSetWindowSize}}
\index{glfwSetWindowSize@{glfwSetWindowSize}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowSize()}{glfwSetWindowSize()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Size (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{width,  }\item[{int}]{height }\end{DoxyParamCaption})}



Sets the size of the content area of the specified window. 

This function sets the size, in screen coordinates, of the content area of the specified window.

For full screen windows, this function updates the resolution of its desired video mode and switches to the video mode closest to it, without affecting the window\textquotesingle{}s context. As the context is unaffected, the bit depths of the framebuffer remain unchanged.

If you wish to update the refresh rate of the desired video mode in addition to its resolution, see \mbox{\hyperlink{group__window_ga12fabf78575e59c00f822f323ae0b6ae}{glfw\+Set\+Window\+Monitor}}.

The window manager may put limits on what sizes are allowed. G\+L\+FW cannot and should not override these limits.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to resize. \\
\hline
\mbox{\texttt{ in}}  & {\em width} & The desired width, in screen coordinates, of the window content area. \\
\hline
\mbox{\texttt{ in}}  & {\em height} & The desired height, in screen coordinates, of the window content area.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@wayland A full screen window will not attempt to change the mode, no matter what the requested size.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_size}{Window size}} 

\mbox{\hyperlink{group__window_ga7feb769ebb3f3d21579b5a3fb07be76e}{glfw\+Get\+Window\+Size}} 

\mbox{\hyperlink{group__window_ga12fabf78575e59c00f822f323ae0b6ae}{glfw\+Set\+Window\+Monitor}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 567 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{568 \{}
\DoxyCodeLine{569     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{570     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{571     assert(\mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}} >= 0);}
\DoxyCodeLine{572     assert(\mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}} >= 0);}
\DoxyCodeLine{573 }
\DoxyCodeLine{574     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{575 }
\DoxyCodeLine{576     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.width  = \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}};}
\DoxyCodeLine{577     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>videoMode.height = \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}};}
\DoxyCodeLine{578 }
\DoxyCodeLine{579     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a89251f3731226c32d4d0b6d62d0471ad}{setWindowSize}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}});}
\DoxyCodeLine{580 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gab0754f8d5c7c4d5cae2a9937a0e00bc5}\label{group__window_gab0754f8d5c7c4d5cae2a9937a0e00bc5}} 
\index{Window reference@{Window reference}!glfwSetWindowSizeCallback@{glfwSetWindowSizeCallback}}
\index{glfwSetWindowSizeCallback@{glfwSetWindowSizeCallback}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowSizeCallback()}{glfwSetWindowSizeCallback()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{G\+L\+F\+Wwindowsizefun}} glfw\+Set\+Window\+Size\+Callback (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{G\+L\+F\+Wwindowsizefun}}}]{callback }\end{DoxyParamCaption})}



Sets the size callback for the specified window. 

This function sets the size callback of the specified window, which is called when the window is resized. The callback is provided with the size, in screen coordinates, of the content area of the window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose callback to set. \\
\hline
\mbox{\texttt{ in}}  & {\em callback} & The new callback, or {\ttfamily N\+U\+LL} to remove the currently set callback. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The previously set callback, or {\ttfamily N\+U\+LL} if no callback was set or the library had not been \mbox{\hyperlink{intro_guide_intro_init}{initialized}}.
\end{DoxyReturn}
@callback\+\_\+signature 
\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordtype}{void} function\_name(\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a77a72419a6bb6d8b56f8d9db93a120d0}{width}}, \textcolor{keywordtype}{int} \mbox{\hyperlink{glad_8h_a2e94a4956fa3fc42600a71518b6e6284}{height}})}
\end{DoxyCode}
 For more information about the callback parameters, see the \mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{function pointer type}}.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_size}{Window size}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter and return value. 
\end{DoxySince}


Definition at line 999 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1001 \{}
\DoxyCodeLine{1002     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{1003     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1004 }
\DoxyCodeLine{1005     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(\mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{1006     \mbox{\hyperlink{internal_8h_aafb05e4264bc90b90636133fd00eecf6}{\_GLFW\_SWAP}}(\mbox{\hyperlink{group__window_gaec0282944bb810f6f3163ec02da90350}{GLFWwindowsizefun}}, \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>callbacks.size, cbfun);}
\DoxyCodeLine{1007     \textcolor{keywordflow}{return} cbfun;}
\DoxyCodeLine{1008 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga8af814fc98d786d1de2505b40b707de8}\label{group__window_ga8af814fc98d786d1de2505b40b707de8}} 
\index{Window reference@{Window reference}!glfwSetWindowSizeLimits@{glfwSetWindowSizeLimits}}
\index{glfwSetWindowSizeLimits@{glfwSetWindowSizeLimits}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowSizeLimits()}{glfwSetWindowSizeLimits()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Size\+Limits (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{int}]{minwidth,  }\item[{int}]{minheight,  }\item[{int}]{maxwidth,  }\item[{int}]{maxheight }\end{DoxyParamCaption})}



Sets the size limits of the specified window. 

This function sets the size limits of the content area of the specified window. If the window is full screen, the size limits only take effect once it is made windowed. If the window is not resizable, this function does nothing.

The size limits are applied immediately to a windowed mode window and may cause it to be resized.

The maximum dimensions must be greater than or equal to the minimum dimensions and all must be greater than or equal to zero.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to set limits for. \\
\hline
\mbox{\texttt{ in}}  & {\em minwidth} & The minimum width, in screen coordinates, of the content area, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}. \\
\hline
\mbox{\texttt{ in}}  & {\em minheight} & The minimum height, in screen coordinates, of the content area, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}. \\
\hline
\mbox{\texttt{ in}}  & {\em maxwidth} & The maximum width, in screen coordinates, of the content area, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}. \\
\hline
\mbox{\texttt{ in}}  & {\em maxheight} & The maximum height, in screen coordinates, of the content area, or {\ttfamily G\+L\+F\+W\+\_\+\+D\+O\+N\+T\+\_\+\+C\+A\+RE}.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+L\+UE}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
If you set size limits and an aspect ratio that conflict, the results are undefined.

@wayland The size limits will not be applied until the window is actually resized, either by the user or by the compositor.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_sizelimits}{Window size limits}} 

\mbox{\hyperlink{group__window_gad2ae94a2c5ee1c46a36e13a8f4ac68ac}{glfw\+Set\+Window\+Aspect\+Ratio}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 582 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{585 \{}
\DoxyCodeLine{586     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{587     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{588 }
\DoxyCodeLine{589     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{590 }
\DoxyCodeLine{591     \textcolor{keywordflow}{if} (minwidth != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}} \&\& minheight != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}})}
\DoxyCodeLine{592     \{}
\DoxyCodeLine{593         \textcolor{keywordflow}{if} (minwidth < 0 || minheight < 0)}
\DoxyCodeLine{594         \{}
\DoxyCodeLine{595             \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{596                             \textcolor{stringliteral}{"Invalid window minimum size \%ix\%i"},}
\DoxyCodeLine{597                             minwidth, minheight);}
\DoxyCodeLine{598             \textcolor{keywordflow}{return};}
\DoxyCodeLine{599         \}}
\DoxyCodeLine{600     \}}
\DoxyCodeLine{601 }
\DoxyCodeLine{602     \textcolor{keywordflow}{if} (maxwidth != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}} \&\& maxheight != \mbox{\hyperlink{glfw3_8h_a7a2edf2c18446833d27d07f1b7f3d571}{GLFW\_DONT\_CARE}})}
\DoxyCodeLine{603     \{}
\DoxyCodeLine{604         \textcolor{keywordflow}{if} (maxwidth < 0 || maxheight < 0 ||}
\DoxyCodeLine{605             maxwidth < minwidth || maxheight < minheight)}
\DoxyCodeLine{606         \{}
\DoxyCodeLine{607             \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}},}
\DoxyCodeLine{608                             \textcolor{stringliteral}{"Invalid window maximum size \%ix\%i"},}
\DoxyCodeLine{609                             maxwidth, maxheight);}
\DoxyCodeLine{610             \textcolor{keywordflow}{return};}
\DoxyCodeLine{611         \}}
\DoxyCodeLine{612     \}}
\DoxyCodeLine{613 }
\DoxyCodeLine{614     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>minwidth  = minwidth;}
\DoxyCodeLine{615     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>minheight = minheight;}
\DoxyCodeLine{616     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>maxwidth  = maxwidth;}
\DoxyCodeLine{617     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>maxheight = maxheight;}
\DoxyCodeLine{618 }
\DoxyCodeLine{619     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor || !\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>resizable)}
\DoxyCodeLine{620         \textcolor{keywordflow}{return};}
\DoxyCodeLine{621 }
\DoxyCodeLine{622     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_af60c261088283957e87fba951a443a7a}{setWindowSizeLimits}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}},}
\DoxyCodeLine{623                                        minwidth, minheight,}
\DoxyCodeLine{624                                        maxwidth, maxheight);}
\DoxyCodeLine{625 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga861ed3414ab8120e2f74151a666ed1dc}\label{group__window_ga861ed3414ab8120e2f74151a666ed1dc}} 
\index{Window reference@{Window reference}!glfwSetWindowTitle@{glfwSetWindowTitle}}
\index{glfwSetWindowTitle@{glfwSetWindowTitle}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowTitle()}{glfwSetWindowTitle()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+Title (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{const char $\ast$}]{title }\end{DoxyParamCaption})}



Sets the title of the specified window. 

This function sets the window title, encoded as U\+T\+F-\/8, of the specified window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose title to change. \\
\hline
\mbox{\texttt{ in}}  & {\em title} & The U\+T\+F-\/8 encoded window title.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@macos The window title will not be updated until the next time you process events.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_title}{Window title}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 504 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{505 \{}
\DoxyCodeLine{506     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{507     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{508     assert(title != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{509 }
\DoxyCodeLine{510     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{511     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a0d9563fe0ccc454b6137d7915daf7811}{setWindowTitle}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}, title);}
\DoxyCodeLine{512 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gacc9e68faee3c1763b54cd9bc405cf43e}\label{group__window_gacc9e68faee3c1763b54cd9bc405cf43e}} 
\index{Window reference@{Window reference}!glfwSetWindowUserPointer@{glfwSetWindowUserPointer}}
\index{glfwSetWindowUserPointer@{glfwSetWindowUserPointer}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSetWindowUserPointer()}{glfwSetWindowUserPointer()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Set\+Window\+User\+Pointer (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window,  }\item[{\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} $\ast$}]{pointer }\end{DoxyParamCaption})}



Sets the user pointer of the specified window. 

This function sets the user-\/defined pointer of the specified window. The current value is retained until the window is destroyed. The initial value is {\ttfamily N\+U\+LL}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose pointer to set. \\
\hline
\mbox{\texttt{ in}}  & {\em pointer} & The new value.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function may be called from any thread. Access is not synchronized.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_userptr}{User pointer}} 

\mbox{\hyperlink{group__window_ga0a9ff3b4bf8589e9518e8816d06a8f50}{glfw\+Get\+Window\+User\+Pointer}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 970 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{971 \{}
\DoxyCodeLine{972     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{973     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{974 }
\DoxyCodeLine{975     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{976     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>userPointer = \mbox{\hyperlink{glad_8h_a8e06a460fd89ba3a95ce49119ef7aab2}{pointer}};}
\DoxyCodeLine{977 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga7945bcdff9e5e058cf36505d6873ed8c}\label{group__window_ga7945bcdff9e5e058cf36505d6873ed8c}} 
\index{Window reference@{Window reference}!glfwShowWindow@{glfwShowWindow}}
\index{glfwShowWindow@{glfwShowWindow}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwShowWindow()}{glfwShowWindow()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Show\+Window (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Makes the specified window visible. 

This function makes the specified window visible if it was previously hidden. If the window is already visible or is in full screen mode, this function does nothing.

By default, windowed mode windows are focused when shown Set the \mbox{\hyperlink{window_guide_GLFW_FOCUS_ON_SHOW_hint}{G\+L\+F\+W\+\_\+\+F\+O\+C\+U\+S\+\_\+\+O\+N\+\_\+\+S\+H\+OW}} window hint to change this behavior for all newly created windows, or change the behavior for an existing window with \mbox{\hyperlink{group__window_gad39f43f07856efcf3d656426a9284c75}{glfw\+Set\+Window\+Attrib}}.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to make visible.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
@wayland Because Wayland wants every frame of the desktop to be complete, this function does not immediately make the window visible. Instead it will become visible the next time the window framebuffer is updated after this call.
\end{DoxyRemark}
@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_hide}{Window visibility}} 

\mbox{\hyperlink{group__window_gaa17e287d521544bdeceafa09ac036e20}{glfw\+Hide\+Window}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 764 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{765 \{}
\DoxyCodeLine{766     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{767     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{768 }
\DoxyCodeLine{769     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{770 }
\DoxyCodeLine{771     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>monitor)}
\DoxyCodeLine{772         \textcolor{keywordflow}{return};}
\DoxyCodeLine{773 }
\DoxyCodeLine{774     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_acf0479b2c98868d61b54087b4b6de1cd}{showWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{775 }
\DoxyCodeLine{776     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>focusOnShow)}
\DoxyCodeLine{777         \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a371fdd823fe2e2c448627ec8ac8d00c9}{focusWindow}}(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{778 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gafb827800eedbfcbc97b1e5408df668d7}\label{group__window_gafb827800eedbfcbc97b1e5408df668d7}} 
\index{Window reference@{Window reference}!glfwSwapBuffers@{glfwSwapBuffers}}
\index{glfwSwapBuffers@{glfwSwapBuffers}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwSwapBuffers()}{glfwSwapBuffers()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Swap\+Buffers (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Swaps the front and back buffers of the specified window. 

This function swaps the front and back buffers of the specified window when rendering with Open\+GL or Open\+GL ES. If the swap interval is greater than zero, the G\+PU driver waits the specified number of screen updates before swapping the buffers.

The specified window must have an Open\+GL or Open\+GL ES context. Specifying a window without a context will generate a \mbox{\hyperlink{group__errors_gacff24d2757da752ae4c80bf452356487}{G\+L\+F\+W\+\_\+\+N\+O\+\_\+\+W\+I\+N\+D\+O\+W\+\_\+\+C\+O\+N\+T\+E\+XT}} error.

This function does not apply to Vulkan. If you are rendering with Vulkan, see {\ttfamily vk\+Queue\+Present\+K\+HR} instead.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window whose buffers to swap.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gacff24d2757da752ae4c80bf452356487}{G\+L\+F\+W\+\_\+\+N\+O\+\_\+\+W\+I\+N\+D\+O\+W\+\_\+\+C\+O\+N\+T\+E\+XT}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

\begin{DoxyRemark}{Remarks}
{\bfseries{E\+GL\+:}} The context of the specified window must be current on the calling thread.
\end{DoxyRemark}
@thread\+\_\+safety This function may be called from any thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_buffer_swap}{Buffer swapping}} 

\mbox{\hyperlink{group__context_ga12a595c06947cec4967c6e1f14210a8a}{glfw\+Swap\+Interval}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 1.\+0. @glfw3 Added window handle parameter. 
\end{DoxySince}


Definition at line 639 of file context.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{640 \{}
\DoxyCodeLine{641     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{642     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{643 }
\DoxyCodeLine{644     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{645 }
\DoxyCodeLine{646     \textcolor{keywordflow}{if} (\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.client == \mbox{\hyperlink{glfw3_8h_a8f6dcdc968d214ff14779564f1389264}{GLFW\_NO\_API}})}
\DoxyCodeLine{647     \{}
\DoxyCodeLine{648         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gacff24d2757da752ae4c80bf452356487}{GLFW\_NO\_WINDOW\_CONTEXT}},}
\DoxyCodeLine{649                         \textcolor{stringliteral}{"Cannot swap buffers of a window that has no OpenGL or OpenGL ES context"});}
\DoxyCodeLine{650         \textcolor{keywordflow}{return};}
\DoxyCodeLine{651     \}}
\DoxyCodeLine{652 }
\DoxyCodeLine{653     \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>context.swapBuffers(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}});}
\DoxyCodeLine{654 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga6e042d05823c11e11c7339b81a237738}\label{group__window_ga6e042d05823c11e11c7339b81a237738}} 
\index{Window reference@{Window reference}!glfwWaitEvents@{glfwWaitEvents}}
\index{glfwWaitEvents@{glfwWaitEvents}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwWaitEvents()}{glfwWaitEvents()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Wait\+Events (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}}}]{ }\end{DoxyParamCaption})}



Waits until events are queued and processes them. 

This function puts the calling thread to sleep until at least one event is available in the event queue. Once one or more events are available, it behaves exactly like \mbox{\hyperlink{group__window_ga872d16e4c77f58c0436f356255920cfc}{glfw\+Poll\+Events}}, i.\+e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the \mbox{\hyperlink{window_guide_window_refresh}{window refresh callback}} to redraw the contents of your window when necessary during such operations.

Do not assume that callbacks you set will {\itshape only} be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require G\+L\+FW to register callbacks of its own can pass events to G\+L\+FW in response to many window system function calls. G\+L\+FW will pass those events on to the application callbacks before returning.

Event processing is not required for joystick input to work.

@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@reentrancy This function must not be called from a callback.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{input_guide_events}{Event processing}} 

\mbox{\hyperlink{group__window_ga872d16e4c77f58c0436f356255920cfc}{glfw\+Poll\+Events}} 

\mbox{\hyperlink{group__window_ga05223a0a4c5e50f10f289e60398153aa}{glfw\+Wait\+Events\+Timeout}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 2.\+5. 
\end{DoxySince}


Definition at line 1093 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1094 \{}
\DoxyCodeLine{1095     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{1096     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_ac1099f96777ccbf10196956606d6a95f}{waitEvents}}();}
\DoxyCodeLine{1097 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga05223a0a4c5e50f10f289e60398153aa}\label{group__window_ga05223a0a4c5e50f10f289e60398153aa}} 
\index{Window reference@{Window reference}!glfwWaitEventsTimeout@{glfwWaitEventsTimeout}}
\index{glfwWaitEventsTimeout@{glfwWaitEventsTimeout}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwWaitEventsTimeout()}{glfwWaitEventsTimeout()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Wait\+Events\+Timeout (\begin{DoxyParamCaption}\item[{double}]{timeout }\end{DoxyParamCaption})}



Waits with timeout until events are queued and processes them. 

This function puts the calling thread to sleep until at least one event is available in the event queue, or until the specified timeout is reached. If one or more events are available, it behaves exactly like \mbox{\hyperlink{group__window_ga872d16e4c77f58c0436f356255920cfc}{glfw\+Poll\+Events}}, i.\+e. the events in the queue are processed and the function then returns immediately. Processing events will cause the window and input callbacks associated with those events to be called.

The timeout value must be a positive finite number.

Since not all events are associated with callbacks, this function may return without a callback having been called even if you are monitoring all callbacks.

On some platforms, a window move, resize or menu operation will cause event processing to block. This is due to how event processing is designed on those platforms. You can use the \mbox{\hyperlink{window_guide_window_refresh}{window refresh callback}} to redraw the contents of your window when necessary during such operations.

Do not assume that callbacks you set will {\itshape only} be called in response to event processing functions like this one. While it is necessary to poll for events, window systems that require G\+L\+FW to register callbacks of its own can pass events to G\+L\+FW in response to many window system function calls. G\+L\+FW will pass those events on to the application callbacks before returning.

Event processing is not required for joystick input to work.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em timeout} & The maximum amount of time, in seconds, to wait.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}, \mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+V\+A\+L\+UE}} and \mbox{\hyperlink{group__errors_gad44162d78100ea5e87cdd38426b8c7a1}{G\+L\+F\+W\+\_\+\+P\+L\+A\+T\+F\+O\+R\+M\+\_\+\+E\+R\+R\+OR}}.

@reentrancy This function must not be called from a callback.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{input_guide_events}{Event processing}} 

\mbox{\hyperlink{group__window_ga872d16e4c77f58c0436f356255920cfc}{glfw\+Poll\+Events}} 

\mbox{\hyperlink{group__window_ga6e042d05823c11e11c7339b81a237738}{glfw\+Wait\+Events}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+2. 
\end{DoxySince}


Definition at line 1099 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{1100 \{}
\DoxyCodeLine{1101     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{1102     assert(\mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}} == \mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}});}
\DoxyCodeLine{1103     assert(\mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}} >= 0.0);}
\DoxyCodeLine{1104     assert(\mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}} <= DBL\_MAX);}
\DoxyCodeLine{1105 }
\DoxyCodeLine{1106     \textcolor{keywordflow}{if} (\mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}} != \mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}} || \mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout < 0.0 || timeout >}} DBL\_MAX)}
\DoxyCodeLine{1107     \{}
\DoxyCodeLine{1108         \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_gaaf2ef9aa8202c2b82ac2d921e554c687}{GLFW\_INVALID\_VALUE}}, \textcolor{stringliteral}{"Invalid time \%f"}, \mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}});}
\DoxyCodeLine{1109         \textcolor{keywordflow}{return};}
\DoxyCodeLine{1110     \}}
\DoxyCodeLine{1111 }
\DoxyCodeLine{1112     \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a93b1c9522ac532d94b32072cf4bf1421}{platform}}.\mbox{\hyperlink{struct___g_l_f_wplatform_a6152f4bedbf597c9e9a0aa3d7a828270}{waitEventsTimeout}}(\mbox{\hyperlink{glad_8h_ad29bb0d8468b264a4e3d9204366cfaab}{timeout}});}
\DoxyCodeLine{1113 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga69c40728499720bef8a49aa925ea0efa}\label{group__window_ga69c40728499720bef8a49aa925ea0efa}} 
\index{Window reference@{Window reference}!glfwWindowHint@{glfwWindowHint}}
\index{glfwWindowHint@{glfwWindowHint}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwWindowHint()}{glfwWindowHint()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Window\+Hint (\begin{DoxyParamCaption}\item[{int}]{hint,  }\item[{int}]{value }\end{DoxyParamCaption})}



Sets the specified window hint to the desired value. 

This function sets hints for the next call to \mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}}. The hints, once set, retain their values until changed by a call to this function or \mbox{\hyperlink{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}{glfw\+Default\+Window\+Hints}}, or until the library is terminated.

Only integer value hints can be set with this function. String value hints are set with \mbox{\hyperlink{group__window_ga3c2270562d7ba13d92680ba1090adafe}{glfw\+Window\+Hint\+String}}.

This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to \mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}}.

Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hint} & The \mbox{\hyperlink{window_guide_window_hints}{window hint}} to set. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & The new value of the window hint.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+E\+N\+UM}}.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_hints}{Window creation hints}} 

\mbox{\hyperlink{group__window_ga3c2270562d7ba13d92680ba1090adafe}{glfw\+Window\+Hint\+String}} 

\mbox{\hyperlink{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}{glfw\+Default\+Window\+Hints}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. Replaces {\ttfamily glfw\+Open\+Window\+Hint}. 
\end{DoxySince}


Definition at line 294 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{295 \{}
\DoxyCodeLine{296     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{297 }
\DoxyCodeLine{298     \textcolor{keywordflow}{switch} (hint)}
\DoxyCodeLine{299     \{}
\DoxyCodeLine{300         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gaf78ed8e417dbcc1e354906cc2708c982}{GLFW\_RED\_BITS}}:}
\DoxyCodeLine{301             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_ab9a8f50cbc9b0c6e1ad230e411797f44}{redBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{302             \textcolor{keywordflow}{return};}
\DoxyCodeLine{303         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafba3b72638c914e5fb8a237dd4c50d4d}{GLFW\_GREEN\_BITS}}:}
\DoxyCodeLine{304             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_af19c4a4e81f5e852ebfbfdc5986610ab}{greenBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{305             \textcolor{keywordflow}{return};}
\DoxyCodeLine{306         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gab292ea403db6d514537b515311bf9ae3}{GLFW\_BLUE\_BITS}}:}
\DoxyCodeLine{307             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_aff797f80ccb99126ce88f696f745f6e5}{blueBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{308             \textcolor{keywordflow}{return};}
\DoxyCodeLine{309         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafed79a3f468997877da86c449bd43e8c}{GLFW\_ALPHA\_BITS}}:}
\DoxyCodeLine{310             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a9945d1191aaa94d92f326382027a43a0}{alphaBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{311             \textcolor{keywordflow}{return};}
\DoxyCodeLine{312         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga318a55eac1fee57dfe593b6d38149d07}{GLFW\_DEPTH\_BITS}}:}
\DoxyCodeLine{313             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a0e7baeca6ea2e4146236f38bc1df870f}{depthBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{314             \textcolor{keywordflow}{return};}
\DoxyCodeLine{315         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5339890a45a1fb38e93cb9fcc5fd069d}{GLFW\_STENCIL\_BITS}}:}
\DoxyCodeLine{316             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a202a6343c817e5f6e9597a02559273b9}{stencilBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{317             \textcolor{keywordflow}{return};}
\DoxyCodeLine{318         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gaead34a9a683b2bc20eecf30ba738bfc6}{GLFW\_ACCUM\_RED\_BITS}}:}
\DoxyCodeLine{319             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a90657631c2de9e7e45ae16b836c6cf4a}{accumRedBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{320             \textcolor{keywordflow}{return};}
\DoxyCodeLine{321         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga65713cee1326f8e9d806fdf93187b471}{GLFW\_ACCUM\_GREEN\_BITS}}:}
\DoxyCodeLine{322             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a5207821bf6a7cf5625bb350b448c1ab9}{accumGreenBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{323             \textcolor{keywordflow}{return};}
\DoxyCodeLine{324         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga22bbe9104a8ce1f8b88fb4f186aa36ce}{GLFW\_ACCUM\_BLUE\_BITS}}:}
\DoxyCodeLine{325             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a1628cb7857d3fd6d4967ddbc16f57445}{accumBlueBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{326             \textcolor{keywordflow}{return};}
\DoxyCodeLine{327         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gae829b55591c18169a40ab4067a041b1f}{GLFW\_ACCUM\_ALPHA\_BITS}}:}
\DoxyCodeLine{328             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a88d9b62bc1c4c4fb411ff2d980ef08e2}{accumAlphaBits}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{329             \textcolor{keywordflow}{return};}
\DoxyCodeLine{330         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gab05108c5029443b371112b031d1fa174}{GLFW\_AUX\_BUFFERS}}:}
\DoxyCodeLine{331             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a1ad8a70d25f8c39ee51365fdae9de7ff}{auxBuffers}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{332             \textcolor{keywordflow}{return};}
\DoxyCodeLine{333         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga83d991efca02537e2d69969135b77b03}{GLFW\_STEREO}}:}
\DoxyCodeLine{334             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a25b8332a9aa5828345fdac1be790e135}{stereo}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{335             \textcolor{keywordflow}{return};}
\DoxyCodeLine{336         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga714a5d569e8a274ea58fdfa020955339}{GLFW\_DOUBLEBUFFER}}:}
\DoxyCodeLine{337             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_afd48b37171d567f9893bd8a660c4621b}{doublebuffer}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{338             \textcolor{keywordflow}{return};}
\DoxyCodeLine{339         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga60a0578c3b9449027d683a9c6abb9f14}{GLFW\_TRANSPARENT\_FRAMEBUFFER}}:}
\DoxyCodeLine{340             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a5b19082325a56470e0770d08698a8965}{transparent}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{341             \textcolor{keywordflow}{return};}
\DoxyCodeLine{342         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga2cdf86fdcb7722fb8829c4e201607535}{GLFW\_SAMPLES}}:}
\DoxyCodeLine{343             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_aa6a57ca77268a4851f5c2be7e330cf5d}{samples}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{344             \textcolor{keywordflow}{return};}
\DoxyCodeLine{345         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga444a8f00414a63220591f9fdb7b5642b}{GLFW\_SRGB\_CAPABLE}}:}
\DoxyCodeLine{346             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a4acbf6d9f23083704b5bfbab28aa3d9a}{framebuffer}}.\mbox{\hyperlink{struct___g_l_f_wfbconfig_a964edb36c54dec04c9a48ba5ff333297}{sRGB}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{347             \textcolor{keywordflow}{return};}
\DoxyCodeLine{348         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gadba13c7a1b3aa40831eb2beedbd5bd1d}{GLFW\_RESIZABLE}}:}
\DoxyCodeLine{349             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a720d7078ba5509a2f900ee1820683757}{resizable}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{350             \textcolor{keywordflow}{return};}
\DoxyCodeLine{351         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga21b854d36314c94d65aed84405b2f25e}{GLFW\_DECORATED}}:}
\DoxyCodeLine{352             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a02d04b1fd5957f637c572719ffbfb322}{decorated}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{353             \textcolor{keywordflow}{return};}
\DoxyCodeLine{354         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga54ddb14825a1541a56e22afb5f832a9e}{GLFW\_FOCUSED}}:}
\DoxyCodeLine{355             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ac56d67a9031b7fba4620f7e756ea86d1}{focused}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{356             \textcolor{keywordflow}{return};}
\DoxyCodeLine{357         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga9d9874fc928200136a6dcdad726aa252}{GLFW\_AUTO\_ICONIFY}}:}
\DoxyCodeLine{358             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_adfada5e8fba13ad11042f7e76c34e84d}{autoIconify}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{359             \textcolor{keywordflow}{return};}
\DoxyCodeLine{360         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga7fb0be51407783b41adbf5bec0b09d80}{GLFW\_FLOATING}}:}
\DoxyCodeLine{361             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a97083e8d9143830dff2cb819762fa042}{floating}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{362             \textcolor{keywordflow}{return};}
\DoxyCodeLine{363         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gad8ccb396253ad0b72c6d4c917eb38a03}{GLFW\_MAXIMIZED}}:}
\DoxyCodeLine{364             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ae65c0ad11cc65512f55e886a56e7654e}{maximized}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{365             \textcolor{keywordflow}{return};}
\DoxyCodeLine{366         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafb3cdc45297e06d8f1eb13adc69ca6c4}{GLFW\_VISIBLE}}:}
\DoxyCodeLine{367             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a308144d2d6df19c1d655231b48985b14}{visible}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{368             \textcolor{keywordflow}{return};}
\DoxyCodeLine{369         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gab6ef2d02eb55800d249ccf1af253c35e}{GLFW\_COCOA\_RETINA\_FRAMEBUFFER}}:}
\DoxyCodeLine{370             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a36a70f7ee298a1cdcadf676ee545f825}{ns}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a7da9c35c04d11628f15d848eca27ebde}{retina}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{371             \textcolor{keywordflow}{return};}
\DoxyCodeLine{372         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gaf65ea8dafdc0edb07b821b9a336d5043}{GLFW\_WIN32\_KEYBOARD\_MENU}}:}
\DoxyCodeLine{373             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_ae32909d6a7065a542f1eea7d506bcf0a}{win32}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a191f1fe01001ac5dcbdbf189922b9af8}{keymenu}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{374             \textcolor{keywordflow}{return};}
\DoxyCodeLine{375         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga53c84ed2ddd94e15bbd44b1f6f7feafc}{GLFW\_COCOA\_GRAPHICS\_SWITCHING}}:}
\DoxyCodeLine{376             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_aca19ede48c6927259d9b2ca477888fd0}{nsgl}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a34067b0d1e79da07f2cb8a8d402cd29b}{offline}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{377             \textcolor{keywordflow}{return};}
\DoxyCodeLine{378         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga620bc4280c7eab81ac9f02204500ed47}{GLFW\_SCALE\_TO\_MONITOR}}:}
\DoxyCodeLine{379             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a0ea675f3fa3e73dbb404c2302c76edc2}{scaleToMonitor}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{380             \textcolor{keywordflow}{return};}
\DoxyCodeLine{381         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5ac0847c0aa0b3619f2855707b8a7a77}{GLFW\_CENTER\_CURSOR}}:}
\DoxyCodeLine{382             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a083f02ce71ee3bd7f5eb2bb5fe1e840b}{centerCursor}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{383             \textcolor{keywordflow}{return};}
\DoxyCodeLine{384         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafa94b1da34bfd6488c0d709761504dfc}{GLFW\_FOCUS\_ON\_SHOW}}:}
\DoxyCodeLine{385             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a52d82b17771f31cd65202715f5ccaa41}{focusOnShow}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{386             \textcolor{keywordflow}{return};}
\DoxyCodeLine{387         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga88981797d29800808ec242274ab5c03a}{GLFW\_MOUSE\_PASSTHROUGH}}:}
\DoxyCodeLine{388             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a957f693bf16d99d5217922331b3f96c0}{mousePassthrough}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{389             \textcolor{keywordflow}{return};}
\DoxyCodeLine{390         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga649309cf72a3d3de5b1348ca7936c95b}{GLFW\_CLIENT\_API}}:}
\DoxyCodeLine{391             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a9d54584dc156b04e39d7567a70e13ef8}{client}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{392             \textcolor{keywordflow}{return};}
\DoxyCodeLine{393         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5154cebfcd831c1cc63a4d5ac9bb4486}{GLFW\_CONTEXT\_CREATION\_API}}:}
\DoxyCodeLine{394             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a725120317549aa1eef2b88af5ac4c409}{source}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{395             \textcolor{keywordflow}{return};}
\DoxyCodeLine{396         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gafe5e4922de1f9932d7e9849bb053b0c0}{GLFW\_CONTEXT\_VERSION\_MAJOR}}:}
\DoxyCodeLine{397             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a51a8fa315dccf7f6217098cf0413a7a9}{major}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{398             \textcolor{keywordflow}{return};}
\DoxyCodeLine{399         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga31aca791e4b538c4e4a771eb95cc2d07}{GLFW\_CONTEXT\_VERSION\_MINOR}}:}
\DoxyCodeLine{400             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a250a475c8d778778bb8fb4ab942eddd9}{minor}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{401             \textcolor{keywordflow}{return};}
\DoxyCodeLine{402         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gade3593916b4c507900aa2d6844810e00}{GLFW\_CONTEXT\_ROBUSTNESS}}:}
\DoxyCodeLine{403             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a5aaf92358c6be9ac0dac61cc916b968f}{robustness}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{404             \textcolor{keywordflow}{return};}
\DoxyCodeLine{405         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga13d24b12465da8b28985f46c8557925b}{GLFW\_OPENGL\_FORWARD\_COMPAT}}:}
\DoxyCodeLine{406             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_ae7a2859b35b0bf3692abd6bf076ef4c7}{forward}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{407             \textcolor{keywordflow}{return};}
\DoxyCodeLine{408         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga8d55e3afec73c7de0509c3b7ad1d9e3f}{GLFW\_CONTEXT\_DEBUG}}:}
\DoxyCodeLine{409             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a694b0434791f532ddf39bca57b94042e}{debug}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{410             \textcolor{keywordflow}{return};}
\DoxyCodeLine{411         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga5a52fdfd46d8249c211f923675728082}{GLFW\_CONTEXT\_NO\_ERROR}}:}
\DoxyCodeLine{412             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a7c97fb74d89b1666d0de89222551a2ee}{noerror}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} ? \mbox{\hyperlink{group__init_ga2744fbb29b5631bb28802dbe0cf36eba}{GLFW\_TRUE}} : \mbox{\hyperlink{group__init_gac877fe3b627d21ef3a0a23e0a73ba8c5}{GLFW\_FALSE}};}
\DoxyCodeLine{413             \textcolor{keywordflow}{return};}
\DoxyCodeLine{414         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga44f3a6b4261fbe351e0b950b0f372e12}{GLFW\_OPENGL\_PROFILE}}:}
\DoxyCodeLine{415             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a0c56aeafa0f85b1b0ba3e9371a737770}{profile}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{416             \textcolor{keywordflow}{return};}
\DoxyCodeLine{417         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga72b648a8378fe3310c7c7bbecc0f7be6}{GLFW\_CONTEXT\_RELEASE\_BEHAVIOR}}:}
\DoxyCodeLine{418             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a681e7c0153724884070e9c94069693fb}{context}}.\mbox{\hyperlink{struct___g_l_f_wctxconfig_a70db828a89fe653b4efd5ec03419b46d}{release}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{419             \textcolor{keywordflow}{return};}
\DoxyCodeLine{420         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga0f20825e6e47ee8ba389024519682212}{GLFW\_REFRESH\_RATE}}:}
\DoxyCodeLine{421             \mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_aa6897931acebf196791bc65c82461110}{refreshRate}} = \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}};}
\DoxyCodeLine{422             \textcolor{keywordflow}{return};}
\DoxyCodeLine{423     \}}
\DoxyCodeLine{424 }
\DoxyCodeLine{425     \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{GLFW\_INVALID\_ENUM}}, \textcolor{stringliteral}{"Invalid window hint 0x\%08X"}, hint);}
\DoxyCodeLine{426 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_ga3c2270562d7ba13d92680ba1090adafe}\label{group__window_ga3c2270562d7ba13d92680ba1090adafe}} 
\index{Window reference@{Window reference}!glfwWindowHintString@{glfwWindowHintString}}
\index{glfwWindowHintString@{glfwWindowHintString}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwWindowHintString()}{glfwWindowHintString()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} \mbox{\hyperlink{glext_8h_a46df6112013cf583e82b25cebd5cb499}{void}} glfw\+Window\+Hint\+String (\begin{DoxyParamCaption}\item[{int}]{hint,  }\item[{const char $\ast$}]{value }\end{DoxyParamCaption})}



Sets the specified window hint to the desired value. 

This function sets hints for the next call to \mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}}. The hints, once set, retain their values until changed by a call to this function or \mbox{\hyperlink{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}{glfw\+Default\+Window\+Hints}}, or until the library is terminated.

Only string type hints can be set with this function. Integer value hints are set with \mbox{\hyperlink{group__window_ga69c40728499720bef8a49aa925ea0efa}{glfw\+Window\+Hint}}.

This function does not check whether the specified hint values are valid. If you set hints to invalid values this will instead be reported by the next call to \mbox{\hyperlink{group__window_ga680a02abe0e4494b6759d5703240713e}{glfw\+Create\+Window}}.

Some hints are platform specific. These may be set on any platform but they will only affect their specific platform. Other platforms will ignore them. Setting these hints requires no platform specific headers or functions.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em hint} & The \mbox{\hyperlink{window_guide_window_hints}{window hint}} to set. \\
\hline
\mbox{\texttt{ in}}  & {\em value} & The new value of the window hint.\\
\hline
\end{DoxyParams}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}} and \mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{G\+L\+F\+W\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+E\+N\+UM}}.

@pointer\+\_\+lifetime The specified string is copied before this function returns.

@thread\+\_\+safety This function must only be called from the main thread.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_hints}{Window creation hints}} 

\mbox{\hyperlink{group__window_ga69c40728499720bef8a49aa925ea0efa}{glfw\+Window\+Hint}} 

\mbox{\hyperlink{group__window_ga8050ddceed9dc6bd9d3aa35666195cd4}{glfw\+Default\+Window\+Hints}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+3. 
\end{DoxySince}


Definition at line 428 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{429 \{}
\DoxyCodeLine{430     assert(\mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{431 }
\DoxyCodeLine{432     \mbox{\hyperlink{internal_8h_aefaae289f758535cd19343d0120b9715}{\_GLFW\_REQUIRE\_INIT}}();}
\DoxyCodeLine{433 }
\DoxyCodeLine{434     \textcolor{keywordflow}{switch} (hint)}
\DoxyCodeLine{435     \{}
\DoxyCodeLine{436         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga70fa0fbc745de6aa824df79a580e84b5}{GLFW\_COCOA\_FRAME\_NAME}}:}
\DoxyCodeLine{437             strncpy(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a36a70f7ee298a1cdcadf676ee545f825}{ns}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4be4e141e8d676273afc0e827c8e96e0}{frameName}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}},}
\DoxyCodeLine{438                     \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a36a70f7ee298a1cdcadf676ee545f825}{ns}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4be4e141e8d676273afc0e827c8e96e0}{frameName}}) -\/ 1);}
\DoxyCodeLine{439             \textcolor{keywordflow}{return};}
\DoxyCodeLine{440         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_gae5a9ea2fccccd92edbd343fc56461114}{GLFW\_X11\_CLASS\_NAME}}:}
\DoxyCodeLine{441             strncpy(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4d349ffb409d2385568605085f47f3e5}{x11}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a20d3fccecff9b1cf768ee10598de3c06}{className}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}},}
\DoxyCodeLine{442                     \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4d349ffb409d2385568605085f47f3e5}{x11}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a20d3fccecff9b1cf768ee10598de3c06}{className}}) -\/ 1);}
\DoxyCodeLine{443             \textcolor{keywordflow}{return};}
\DoxyCodeLine{444         \textcolor{keywordflow}{case} \mbox{\hyperlink{group__window_ga494c3c0d911e4b860b946530a3e389e8}{GLFW\_X11\_INSTANCE\_NAME}}:}
\DoxyCodeLine{445             strncpy(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4d349ffb409d2385568605085f47f3e5}{x11}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a7bd05ebbc2d63f64ca73ccf763a3f3ad}{instanceName}}, \mbox{\hyperlink{glad_8h_a79169be77d7e02a24f68a5bfe627dc29}{value}},}
\DoxyCodeLine{446                     \textcolor{keyword}{sizeof}(\mbox{\hyperlink{init_8c_a3007bc654ca6468ee69759007f70ba1e}{\_glfw}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a5146cc5fba43a4706292e0c12d4c4fd0}{hints}}.\mbox{\hyperlink{struct___g_l_f_wlibrary_a64464251b6f483f28ce17bdcbccc05cb}{window}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a4d349ffb409d2385568605085f47f3e5}{x11}}.\mbox{\hyperlink{struct___g_l_f_wwndconfig_a7bd05ebbc2d63f64ca73ccf763a3f3ad}{instanceName}}) -\/ 1);}
\DoxyCodeLine{447             \textcolor{keywordflow}{return};}
\DoxyCodeLine{448     \}}
\DoxyCodeLine{449 }
\DoxyCodeLine{450     \mbox{\hyperlink{init_8c_a3287b282ec57a4a89127ae51f49f10f5}{\_glfwInputError}}(\mbox{\hyperlink{group__errors_ga76f6bb9c4eea73db675f096b404593ce}{GLFW\_INVALID\_ENUM}}, \textcolor{stringliteral}{"Invalid window hint string 0x\%08X"}, hint);}
\DoxyCodeLine{451 \}}

\end{DoxyCode}
\mbox{\Hypertarget{group__window_gaa6162f67dfa38b8beda2fea623649332}\label{group__window_gaa6162f67dfa38b8beda2fea623649332}} 
\index{Window reference@{Window reference}!glfwWindowShouldClose@{glfwWindowShouldClose}}
\index{glfwWindowShouldClose@{glfwWindowShouldClose}!Window reference@{Window reference}}
\doxysubsubsection{\texorpdfstring{glfwWindowShouldClose()}{glfwWindowShouldClose()}}
{\footnotesize\ttfamily \mbox{\hyperlink{glfw3_8h_a56da5036b2cc259351ae22fd6439bb47}{G\+L\+F\+W\+A\+PI}} int glfw\+Window\+Should\+Close (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__window_ga3c96d80d363e67d13a41b5d1821f3242}{G\+L\+F\+Wwindow}} $\ast$}]{window }\end{DoxyParamCaption})}



Checks the close flag of the specified window. 

This function returns the value of the close flag of the specified window.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em window} & The window to query. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The value of the close flag.
\end{DoxyReturn}
@errors Possible errors include \mbox{\hyperlink{group__errors_ga2374ee02c177f12e1fa76ff3ed15e14a}{G\+L\+F\+W\+\_\+\+N\+O\+T\+\_\+\+I\+N\+I\+T\+I\+A\+L\+I\+Z\+ED}}.

@thread\+\_\+safety This function may be called from any thread. Access is not synchronized.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{window_guide_window_close}{Window closing and close flag}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Added in version 3.\+0. 
\end{DoxySince}


Definition at line 486 of file window.\+c.


\begin{DoxyCode}{0}
\DoxyCodeLine{487 \{}
\DoxyCodeLine{488     \mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}* \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} = (\mbox{\hyperlink{struct___g_l_f_wwindow}{\_GLFWwindow}}*) handle;}
\DoxyCodeLine{489     assert(\mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}} != \mbox{\hyperlink{include_2vally_2config_8h_a070d2ce7b6bb7e5c05602aa8c308d0c4}{NULL}});}
\DoxyCodeLine{490 }
\DoxyCodeLine{491     \mbox{\hyperlink{internal_8h_a69563c87fe776d416636a4d1b0e9e599}{\_GLFW\_REQUIRE\_INIT\_OR\_RETURN}}(0);}
\DoxyCodeLine{492     \textcolor{keywordflow}{return} \mbox{\hyperlink{truetype__test__win32_8c_a773143cded4dde4b20b2c5dc501a5b51}{window}}-\/>shouldClose;}
\DoxyCodeLine{493 \}}

\end{DoxyCode}
