New upstream version 3.24.5
This commit is contained in:
@ -107,7 +107,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint32</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-server-time" title="gdk_x11_get_server_time ()">gdk_x11_get_server_time</a> <span class="c_punctuation">()</span>
|
||||
@ -115,7 +115,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-device-get-id" title="gdk_x11_device_get_id ()">gdk_x11_device_get_id</a> <span class="c_punctuation">()</span>
|
||||
@ -131,7 +131,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint32</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-user-time" title="gdk_x11_display_get_user_time ()">gdk_x11_display_get_user_time</a> <span class="c_punctuation">()</span>
|
||||
@ -146,7 +146,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-startup-notification-id" title="gdk_x11_display_get_startup_notification_id ()">gdk_x11_display_get_startup_notification_id</a> <span class="c_punctuation">()</span>
|
||||
@ -194,7 +194,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-error-trap-pop" title="gdk_x11_display_error_trap_pop ()">gdk_x11_display_error_trap_pop</a> <span class="c_punctuation">()</span>
|
||||
@ -226,7 +226,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-glx-version" title="gdk_x11_display_get_glx_version ()">gdk_x11_display_get_glx_version</a> <span class="c_punctuation">()</span>
|
||||
@ -281,7 +281,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()">gdk_x11_screen_supports_net_wm_hint</a> <span class="c_punctuation">()</span>
|
||||
@ -289,7 +289,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint32</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-get-number-of-desktops" title="gdk_x11_screen_get_number_of_desktops ()">gdk_x11_screen_get_number_of_desktops</a> <span class="c_punctuation">()</span>
|
||||
@ -297,7 +297,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint32</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-get-current-desktop" title="gdk_x11_screen_get_current_desktop ()">gdk_x11_screen_get_current_desktop</a> <span class="c_punctuation">()</span>
|
||||
@ -369,7 +369,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint32</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-window-get-desktop" title="gdk_x11_window_get_desktop ()">gdk_x11_window_get_desktop</a> <span class="c_punctuation">()</span>
|
||||
@ -409,7 +409,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-default-screen" title="gdk_x11_get_default_screen ()">gdk_x11_get_default_screen</a> <span class="c_punctuation">()</span>
|
||||
@ -465,7 +465,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-keymap-get-group-for-state" title="gdk_x11_keymap_get_group_for_state ()">gdk_x11_keymap_get_group_for_state</a> <span class="c_punctuation">()</span>
|
||||
@ -473,7 +473,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-keymap-key-is-modifier" title="gdk_x11_keymap_key_is_modifier ()">gdk_x11_keymap_key_is_modifier</a> <span class="c_punctuation">()</span>
|
||||
@ -536,14 +536,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-xatom-name" title="gdk_x11_get_xatom_name ()">gdk_x11_get_xatom_name</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-get-xatom-name-for-display" title="gdk_x11_get_xatom_name_for_display ()">gdk_x11_get_xatom_name_for_display</a> <span class="c_punctuation">()</span>
|
||||
@ -559,7 +559,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-text-property-to-text-list" title="gdk_x11_display_text_property_to_text_list ()">gdk_x11_display_text_property_to_text_list</a> <span class="c_punctuation">()</span>
|
||||
@ -575,7 +575,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-string-to-compound-text" title="gdk_x11_display_string_to_compound_text ()">gdk_x11_display_string_to_compound_text</a> <span class="c_punctuation">()</span>
|
||||
@ -583,7 +583,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-utf8-to-compound-text" title="gdk_x11_display_utf8_to_compound_text ()">gdk_x11_display_utf8_to_compound_text</a> <span class="c_punctuation">()</span>
|
||||
@ -648,7 +648,7 @@ using the <code class="function">GDK_IS_X11_DISPLAY()</code> macro).</p>
|
||||
<span class="normal"> </span><span class="cbracket">}</span>
|
||||
<span class="normal"> </span><span class="keyword">else</span>
|
||||
<span class="preproc">#endif</span>
|
||||
<span class="normal"> </span><span class="function">g_error</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
<span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Message-Logging.html#g-error">g_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unsupported GDK backend"</span><span class="symbol">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -856,7 +856,7 @@ using <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-XID-TO-POI
|
||||
</pre>
|
||||
<p>Converts an XID into a <em class="parameter"><code>gpointer</code></em>
|
||||
. This is useful with data structures
|
||||
that use pointer arguments such as <span class="type">GHashTable</span>. Use <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-POINTER-TO-XID:CAPS" title="GDK_POINTER_TO_XID()"><code class="function">GDK_POINTER_TO_XID()</code></a>
|
||||
that use pointer arguments such as <a href="https://developer.gnome.org/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a>. Use <a class="link" href="gdk3-X-Window-System-Interaction.html#GDK-POINTER-TO-XID:CAPS" title="GDK_POINTER_TO_XID()"><code class="function">GDK_POINTER_TO_XID()</code></a>
|
||||
to convert the argument back to an XID.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GDK-XID-TO-POINTER.parameters"></a><h4>Parameters</h4>
|
||||
@ -898,7 +898,7 @@ gdk_x11_lookup_xdisplay (<em class="parameter"><code><span class="type">Display<
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-lookup-xdisplay.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, if found, otherwise <code class="literal">NULL</code>. </p>
|
||||
<p>the <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a>, if found, otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Display]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -906,7 +906,7 @@ gdk_x11_lookup_xdisplay (<em class="parameter"><code><span class="type">Display<
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-server-time"></a><h3>gdk_x11_get_server_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_x11_get_server_time (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
||||
<p>Routine to get the current X server time stamp.</p>
|
||||
<div class="refsect3">
|
||||
@ -935,7 +935,7 @@ result. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-device-get-id"></a><h3>gdk_x11_device_get_id ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_device_get_id (<em class="parameter"><code><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<p>Returns the device ID as seen by XInput2.</p>
|
||||
<div class="blockquote"><blockquote class="blockquote"><p>If <a class="link" href="GdkDeviceManager.html#gdk-disable-multidevice" title="gdk_disable_multidevice ()"><code class="function">gdk_disable_multidevice()</code></a> has been called, this function
|
||||
@ -969,7 +969,7 @@ those managed via XInput 1.x), will return 0.</p></blockquote></div>
|
||||
<a name="gdk-x11-device-manager-lookup"></a><h3>gdk_x11_device_manager_lookup ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GdkDevice.html" title="GdkDevice"><span class="returnvalue">GdkDevice</span></a> *
|
||||
gdk_x11_device_manager_lookup (<em class="parameter"><code><a class="link" href="GdkDeviceManager.html" title="GdkDeviceManager"><span class="type">GdkDeviceManager</span></a> *device_manager</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> device_id</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> device_id</code></em>);</pre>
|
||||
<p>Returns the <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> that wraps the given device ID.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-device-manager-lookup.parameters"></a><h4>Parameters</h4>
|
||||
@ -996,7 +996,7 @@ gdk_x11_device_manager_lookup (<em class="parameter"><code><a class="link" href=
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-device-manager-lookup.returns"></a><h4>Returns</h4>
|
||||
<p>The <a class="link" href="GdkDevice.html" title="GdkDevice"><span class="type">GdkDevice</span></a> wrapping the device ID,
|
||||
or <code class="literal">NULL</code> if the given ID doesn’t currently represent a device. </p>
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the given ID doesn’t currently represent a device. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11DeviceCore]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
@ -1004,7 +1004,7 @@ or <code class="literal">NULL</code> if the given ID doesn’t currently represe
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-user-time"></a><h3>gdk_x11_display_get_user_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_x11_display_get_user_time (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Returns the timestamp of the last user interaction on
|
||||
<em class="parameter"><code>display</code></em>
|
||||
@ -1072,7 +1072,7 @@ or "remove")</p></td>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>a list of key/value pairs (as strings), terminated by a
|
||||
<code class="literal">NULL</code> key. (A <code class="literal">NULL</code> value for a key will cause that key to be
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> key. (A <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value for a key will cause that key to be
|
||||
skipped in the output.)</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -1084,7 +1084,7 @@ skipped in the output.)</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-startup-notification-id"></a><h3>gdk_x11_display_get_startup_notification_id ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gdk_x11_display_get_startup_notification_id
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Gets the startup notification ID for a display.</p>
|
||||
@ -1116,7 +1116,7 @@ gdk_x11_display_get_startup_notification_id
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_startup_notification_id
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *startup_id</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *startup_id</code></em>);</pre>
|
||||
<p>Sets the startup notification ID for a display.</p>
|
||||
<p>This is usually taken from the value of the DESKTOP_STARTUP_ID
|
||||
environment variable, but in some cases (such as the application not
|
||||
@ -1263,7 +1263,7 @@ with this function.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-error-trap-pop"></a><h3>gdk_x11_display_error_trap_pop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_display_error_trap_pop (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>);</pre>
|
||||
<p>Pops the error trap pushed by <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-error-trap-push" title="gdk_x11_display_error_trap_push ()"><code class="function">gdk_x11_display_error_trap_push()</code></a>.
|
||||
Will <code class="function">XSync()</code> if necessary and will always block until
|
||||
@ -1328,8 +1328,8 @@ equivalent.</p>
|
||||
<a name="gdk-x11-display-set-cursor-theme"></a><h3>gdk_x11_display_set_cursor_theme ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_cursor_theme (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *theme</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gint</span> size</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *theme</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
||||
<p>Sets the cursor theme from which the images for cursor
|
||||
should be taken.</p>
|
||||
<p>If the windowing system supports it, existing cursors created
|
||||
@ -1356,7 +1356,7 @@ for the corresponding <span class="type">GtkSetting</span>).</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>theme</p></td>
|
||||
<td class="parameter_description"><p>the name of the cursor theme to use, or <code class="literal">NULL</code> to unset
|
||||
<td class="parameter_description"><p>the name of the cursor theme to use, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset
|
||||
a previously set value. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -1375,7 +1375,7 @@ a previously set value. </p></td>
|
||||
<a name="gdk-x11-display-set-window-scale"></a><h3>gdk_x11_display_set_window_scale ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_display_set_window_scale (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> scale</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scale</code></em>);</pre>
|
||||
<p>Forces a specific window scale for all windows on this display,
|
||||
instead of using the default or user configured scale. This
|
||||
is can be used to disable scaling support by setting <em class="parameter"><code>scale</code></em>
|
||||
@ -1410,10 +1410,10 @@ to later user configuration changes.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-get-glx-version"></a><h3>gdk_x11_display_get_glx_version ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *major</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *minor</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *major</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *minor</code></em>);</pre>
|
||||
<p>Retrieves the version of the GLX implementation.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-get-glx-version.parameters"></a><h4>Parameters</h4>
|
||||
@ -1444,7 +1444,7 @@ gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-get-glx-version.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if GLX is available</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if GLX is available</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -1453,8 +1453,8 @@ gdk_x11_display_get_glx_version (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gdk-x11-register-standard-event-type"></a><h3>gdk_x11_register_standard_event_type ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_register_standard_event_type (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> event_base</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_events</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> event_base</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_events</code></em>);</pre>
|
||||
<p>Registers interest in receiving extension events with type codes
|
||||
between <em class="parameter"><code>event_base</code></em>
|
||||
and <code class="literal">event_base + n_events - 1</code>.
|
||||
@ -1589,7 +1589,7 @@ and should not be freed.</p>
|
||||
<a name="gdk-x11-screen-get-monitor-output"></a><h3>gdk_x11_screen_get_monitor_output ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">XID</span>
|
||||
gdk_x11_screen_get_monitor_output (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> monitor_num</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor_num</code></em>);</pre>
|
||||
<p>Gets the XID of the specified output/monitor.
|
||||
If the X server does not support version 1.2 of the RANDR
|
||||
extension, 0 is returned.</p>
|
||||
@ -1653,7 +1653,7 @@ gdk_x11_screen_lookup_visual (<em class="parameter"><code><a class="link" href="
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-screen-lookup-visual.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Visuals.html#GdkVisual"><span class="type">GdkVisual</span></a> (owned by the screen
|
||||
object), or <code class="literal">NULL</code> if the visual ID wasn’t found. </p>
|
||||
object), or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the visual ID wasn’t found. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Visual]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -1661,7 +1661,7 @@ object), or <code class="literal">NULL</code> if the visual ID wasn’t found. <
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-supports-net-wm-hint"></a><h3>gdk_x11_screen_supports_net_wm_hint ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_x11_screen_supports_net_wm_hint (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> property</code></em>);</pre>
|
||||
<p>This function is specific to the X11 backend of GDK, and indicates
|
||||
@ -1672,7 +1672,7 @@ can change over time; so you shouldn’t use this function in
|
||||
a way that impacts persistent application state. A common bug
|
||||
is that your application can start up before the window manager
|
||||
does when the user logs in, and before the window manager starts
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> will return <code class="literal">FALSE</code> for every property.
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-screen-supports-net-wm-hint" title="gdk_x11_screen_supports_net_wm_hint ()"><code class="function">gdk_x11_screen_supports_net_wm_hint()</code></a> will return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for every property.
|
||||
You can monitor the window_manager_changed signal on <a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> to detect
|
||||
a window manager change.</p>
|
||||
<div class="refsect3">
|
||||
@ -1699,7 +1699,7 @@ a window manager change.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-screen-supports-net-wm-hint.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the window manager supports <em class="parameter"><code>property</code></em>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the window manager supports <em class="parameter"><code>property</code></em>
|
||||
</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.2</p>
|
||||
@ -1707,7 +1707,7 @@ a window manager change.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-get-number-of-desktops"></a><h3>gdk_x11_screen_get_number_of_desktops ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_x11_screen_get_number_of_desktops (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns the number of workspaces for <em class="parameter"><code>screen</code></em>
|
||||
when running under a
|
||||
@ -1738,7 +1738,7 @@ in the
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-screen-get-current-desktop"></a><h3>gdk_x11_screen_get_current_desktop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_x11_screen_get_current_desktop (<em class="parameter"><code><a class="link" href="GdkScreen.html" title="GdkScreen"><span class="type">GdkScreen</span></a> *screen</code></em>);</pre>
|
||||
<p>Returns the current workspace for <em class="parameter"><code>screen</code></em>
|
||||
when running under a
|
||||
@ -1804,7 +1804,7 @@ was already known to GDK, a new reference to the existing
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-window-foreign-new-for-display.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native
|
||||
window, or <code class="literal">NULL</code> if the window has been destroyed. The wrapper
|
||||
window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the window has been destroyed. The wrapper
|
||||
will be newly created, if one doesn’t exist already. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1843,7 +1843,7 @@ window handle. </p></td>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-window-lookup-for-display.returns"></a><h4>Returns</h4>
|
||||
<p>the <a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> wrapper for the native
|
||||
window, or <code class="literal">NULL</code> if there is none. </p>
|
||||
window, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GdkX11Window]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.24</p>
|
||||
@ -1881,7 +1881,7 @@ gdk_x11_window_get_xid (<em class="parameter"><code><a class="link" href="gdk3-W
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_hide_titlebar_when_maximized
|
||||
(<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> hide_titlebar_when_maximized</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> hide_titlebar_when_maximized</code></em>);</pre>
|
||||
<p>Set a hint for the window manager, requesting that the titlebar
|
||||
should be hidden when the window is maximized.</p>
|
||||
<p>Note that this property is automatically updated by GTK+, so this
|
||||
@ -1955,7 +1955,7 @@ to create toplevel windows.</p>
|
||||
<a name="gdk-x11-window-set-user-time"></a><h3>gdk_x11_window_set_user_time ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_user_time (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
|
||||
<p>The application can use this call to update the _NET_WM_USER_TIME
|
||||
property on a toplevel window. This property stores an Xserver
|
||||
time which represents the time of the last user input event
|
||||
@ -2023,7 +2023,7 @@ Will not do anything if the window is already on all workspaces.</p>
|
||||
<a name="gdk-x11-window-move-to-desktop"></a><h3>gdk_x11_window_move_to_desktop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_move_to_desktop (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint32</span> desktop</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> desktop</code></em>);</pre>
|
||||
<p>Moves the window to the given workspace when running unde a
|
||||
window manager that supports multiple workspaces, as described
|
||||
in the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" target="_top">Extended Window Manager Hints</a> specification.</p>
|
||||
@ -2054,7 +2054,7 @@ in the <a class="ulink" href="http://www.freedesktop.org/Standards/wm-spec" targ
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-window-get-desktop"></a><h3>gdk_x11_window_get_desktop ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint32</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
|
||||
gdk_x11_window_get_desktop (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>);</pre>
|
||||
<p>Gets the number of the workspace <em class="parameter"><code>window</code></em>
|
||||
is on.</p>
|
||||
@ -2085,8 +2085,8 @@ gdk_x11_window_get_desktop (<em class="parameter"><code><a class="link" href="gd
|
||||
<a name="gdk-x11-window-set-utf8-property"></a><h3>gdk_x11_window_set_utf8_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_utf8_property (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
|
||||
<p>This function modifies or removes an arbitrary X11 window
|
||||
property of type UTF8_STRING. If the given <em class="parameter"><code>window</code></em>
|
||||
is
|
||||
@ -2112,7 +2112,7 @@ not a toplevel window, it is ignored.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>value</p></td>
|
||||
<td class="parameter_description"><p>Property value, or <code class="literal">NULL</code> to delete. </p></td>
|
||||
<td class="parameter_description"><p>Property value, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to delete. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -2179,7 +2179,7 @@ on GdkX11Window.</p>
|
||||
<a name="gdk-x11-window-set-frame-sync-enabled"></a><h3>gdk_x11_window_set_frame_sync_enabled ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_window_set_frame_sync_enabled (<em class="parameter"><code><a class="link" href="gdk3-Windows.html#GdkWindow"><span class="type">GdkWindow</span></a> *window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> frame_sync_enabled</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> frame_sync_enabled</code></em>);</pre>
|
||||
<p>This function can be used to disable frame synchronization for a window.
|
||||
Normally frame synchronziation will be enabled or disabled based on whether
|
||||
the system has a compositor that supports frame synchronization, but if
|
||||
@ -2225,7 +2225,7 @@ gdk_x11_get_default_root_xwindow (<em class="parameter"><code><span class="type"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-default-screen"></a><h3>gdk_x11_get_default_screen ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_get_default_screen (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
||||
<p>Gets the default GTK+ screen number.</p>
|
||||
<div class="refsect3">
|
||||
@ -2336,9 +2336,9 @@ gdk_x11_cursor_get_xdisplay (<em class="parameter"><code><a class="link" href="g
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-keymap-get-group-for-state"></a><h3>gdk_x11_keymap_get_group_for_state ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_keymap_get_group_for_state (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> state</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> state</code></em>);</pre>
|
||||
<p>Extracts the group from the state field sent in an X Key event.
|
||||
This is only needed for code processing raw X events, since <a class="link" href="gdk3-Event-Structures.html#GdkEventKey" title="struct GdkEventKey"><span class="type">GdkEventKey</span></a>
|
||||
directly includes an is_modifier field.</p>
|
||||
@ -2373,9 +2373,9 @@ directly includes an is_modifier field.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-keymap-key-is-modifier"></a><h3>gdk_x11_keymap_key_is_modifier ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_x11_keymap_key_is_modifier (<em class="parameter"><code><a class="link" href="gdk3-Keyboard-Handling.html#GdkKeymap"><span class="type">GdkKeymap</span></a> *keymap</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> keycode</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> keycode</code></em>);</pre>
|
||||
<p>Determines whether a particular key code represents a key that
|
||||
is a modifier. That is, it’s a key that normally just affects
|
||||
the keyboard state and the behavior of other keys rather than
|
||||
@ -2406,7 +2406,7 @@ an is_modifier field.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-keymap-key-is-modifier.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the hardware keycode is a modifier key</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the hardware keycode is a modifier key</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-6.html#api-index-3.6">3.6</a></p>
|
||||
</div>
|
||||
@ -2572,7 +2572,7 @@ gdk_x11_xatom_to_atom_for_display (<em class="parameter"><code><a class="link" h
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-by-name"></a><h3>gdk_x11_get_xatom_by_name ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">Atom</span>
|
||||
gdk_x11_get_xatom_by_name (<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>);</pre>
|
||||
gdk_x11_get_xatom_by_name (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
|
||||
<p>Returns the X atom for GDK’s default display corresponding to <em class="parameter"><code>atom_name</code></em>
|
||||
.
|
||||
This function caches the result, so if called repeatedly it is much
|
||||
@ -2602,7 +2602,7 @@ faster than <code class="function">XInternAtom()</code>, which is a round trip t
|
||||
<a name="gdk-x11-get-xatom-by-name-for-display"></a><h3>gdk_x11_get_xatom_by_name_for_display ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">Atom</span>
|
||||
gdk_x11_get_xatom_by_name_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *atom_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *atom_name</code></em>);</pre>
|
||||
<p>Returns the X atom for a <a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> corresponding to <em class="parameter"><code>atom_name</code></em>
|
||||
.
|
||||
This function caches the result, so if called repeatedly it is much
|
||||
@ -2638,12 +2638,12 @@ faster than <code class="function">XInternAtom()</code>, which is a round trip t
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-name"></a><h3>gdk_x11_get_xatom_name ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gdk_x11_get_xatom_name (<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
|
||||
<p>Returns the name of an X atom for GDK’s default display. This
|
||||
function is meant mainly for debugging, so for convenience, unlike
|
||||
<code class="function">XAtomName()</code> and <a class="link" href="gdk3-Properties-and-Atoms.html#gdk-atom-name" title="gdk_atom_name ()"><code class="function">gdk_atom_name()</code></a>, the result
|
||||
doesn’t need to be freed. Also, this function will never return <code class="literal">NULL</code>,
|
||||
doesn’t need to be freed. Also, this function will never return <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
||||
even if <em class="parameter"><code>xatom</code></em>
|
||||
is invalid.</p>
|
||||
<div class="refsect3">
|
||||
@ -2670,7 +2670,7 @@ so it shouldn’t be modifed or freed. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-get-xatom-name-for-display"></a><h3>gdk_x11_get_xatom_name_for_display ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gdk_x11_get_xatom_name_for_display (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><span class="type">Atom</span> xatom</code></em>);</pre>
|
||||
<p>Returns the name of an X atom for its display. This
|
||||
@ -2711,7 +2711,7 @@ so it shouldn’t be modifed or freed. </p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-set-sm-client-id"></a><h3>gdk_x11_set_sm_client_id ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_set_sm_client_id (<em class="parameter"><code>const <span class="type">gchar</span> *sm_client_id</code></em>);</pre>
|
||||
gdk_x11_set_sm_client_id (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sm_client_id</code></em>);</pre>
|
||||
<p>Sets the <code class="literal">SM_CLIENT_ID</code> property on the application’s leader window so that
|
||||
the window manager can save the application’s state using the X11R6 ICCCM
|
||||
session management protocol.</p>
|
||||
@ -2728,7 +2728,7 @@ session management and the Inter-Client Communication Conventions Manual</p>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>sm_client_id</p></td>
|
||||
<td class="parameter_description"><p>the client id assigned by the session manager
|
||||
when the connection was opened, or <code class="literal">NULL</code> to remove the property. </p></td>
|
||||
when the connection was opened, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove the property. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -2738,14 +2738,14 @@ when the connection was opened, or <code class="literal">NULL</code> to remove t
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-text-property-to-text-list"></a><h3>gdk_x11_display_text_property_to_text_list ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_display_text_property_to_text_list
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> encoding</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> format</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">guchar</span> *text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> length</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> ***list</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> format</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> ***list</code></em>);</pre>
|
||||
<p>Convert a text string from the encoding as it is stored
|
||||
in a property into an array of strings in the encoding of
|
||||
the current locale. (The elements of the array represent the
|
||||
@ -2807,7 +2807,7 @@ if the conversion failed</p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-free-text-list"></a><h3>gdk_x11_free_text_list ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_free_text_list (<em class="parameter"><code><span class="type">gchar</span> **list</code></em>);</pre>
|
||||
gdk_x11_free_text_list (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **list</code></em>);</pre>
|
||||
<p>Frees the array of strings created by
|
||||
<a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-text-property-to-text-list" title="gdk_x11_display_text_property_to_text_list ()"><code class="function">gdk_x11_display_text_property_to_text_list()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -2832,14 +2832,14 @@ a call to <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-di
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-string-to-compound-text"></a><h3>gdk_x11_display_string_to_compound_text ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gdk_x11_display_string_to_compound_text
|
||||
(<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *encoding</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *format</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **ctext</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *length</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *format</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **ctext</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
||||
<p>Convert a string from the encoding of the current
|
||||
locale into a form suitable for storing in a window property.</p>
|
||||
<div class="refsect3">
|
||||
@ -2896,13 +2896,13 @@ allocated data for the property. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text"></a><h3>gdk_x11_display_utf8_to_compound_text ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gdk_x11_display_utf8_to_compound_text (<em class="parameter"><code><a class="link" href="GdkDisplay.html" title="GdkDisplay"><span class="type">GdkDisplay</span></a> *display</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gdk3-Properties-and-Atoms.html#GdkAtom" title="GdkAtom"><span class="type">GdkAtom</span></a> *encoding</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *format</code></em>,
|
||||
<em class="parameter"><code><span class="type">guchar</span> **ctext</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *length</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *format</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> **ctext</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
|
||||
<p>Converts from UTF-8 to compound text.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text.parameters"></a><h4>Parameters</h4>
|
||||
@ -2950,8 +2950,8 @@ stored in <em class="parameter"><code>ctext</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-display-utf8-to-compound-text.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the conversion succeeded,
|
||||
otherwise <code class="literal">FALSE</code></p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the conversion succeeded,
|
||||
otherwise <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.24</p>
|
||||
</div>
|
||||
@ -2959,7 +2959,7 @@ otherwise <code class="literal">FALSE</code></p>
|
||||
<div class="refsect2">
|
||||
<a name="gdk-x11-free-compound-text"></a><h3>gdk_x11_free_compound_text ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gdk_x11_free_compound_text (<em class="parameter"><code><span class="type">guchar</span> *ctext</code></em>);</pre>
|
||||
gdk_x11_free_compound_text (<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *ctext</code></em>);</pre>
|
||||
<p>Frees the data returned from <a class="link" href="gdk3-X-Window-System-Interaction.html#gdk-x11-display-string-to-compound-text" title="gdk_x11_display_string_to_compound_text ()"><code class="function">gdk_x11_display_string_to_compound_text()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gdk-x11-free-compound-text.parameters"></a><h4>Parameters</h4>
|
||||
|
||||
Reference in New Issue
Block a user