⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.83
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
libgtk-3-dev
/
gdk3
/
View File Name :
gdk3-Wayland-Interaction.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Wayland Interaction: GDK 3 Reference Manual</title> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="index.html" title="GDK 3 Reference Manual"> <link rel="up" href="reference.html" title="API Reference"> <link rel="prev" href="gdk3-X-Window-System-Interaction.html" title="X Window System Interaction"> <link rel="next" href="gdk3-Application-launching.html" title="Application launching"> <meta name="generator" content="GTK-Doc V1.32 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> <td width="100%" align="left" class="shortcuts"> <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> <a href="#gdk3-Wayland-Interaction.description" class="shortcut">Description</a></span> </td> <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> <td><a accesskey="u" href="reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> <td><a accesskey="p" href="gdk3-X-Window-System-Interaction.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> <td><a accesskey="n" href="gdk3-Application-launching.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="gdk3-Wayland-Interaction"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle"><a name="gdk3-Wayland-Interaction.top_of_page"></a>Wayland Interaction</span></h2> <p>Wayland Interaction — Wayland backend-specific functions</p> </td> <td class="gallery_image" valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> <a name="gdk3-Wayland-Interaction.includes"></a><h2>Includes</h2> <pre class="synopsis">#include <gdk/gdkwayland.h> </pre> </div> <div class="refsect1"> <a name="gdk3-Wayland-Interaction.description"></a><h2>Description</h2> <p>The functions in this section are specific to the GDK Wayland backend. To use them, you need to include the <code class="literal"><gdk/gdkwayland.h></code> header and use the Wayland-specific pkg-config files to build your application (either <code class="literal">gdk-wayland-3.0</code> or <code class="literal">gtk+-wayland-3.0</code>).</p> <p>To make your code compile with other GDK backends, guard backend-specific calls by an ifdef as follows. Since GDK may be built with multiple backends, you should also check for the backend that is in use (e.g. by using the <code class="function">GDK_IS_WAYLAND_DISPLAY()</code> macro).</p> <div class="informalexample"> <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td class="listing_lines" align="right"><pre>1 2 3 4 5 6 7 8 9 10 11 12 13 14 15</pre></td> <td class="listing_code"><pre class="programlisting"><span class="cp">#ifdef GDK_WINDOWING_WAYLAND</span> <span class="k">if</span> <span class="p">(</span><span class="n">GDK_IS_WAYLAND_DISPLAY</span> <span class="p">(</span><span class="n">display</span><span class="p">))</span> <span class="p">{</span> <span class="c1">// make Wayland-specific calls here</span> <span class="p">}</span> <span class="k">else</span> <span class="cp">#endif</span> <span class="cp">#ifdef GDK_WINDOWING_X11</span> <span class="k">if</span> <span class="p">(</span><span class="n">GDK_IS_X11_DISPLAY</span> <span class="p">(</span><span class="n">display</span><span class="p">))</span> <span class="p">{</span> <span class="c1">// make X11-specific calls here</span> <span class="p">}</span> <span class="k">else</span> <span class="cp">#endif</span> <span class="n">g_error</span> <span class="p">(</span><span class="s">"Unsupported GDK backend"</span><span class="p">);</span></pre></td> </tr> </tbody> </table> </div> <p></p> </div> <div class="refsect1"> <a name="gdk3-Wayland-Interaction.functions_details"></a><h2>Functions</h2> <p></p> </div> </div> <div class="footer"> <hr>Generated by GTK-Doc V1.32</div> </body> </html>