| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>XfwWindowActionMenu: libxfce4windowing Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="libxfce4windowing Reference Manual"> |
| 8 |
<link rel="up" href="ch01.html" title="[Insert title here]"> |
| 9 |
<link rel="prev" href="libxfce4windowingui-Library-Configuration.html" title="Library Configuration"> |
| 10 |
<link rel="next" href="XfwWindowListMenu.html" title="XfwWindowListMenu"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.34.0 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 14 |
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| 15 |
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| 16 |
<td width="100%" align="left" class="shortcuts"> |
| 17 |
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| 18 |
<a href="#XfwWindowActionMenu.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#XfwWindowActionMenu.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> |
| 20 |
<a href="#XfwWindowActionMenu.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> |
| 21 |
<a href="#XfwWindowActionMenu.properties" class="shortcut">Properties</a></span> |
| 22 |
</td> |
| 23 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 24 |
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 25 |
<td><a accesskey="p" href="libxfce4windowingui-Library-Configuration.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 26 |
<td><a accesskey="n" href="XfwWindowListMenu.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 27 |
</tr></table> |
| 28 |
<div class="refentry"> |
| 29 |
<a name="XfwWindowActionMenu"></a><div class="titlepage"></div> |
| 30 |
<div class="refnamediv"><table width="100%"><tr> |
| 31 |
<td valign="top"> |
| 32 |
<h2><span class="refentrytitle"><a name="XfwWindowActionMenu.top_of_page"></a>XfwWindowActionMenu</span></h2> |
| 33 |
<p>XfwWindowActionMenu — a <span class="type">GtkMenu</span> subclass that lists window actions</p> |
| 34 |
</td> |
| 35 |
<td class="gallery_image" valign="top" align="right"></td> |
| 36 |
</tr></table></div> |
| 37 |
<div class="refsect1"> |
| 38 |
<a name="XfwWindowActionMenu.stability-level"></a><h2>Stability Level</h2> |
| 39 |
<acronym title="Unstable interfaces are experimental or transitional. They are typically used to |
| 40 |
give outside developers early access to new or rapidly changing technology, or |
| 41 |
to provide an interim solution to a problem where a more general solution is |
| 42 |
anticipated. No claims are made about either source or binary compatibility from |
| 43 |
one minor release to the next. |
| 44 |
|
| 45 |
The Unstable interface level is a warning that these interfaces are subject to |
| 46 |
change without warning and should not be used in unbundled products. |
| 47 |
|
| 48 |
Given such caveats, customer impact need not be a factor when considering |
| 49 |
incompatible changes to an Unstable interface in a major or minor release. |
| 50 |
Nonetheless, when such changes are introduced, the changes should still be |
| 51 |
mentioned in the release notes for the affected release. |
| 52 |
"><span class="acronym">Unstable</span></acronym>, unless otherwise indicated |
| 53 |
</div> |
| 54 |
<div class="refsect1"> |
| 55 |
<a name="XfwWindowActionMenu.functions"></a><h2>Functions</h2> |
| 56 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 57 |
<colgroup> |
| 58 |
<col width="150px" class="functions_proto_type"> |
| 59 |
<col class="functions_proto_name"> |
| 60 |
</colgroup> |
| 61 |
<tbody><tr> |
| 62 |
<td class="function_type"> |
| 63 |
<span class="returnvalue">GtkWidget</span> * |
| 64 |
</td> |
| 65 |
<td class="function_name"> |
| 66 |
<a class="link" href="XfwWindowActionMenu.html#xfw-window-action-menu-new" title="xfw_window_action_menu_new ()">xfw_window_action_menu_new</a> <span class="c_punctuation">()</span> |
| 67 |
</td> |
| 68 |
</tr></tbody> |
| 69 |
</table></div> |
| 70 |
</div> |
| 71 |
<div class="refsect1"> |
| 72 |
<a name="XfwWindowActionMenu.properties"></a><h2>Properties</h2> |
| 73 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 74 |
<colgroup> |
| 75 |
<col width="150px" class="properties_type"> |
| 76 |
<col width="300px" class="properties_name"> |
| 77 |
<col width="200px" class="properties_flags"> |
| 78 |
</colgroup> |
| 79 |
<tbody><tr> |
| 80 |
<td class="property_type"> |
| 81 |
<a href="../html/XfwWindow.html#XfwWindow-struct"><span class="type">XfwWindow</span></a> *</td> |
| 82 |
<td class="property_name"><a class="link" href="XfwWindowActionMenu.html#XfwWindowActionMenu--window" title="The “window” property">window</a></td> |
| 83 |
<td class="property_flags">Read / Write / Construct Only</td> |
| 84 |
</tr></tbody> |
| 85 |
</table></div> |
| 86 |
</div> |
| 87 |
<div class="refsect1"> |
| 88 |
<a name="XfwWindowActionMenu.other"></a><h2>Types and Values</h2> |
| 89 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 90 |
<colgroup> |
| 91 |
<col width="150px" class="other_proto_type"> |
| 92 |
<col class="other_proto_name"> |
| 93 |
</colgroup> |
| 94 |
<tbody><tr> |
| 95 |
<td class="datatype_keyword"> </td> |
| 96 |
<td class="function_name"><a class="link" href="XfwWindowActionMenu.html#XfwWindowActionMenu-struct" title="XfwWindowActionMenu">XfwWindowActionMenu</a></td> |
| 97 |
</tr></tbody> |
| 98 |
</table></div> |
| 99 |
</div> |
| 100 |
<div class="refsect1"> |
| 101 |
<a name="XfwWindowActionMenu.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 102 |
<pre class="screen"> GObject |
| 103 |
<span class="lineart">╰──</span> GInitiallyUnowned |
| 104 |
<span class="lineart">╰──</span> GtkWidget |
| 105 |
<span class="lineart">╰──</span> GtkContainer |
| 106 |
<span class="lineart">╰──</span> GtkMenuShell |
| 107 |
<span class="lineart">╰──</span> GtkMenu |
| 108 |
<span class="lineart">╰──</span> XfwWindowActionMenu |
| 109 |
</pre> |
| 110 |
</div> |
| 111 |
<div class="refsect1"> |
| 112 |
<a name="XfwWindowActionMenu.implemented-interfaces"></a><h2>Implemented Interfaces</h2> |
| 113 |
<p> |
| 114 |
XfwWindowActionMenu implements |
| 115 |
AtkImplementorIface and GtkBuildable.</p> |
| 116 |
</div> |
| 117 |
<div class="refsect1"> |
| 118 |
<a name="XfwWindowActionMenu.includes"></a><h2>Includes</h2> |
| 119 |
<pre class="synopsis">#include <libxfce4windowingui/libxfce4windowingui.h> |
| 120 |
</pre> |
| 121 |
</div> |
| 122 |
<div class="refsect1"> |
| 123 |
<a name="XfwWindowActionMenu.description"></a><h2>Description</h2> |
| 124 |
<p><a class="link" href="XfwWindowActionMenu.html" title="XfwWindowActionMenu"><span class="type">XfwWindowActionMenu</span></a> is a <span class="type">GtkMenu</span> that contains actions that can be |
| 125 |
performed on a toplevel window, such as minimizing, maximizing, pinning, |
| 126 |
and moving to another workspace.</p> |
| 127 |
</div> |
| 128 |
<div class="refsect1"> |
| 129 |
<a name="XfwWindowActionMenu.functions_details"></a><h2>Functions</h2> |
| 130 |
<div class="refsect2"> |
| 131 |
<a name="xfw-window-action-menu-new"></a><h3>xfw_window_action_menu_new ()</h3> |
| 132 |
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * |
| 133 |
xfw_window_action_menu_new (<em class="parameter"><code><a href="../html/XfwWindow.html#XfwWindow-struct"><span class="type">XfwWindow</span></a> *window</code></em>);</pre> |
| 134 |
<p>Creates a new window action menu that acts on <em class="parameter"><code>window</code></em> |
| 135 |
.</p> |
| 136 |
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p> |
| 137 |
<div class="refsect3"> |
| 138 |
<a name="xfw-window-action-menu-new.parameters"></a><h4>Parameters</h4> |
| 139 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 140 |
<colgroup> |
| 141 |
<col width="150px" class="parameters_name"> |
| 142 |
<col class="parameters_description"> |
| 143 |
<col width="200px" class="parameters_annotations"> |
| 144 |
</colgroup> |
| 145 |
<tbody><tr> |
| 146 |
<td class="parameter_name"><p>window</p></td> |
| 147 |
<td class="parameter_description"><p>an <a href="../html/XfwWindow.html#XfwWindow-struct"><span class="type">XfwWindow</span></a>. </p></td> |
| 148 |
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>][<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></td> |
| 149 |
</tr></tbody> |
| 150 |
</table></div> |
| 151 |
</div> |
| 152 |
<div class="refsect3"> |
| 153 |
<a name="xfw-window-action-menu-new.returns"></a><h4>Returns</h4> |
| 154 |
<p>a new <a class="link" href="XfwWindowActionMenu.html" title="XfwWindowActionMenu"><span class="type">XfwWindowActionMenu</span></a> |
| 155 |
instance, with a floating reference owned by the caller. </p> |
| 156 |
<p><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>][<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 157 |
</div> |
| 158 |
</div> |
| 159 |
</div> |
| 160 |
<div class="refsect1"> |
| 161 |
<a name="XfwWindowActionMenu.other_details"></a><h2>Types and Values</h2> |
| 162 |
<div class="refsect2"> |
| 163 |
<a name="XfwWindowActionMenu-struct"></a><h3>XfwWindowActionMenu</h3> |
| 164 |
<pre class="programlisting">typedef struct _XfwWindowActionMenu XfwWindowActionMenu;</pre> |
| 165 |
</div> |
| 166 |
</div> |
| 167 |
<div class="refsect1"> |
| 168 |
<a name="XfwWindowActionMenu.property-details"></a><h2>Property Details</h2> |
| 169 |
<div class="refsect2"> |
| 170 |
<a name="XfwWindowActionMenu--window"></a><h3>The <code class="literal">“window”</code> property</h3> |
| 171 |
<pre class="programlisting"> “window” <a href="../html/XfwWindow.html#XfwWindow-struct"><span class="type">XfwWindow</span></a> *</pre> |
| 172 |
<p>The <a href="../html/XfwWindow.html#XfwWindow-struct"><span class="type">XfwWindow</span></a> instance used to create the action menu.</p> |
| 173 |
<p>Owner: XfwWindowActionMenu</p> |
| 174 |
<p>Flags: Read / Write / Construct Only</p> |
| 175 |
</div> |
| 176 |
</div> |
| 177 |
</div> |
| 178 |
<div class="footer"> |
| 179 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 180 |
</body> |
| 181 |
</html> |