<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qxcbwindowfunctions.qdoc --> <title>QXcbWindowFunctions Class | Qt Platform Headers 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qtplatformheaders-index.html">Qt Platform Headers</a></td><td ><a href="qtplatformheaders-module.html">C++ Classes</a></td><td >QXcbWindowFunctions</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-types">Public Types</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QXcbWindowFunctions Class</h1> <!-- $$$QXcbWindowFunctions-brief --> <p>The <a href="qxcbwindowfunctions.html">QXcbWindowFunctions</a> class is an inline class containing miscellaneous functionality for xcb window specific functionality. <a href="#details">More...</a></p> <!-- @@@QXcbWindowFunctions --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QXcbWindowFunctions></span> </td></tr></table></div><ul> <li><a href="qxcbwindowfunctions-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h2 id="public-types">Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#RequestSystemTrayWindowDock-typedef">RequestSystemTrayWindowDock</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#SetParentRelativeBackPixmap-typedef">SetParentRelativeBackPixmap</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#SetWmWindowIconText-typedef">SetWmWindowIconText</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#SetWmWindowRole-typedef">SetWmWindowRole</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#SetWmWindowType-typedef">SetWmWindowType</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#SystemTrayWindowGlobalGeometry-typedef">SystemTrayWindowGlobalGeometry</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> typedef </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#VisualId-typedef">VisualId</a></b></td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#WmWindowType-enum">WmWindowType</a></b> { Normal, Desktop, Dock, Toolbar, ..., KdeOverride }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#WmWindowType-enum">WmWindowTypes</a></b></td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#requestSystemTrayWindowDock">requestSystemTrayWindowDock</a></b>(const QWindow *<i>window</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#requestSystemTrayWindowDockIdentifier">requestSystemTrayWindowDockIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setParentRelativeBackPixmap">setParentRelativeBackPixmap</a></b>(const QWindow *<i>window</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setParentRelativeBackPixmapIdentifier">setParentRelativeBackPixmapIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowIconText">setWmWindowIconText</a></b>(QWindow *<i>window</i>, const QString &<i>text</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowIconTextIdentifier">setWmWindowIconTextIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowRole">setWmWindowRole</a></b>(QWindow *<i>window</i>, const QByteArray &<i>role</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowRoleIdentifier">setWmWindowRoleIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowType">setWmWindowType</a></b>(QWindow *<i>window</i>, WmWindowType <i>type</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#setWmWindowTypeIdentifier">setWmWindowTypeIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QRect </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#systemTrayWindowGlobalGeometry">systemTrayWindowGlobalGeometry</a></b>(const QWindow *<i>window</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#systemTrayWindowGlobalGeometryIdentifier">systemTrayWindowGlobalGeometryIdentifier</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#visualId">visualId</a></b>(QWindow *<i>window</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QByteArray </td><td class="memItemRight bottomAlign"><b><a href="qxcbwindowfunctions.html#visualIdIdentifier">visualIdIdentifier</a></b>()</td></tr> </table></div> <a name="details"></a> <!-- $$$QXcbWindowFunctions-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qxcbwindowfunctions.html">QXcbWindowFunctions</a> class is an inline class containing miscellaneous functionality for xcb window specific functionality.</p> <p>A common usage pattern is as follows:</p> <pre class="cpp"> <span class="type">int</span> main(<span class="type">int</span> argc<span class="operator">,</span> <span class="type">char</span> <span class="operator">*</span><span class="operator">*</span>argv) { <span class="type"><a href="../qtwidgets/qapplication.html">QApplication</a></span> app(argc<span class="operator">,</span> argv); <span class="type"><a href="../qtwidgets/qpushbutton.html">QPushButton</a></span> topLevelWidget(<span class="string">"Hello World!"</span>); topLevelWidget<span class="operator">.</span>winId(); <span class="comment">//have to create the QWindow</span> <span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> <span class="operator">*</span>tlwWindow <span class="operator">=</span> topLevelWidget<span class="operator">.</span>windowHandle(); <span class="type"><a href="qxcbwindowfunctions.html">QXcbWindowFunctions</a></span><span class="operator">::</span>setWmWindowType(tlwWindow<span class="operator">,</span> <span class="type"><a href="qxcbwindowfunctions.html">QXcbWindowFunctions</a></span><span class="operator">::</span>Dock); topLevelWidget<span class="operator">.</span>show(); <span class="keyword">return</span> app<span class="operator">.</span>exec(); } </pre> <p><b>Note: </b>There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.</p></div> <!-- @@@QXcbWindowFunctions --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$RequestSystemTrayWindowDock --> <h3 class="fn" id="RequestSystemTrayWindowDock-typedef"><a name="RequestSystemTrayWindowDock-typedef"></a>typedef QXcbWindowFunctions::<span class="name">RequestSystemTrayWindowDock</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#requestSystemTrayWindowDockIdentifier">requestSystemTrayWindowDockIdentifier</a>().</p> <!-- @@@RequestSystemTrayWindowDock --> <!-- $$$SetParentRelativeBackPixmap --> <h3 class="fn" id="SetParentRelativeBackPixmap-typedef"><a name="SetParentRelativeBackPixmap-typedef"></a>typedef QXcbWindowFunctions::<span class="name">SetParentRelativeBackPixmap</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#setParentRelativeBackPixmapIdentifier">setParentRelativeBackPixmapIdentifier</a>().</p> <!-- @@@SetParentRelativeBackPixmap --> <!-- $$$SetWmWindowIconText --> <h3 class="fn" id="SetWmWindowIconText-typedef"><a name="SetWmWindowIconText-typedef"></a>typedef QXcbWindowFunctions::<span class="name">SetWmWindowIconText</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#setWmWindowIconTextIdentifier">setWmWindowIconTextIdentifier</a>().</p> <!-- @@@SetWmWindowIconText --> <!-- $$$SetWmWindowRole --> <h3 class="fn" id="SetWmWindowRole-typedef"><a name="SetWmWindowRole-typedef"></a>typedef QXcbWindowFunctions::<span class="name">SetWmWindowRole</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#setWmWindowRoleIdentifier">setWmWindowRoleIdentifier</a>().</p> <p>This typedef was introduced in Qt 5.6.2.</p> <!-- @@@SetWmWindowRole --> <!-- $$$SetWmWindowType --> <h3 class="fn" id="SetWmWindowType-typedef"><a name="SetWmWindowType-typedef"></a>typedef QXcbWindowFunctions::<span class="name">SetWmWindowType</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#setWmWindowTypeIdentifier">setWmWindowTypeIdentifier</a>().</p> <!-- @@@SetWmWindowType --> <!-- $$$SystemTrayWindowGlobalGeometry --> <h3 class="fn" id="SystemTrayWindowGlobalGeometry-typedef"><a name="SystemTrayWindowGlobalGeometry-typedef"></a>typedef QXcbWindowFunctions::<span class="name">SystemTrayWindowGlobalGeometry</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#systemTrayWindowGlobalGeometryIdentifier">systemTrayWindowGlobalGeometryIdentifier</a>().</p> <!-- @@@SystemTrayWindowGlobalGeometry --> <!-- $$$VisualId --> <h3 class="fn" id="VisualId-typedef"><a name="VisualId-typedef"></a>typedef QXcbWindowFunctions::<span class="name">VisualId</span></h3> <p>This is the typedef for the function returned by <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> when passed the value returned by <a href="qxcbwindowfunctions.html#visualIdIdentifier">visualIdIdentifier</a>().</p> <!-- @@@VisualId --> <!-- $$$WmWindowType$$$Normal$$$Desktop$$$Dock$$$Toolbar$$$Menu$$$Utility$$$Splash$$$Dialog$$$DropDownMenu$$$PopupMenu$$$Tooltip$$$Notification$$$Combo$$$Dnd$$$KdeOverride --> <h3 class="flags" id="WmWindowType-enum"><a name="WmWindowType-enum"></a>enum QXcbWindowFunctions::<span class="name">WmWindowType</span><br/>flags QXcbWindowFunctions::<span class="name">WmWindowTypes</span></h3> <p>This enum represents the supported WM_WINDOW_TYPE atoms.</p> <div class="table"><table class="valuelist"><tr><th class="tblConst">Constant</th><th class="tblVal">Value</th></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Normal</code></td><td class="topAlign tblval"><code>0x000001</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Desktop</code></td><td class="topAlign tblval"><code>0x000002</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Dock</code></td><td class="topAlign tblval"><code>0x000004</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Toolbar</code></td><td class="topAlign tblval"><code>0x000008</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Menu</code></td><td class="topAlign tblval"><code>0x000010</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Utility</code></td><td class="topAlign tblval"><code>0x000020</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Splash</code></td><td class="topAlign tblval"><code>0x000040</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Dialog</code></td><td class="topAlign tblval"><code>0x000080</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::DropDownMenu</code></td><td class="topAlign tblval"><code>0x000100</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::PopupMenu</code></td><td class="topAlign tblval"><code>0x000200</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Tooltip</code></td><td class="topAlign tblval"><code>0x000400</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Notification</code></td><td class="topAlign tblval"><code>0x000800</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Combo</code></td><td class="topAlign tblval"><code>0x001000</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::Dnd</code></td><td class="topAlign tblval"><code>0x002000</code></td></tr> <tr><td class="topAlign"><code>QXcbWindowFunctions::KdeOverride</code></td><td class="topAlign tblval"><code>0x004000</code></td></tr> </table></div> <p>The WmWindowTypes type is a typedef for <a href="../qtcore/qflags.html">QFlags</a><WmWindowType>. It stores an OR combination of WmWindowType values.</p> <!-- @@@WmWindowType --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$requestSystemTrayWindowDock[overload1]$$$requestSystemTrayWindowDockconstQWindow* --> <h3 class="fn" id="requestSystemTrayWindowDock"><a name="requestSystemTrayWindowDock"></a><code>[static] </code><span class="type">bool</span> QXcbWindowFunctions::<span class="name">requestSystemTrayWindowDock</span>(const <span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <p>Returns the boolean result of calling the function or false if the function was not found.</p> <!-- @@@requestSystemTrayWindowDock --> <!-- $$$requestSystemTrayWindowDockIdentifier[overload1]$$$requestSystemTrayWindowDockIdentifier --> <h3 class="fn" id="requestSystemTrayWindowDockIdentifier"><a name="requestSystemTrayWindowDockIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">requestSystemTrayWindowDockIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#RequestSystemTrayWindowDock-typedef">RequestSystemTrayWindowDock</a> function.</p> <!-- @@@requestSystemTrayWindowDockIdentifier --> <!-- $$$setParentRelativeBackPixmap[overload1]$$$setParentRelativeBackPixmapconstQWindow* --> <h3 class="fn" id="setParentRelativeBackPixmap"><a name="setParentRelativeBackPixmap"></a><code>[static] </code><span class="type">void</span> QXcbWindowFunctions::<span class="name">setParentRelativeBackPixmap</span>(const <span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <!-- @@@setParentRelativeBackPixmap --> <!-- $$$setParentRelativeBackPixmapIdentifier[overload1]$$$setParentRelativeBackPixmapIdentifier --> <h3 class="fn" id="setParentRelativeBackPixmapIdentifier"><a name="setParentRelativeBackPixmapIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">setParentRelativeBackPixmapIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#SetParentRelativeBackPixmap-typedef">SetParentRelativeBackPixmap</a> function.</p> <!-- @@@setParentRelativeBackPixmapIdentifier --> <!-- $$$setWmWindowIconText[overload1]$$$setWmWindowIconTextQWindow*constQString& --> <h3 class="fn" id="setWmWindowIconText"><a name="setWmWindowIconText"></a><code>[static] </code><span class="type">void</span> QXcbWindowFunctions::<span class="name">setWmWindowIconText</span>(<span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>, const <span class="type"><a href="../qtcore/qstring.html">QString</a></span> &<i>text</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> and <i>text</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <!-- @@@setWmWindowIconText --> <!-- $$$setWmWindowIconTextIdentifier[overload1]$$$setWmWindowIconTextIdentifier --> <h3 class="fn" id="setWmWindowIconTextIdentifier"><a name="setWmWindowIconTextIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">setWmWindowIconTextIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#SetWmWindowIconText-typedef">SetWmWindowIconText</a> function.</p> <!-- @@@setWmWindowIconTextIdentifier --> <!-- $$$setWmWindowRole[overload1]$$$setWmWindowRoleQWindow*constQByteArray& --> <h3 class="fn" id="setWmWindowRole"><a name="setWmWindowRole"></a><code>[static] </code><span class="type">void</span> QXcbWindowFunctions::<span class="name">setWmWindowRole</span>(<span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>, const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> &<i>role</i>)</h3> <p>Sets the WM_WINDOW_ROLE property from <i>role</i> on the corresponding X11 window.</p> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> and <i>role</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <p>This function was introduced in Qt 5.6.2.</p> <!-- @@@setWmWindowRole --> <!-- $$$setWmWindowRoleIdentifier[overload1]$$$setWmWindowRoleIdentifier --> <h3 class="fn" id="setWmWindowRoleIdentifier"><a name="setWmWindowRoleIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">setWmWindowRoleIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#SetWmWindowRole-typedef">SetWmWindowRole</a> function.</p> <p>This function was introduced in Qt 5.6.2.</p> <!-- @@@setWmWindowRoleIdentifier --> <!-- $$$setWmWindowType[overload1]$$$setWmWindowTypeQWindow*WmWindowType --> <h3 class="fn" id="setWmWindowType"><a name="setWmWindowType"></a><code>[static] </code><span class="type">void</span> QXcbWindowFunctions::<span class="name">setWmWindowType</span>(<span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>, <span class="type"><a href="qxcbwindowfunctions.html#WmWindowType-enum">WmWindowType</a></span> <i>type</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> and <i>type</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <!-- @@@setWmWindowType --> <!-- $$$setWmWindowTypeIdentifier[overload1]$$$setWmWindowTypeIdentifier --> <h3 class="fn" id="setWmWindowTypeIdentifier"><a name="setWmWindowTypeIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">setWmWindowTypeIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#SetWmWindowType-typedef">SetWmWindowType</a> function.</p> <!-- @@@setWmWindowTypeIdentifier --> <!-- $$$systemTrayWindowGlobalGeometry[overload1]$$$systemTrayWindowGlobalGeometryconstQWindow* --> <h3 class="fn" id="systemTrayWindowGlobalGeometry"><a name="systemTrayWindowGlobalGeometry"></a><code>[static] </code><span class="type"><a href="../qtcore/qrect.html">QRect</a></span> QXcbWindowFunctions::<span class="name">systemTrayWindowGlobalGeometry</span>(const <span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <p>Returns the <a href="../qtcore/qrect.html">QRect</a> result of calling the function or an empty <a href="../qtcore/qrect.html">QRect</a> if the function was not found.</p> <!-- @@@systemTrayWindowGlobalGeometry --> <!-- $$$systemTrayWindowGlobalGeometryIdentifier[overload1]$$$systemTrayWindowGlobalGeometryIdentifier --> <h3 class="fn" id="systemTrayWindowGlobalGeometryIdentifier"><a name="systemTrayWindowGlobalGeometryIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">systemTrayWindowGlobalGeometryIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#SystemTrayWindowGlobalGeometry-typedef">SystemTrayWindowGlobalGeometry</a> function.</p> <!-- @@@systemTrayWindowGlobalGeometryIdentifier --> <!-- $$$visualId[overload1]$$$visualIdQWindow* --> <h3 class="fn" id="visualId"><a name="visualId"></a><code>[static] </code><span class="type"><a href="../qtcore/qtglobal.html#uint-typedef">uint</a></span> QXcbWindowFunctions::<span class="name">visualId</span>(<span class="type"><a href="../qtgui/qwindow.html">QWindow</a></span> *<i>window</i>)</h3> <p>This is a convenience function that can be used directly instead of resolving the function pointer. <i>window</i> will be relayed to the function retrieved by <a href="../qtgui/qguiapplication.html">QGuiApplication</a>.</p> <p>Returns the unsigned integer result of calling the function or UINT_MAX if the function was not found.</p> <!-- @@@visualId --> <!-- $$$visualIdIdentifier[overload1]$$$visualIdIdentifier --> <h3 class="fn" id="visualIdIdentifier"><a name="visualIdIdentifier"></a><code>[static] </code>const <span class="type"><a href="../qtcore/qbytearray.html">QByteArray</a></span> QXcbWindowFunctions::<span class="name">visualIdIdentifier</span>()</h3> <p>This function returns the byte array that can be used to query <a href="../qtgui/qguiapplication.html#platformFunction">QGuiApplication::platformFunction</a> to retrieve the <a href="qxcbwindowfunctions.html#VisualId-typedef">VisualId</a> function.</p> <!-- @@@visualIdIdentifier --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>