/usr/share/gtk-doc/html/libxfcegui4/libxfcegui4-Xfce-Gtk+-extensions.html is in libxfcegui4-dev 4.10.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Xfce Gtk+ extensions</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libxfcegui4 Reference Manual">
<link rel="up" href="libxfcegui4-fundamentals.html" title="Xfce GUI Fundamentals">
<link rel="prev" href="libxfcegui4-Xfce-Gdk-extensions.html" title="Xfce Gdk extensions">
<link rel="next" href="libxfcegui4-netk.html" title="Xfce GUI Netk Reference">
<meta name="generator" content="GTK-Doc V1.18 (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="2">
<tr valign="middle">
<td><a accesskey="p" href="libxfcegui4-Xfce-Gdk-extensions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libxfcegui4-fundamentals.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libxfcegui4 Reference Manual</th>
<td><a accesskey="n" href="libxfcegui4-netk.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libxfcegui4-Xfce-Gtk+-extensions.synopsis" class="shortcut">Top</a>
|
<a href="#libxfcegui4-Xfce-Gtk+-extensions.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libxfcegui4-Xfce-Gtk+-extensions"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libxfcegui4-Xfce-Gtk+-extensions.top_of_page"></a>Xfce Gtk+ extensions</span></h2>
<p>Xfce Gtk+ extensions — Additional Gtk+ related functions.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libxfcegui4-Xfce-Gtk+-extensions.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libxfcegui4/libxfcegui4.h>
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-Xfce-Gtk+-extensions.html#xfce-gtk-window-center-on-monitor" title="xfce_gtk_window_center_on_monitor ()">xfce_gtk_window_center_on_monitor</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *window</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libxfcegui4-Xfce-Gtk+-extensions.html#xfce-gtk-window-center-on-monitor-with-pointer" title="xfce_gtk_window_center_on_monitor_with_pointer ()">xfce_gtk_window_center_on_monitor_with_pointer</a>
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *window</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libxfcegui4-Xfce-Gtk+-extensions.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libxfcegui4-Xfce-Gtk+-extensions.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="xfce-gtk-window-center-on-monitor"></a><h3>xfce_gtk_window_center_on_monitor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_gtk_window_center_on_monitor (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *window</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html"><span class="type">GdkScreen</span></a> *screen</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> monitor</code></em>);</pre>
<p>
Centers <em class="parameter"><code>window</code></em> on <em class="parameter"><code>monitor</code></em> of <em class="parameter"><code>screen</code></em>. <em class="parameter"><code>monitor</code></em> has to reference a valid
monitor of <em class="parameter"><code>screen</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>The Gtk window to center.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td>The screen on which the <em class="parameter"><code>window</code></em> should be centered.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>monitor</code></em> :</span></p></td>
<td>The monitor of the <em class="parameter"><code>screen</code></em> on which <em class="parameter"><code>window</code></em> should be centered.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 4.2</p>
</div>
<hr>
<div class="refsect2">
<a name="xfce-gtk-window-center-on-monitor-with-pointer"></a><h3>xfce_gtk_window_center_on_monitor_with_pointer ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xfce_gtk_window_center_on_monitor_with_pointer
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWindow.html"><span class="type">GtkWindow</span></a> *window</code></em>);</pre>
<p>
Determines the monitor that contains the pointer and centers the
<em class="parameter"><code>window</code></em> on it. If it failes to determine the current pointer position,
<em class="parameter"><code>window</code></em> is centered on the first monitor of the default screen on
the default display.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
<td>The Gtk window to center.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libxfcegui4-Xfce-Gtk+-extensions.see-also"></a><h2>See Also</h2>
<p>
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/gtk/" target="_top">Gtk+ reference manual</a>
</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|