/usr/share/gtk-doc/html/libwnck/libwnck-Window-Action-Menu.html is in libwnck-doc 2.30.7-5.1.
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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WnckActionMenu</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Libwnck Reference Manual">
<link rel="up" href="widgets.html" title="Part III. Libwnck Widgets">
<link rel="prev" href="widgets.html" title="Part III. Libwnck Widgets">
<link rel="next" href="WnckPager.html" title="WnckPager">
<meta name="generator" content="GTK-Doc V1.17.1 (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="widgets.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="widgets.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">Libwnck Reference Manual</th>
<td><a accesskey="n" href="WnckPager.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libwnck-Window-Action-Menu.synopsis" class="shortcut">Top</a>
|
<a href="#libwnck-Window-Action-Menu.description" class="shortcut">Description</a>
|
<a href="#libwnck-Window-Action-Menu.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#libwnck-Window-Action-Menu.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#libwnck-Window-Action-Menu.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="libwnck-Window-Action-Menu"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libwnck-Window-Action-Menu.top_of_page"></a>WnckActionMenu</span></h2>
<p>WnckActionMenu — a menu widget, used to manipulate a window.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="libwnck-Window-Action-Menu.synopsis"></a><h2>Synopsis</h2>
<a name="WnckActionMenu"></a><pre class="synopsis">
#include <libwnck/libwnck.h>
struct <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu-struct" title="struct WnckActionMenu">WnckActionMenu</a>;
<a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libwnck-Window-Action-Menu.html#wnck-action-menu-new" title="wnck_action_menu_new ()">wnck_action_menu_new</a> (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);
<a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libwnck-Window-Action-Menu.html#wnck-create-window-action-menu" title="wnck_create_window_action_menu ()">wnck_create_window_action_menu</a> (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----GtkObject
+----<a href="http://library.gnome.org/devel/gtk/GtkWidget.html">GtkWidget</a>
+----<a href="http://library.gnome.org/devel/gtk/GtkContainer.html">GtkContainer</a>
+----<a href="http://library.gnome.org/devel/gtk/GtkMenuShell.html">GtkMenuShell</a>
+----<a href="http://library.gnome.org/devel/gtk/GtkMenu.html">GtkMenu</a>
+----WnckActionMenu
</pre>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
WnckActionMenu implements
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu--window" title='The "window" property'>window</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.description"></a><h2>Description</h2>
<p>
A <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> is a menu containing items to manipulate a window.
Relevant actions are displayed in the menu, and updated if the window state
changes. The content of this menu is synchronized with the similar menu
available in Metacity.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
If there is only one workspace with a viewport, the <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> will
contain items to move the window in the viewport as if the viewport feature
was used to create workspaces. This is useful since viewport is generally
used as an alternative way to create virtual desktops.
</p>
<p>
The <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> does not support moving the window in the viewport if
there are multiple workspaces on the screen: those two notions are so
similar that having both at the same time would result in a menu which would
be confusing to the user.
</p>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="WnckActionMenu-struct"></a><h3>struct WnckActionMenu</h3>
<pre class="programlisting">struct WnckActionMenu;</pre>
<p>
The <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> struct contains only private fields and should not be
directly accessed.
</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-action-menu-new"></a><h3>wnck_action_menu_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * wnck_action_menu_new (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<p>
Creates a new <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a>. The <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> will be filled with menu
items for window operations on <em class="parameter"><code>window</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 <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for which a menu will be created.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly created <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.22</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-create-window-action-menu"></a><h3>wnck_create_window_action_menu ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * wnck_create_window_action_menu (<em class="parameter"><code><a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> *window</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">wnck_create_window_action_menu</code> has been deprecated since version 2.22 and should not be used in newly-written code. Use <a class="link" href="libwnck-Window-Action-Menu.html#wnck-action-menu-new" title="wnck_action_menu_new ()"><code class="function">wnck_action_menu_new()</code></a> instead.</p>
</div>
<p>
Creates a new <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a>. The <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a> will be filled with menu
items for window operations on <em class="parameter"><code>window</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 <a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a> for which a menu will be created.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly created <a class="link" href="libwnck-Window-Action-Menu.html#WnckActionMenu"><span class="type">WnckActionMenu</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="WnckActionMenu--window"></a><h3>The <code class="literal">"window"</code> property</h3>
<pre class="programlisting"> "window" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> : Read / Write / Construct Only</pre>
<p>The window that will be manipulated through this menu.</p>
</div>
</div>
<div class="refsect1">
<a name="libwnck-Window-Action-Menu.see-also"></a><h2>See Also</h2>
<a class="link" href="WnckWindow.html" title="WnckWindow"><span class="type">WnckWindow</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17.1</div>
</body>
</html>
|