| 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>GarconMenuItemAction: garcon Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="garcon Reference Manual"> |
| 8 |
<link rel="up" href="garcon-menus.html" title="Part II. Menus and Menu Items"> |
| 9 |
<link rel="prev" href="garcon-garcon-menu-item-pool.html" title="garcon-menu-item-pool"> |
| 10 |
<link rel="next" href="GarconMenuSeparator.html" title="GarconMenuSeparator"> |
| 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="#GarconMenuItemAction.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#GarconMenuItemAction.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> |
| 20 |
<a href="#GarconMenuItemAction.properties" class="shortcut">Properties</a></span> |
| 21 |
</td> |
| 22 |
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 23 |
<td><a accesskey="u" href="garcon-menus.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 24 |
<td><a accesskey="p" href="garcon-garcon-menu-item-pool.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 25 |
<td><a accesskey="n" href="GarconMenuSeparator.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 26 |
</tr></table> |
| 27 |
<div class="refentry"> |
| 28 |
<a name="GarconMenuItemAction"></a><div class="titlepage"></div> |
| 29 |
<div class="refnamediv"><table width="100%"><tr> |
| 30 |
<td valign="top"> |
| 31 |
<h2><span class="refentrytitle"><a name="GarconMenuItemAction.top_of_page"></a>GarconMenuItemAction</span></h2> |
| 32 |
<p>GarconMenuItemAction</p> |
| 33 |
</td> |
| 34 |
<td class="gallery_image" valign="top" align="right"></td> |
| 35 |
</tr></table></div> |
| 36 |
<div class="refsect1"> |
| 37 |
<a name="GarconMenuItemAction.functions"></a><h2>Functions</h2> |
| 38 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 39 |
<colgroup> |
| 40 |
<col width="150px" class="functions_proto_type"> |
| 41 |
<col class="functions_proto_name"> |
| 42 |
</colgroup> |
| 43 |
<tbody> |
| 44 |
<tr> |
| 45 |
<td class="function_type"> |
| 46 |
<a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="returnvalue">GarconMenuItemAction</span></a> * |
| 47 |
</td> |
| 48 |
<td class="function_name"> |
| 49 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-new" title="garcon_menu_item_action_new ()">garcon_menu_item_action_new</a> <span class="c_punctuation">()</span> |
| 50 |
</td> |
| 51 |
</tr> |
| 52 |
<tr> |
| 53 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 54 |
</td> |
| 55 |
<td class="function_name"> |
| 56 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-get-command" title="garcon_menu_item_action_get_command ()">garcon_menu_item_action_get_command</a> <span class="c_punctuation">()</span> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td class="function_type"> |
| 61 |
<span class="returnvalue">void</span> |
| 62 |
</td> |
| 63 |
<td class="function_name"> |
| 64 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-set-command" title="garcon_menu_item_action_set_command ()">garcon_menu_item_action_set_command</a> <span class="c_punctuation">()</span> |
| 65 |
</td> |
| 66 |
</tr> |
| 67 |
<tr> |
| 68 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 69 |
</td> |
| 70 |
<td class="function_name"> |
| 71 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-get-name" title="garcon_menu_item_action_get_name ()">garcon_menu_item_action_get_name</a> <span class="c_punctuation">()</span> |
| 72 |
</td> |
| 73 |
</tr> |
| 74 |
<tr> |
| 75 |
<td class="function_type"> |
| 76 |
<span class="returnvalue">void</span> |
| 77 |
</td> |
| 78 |
<td class="function_name"> |
| 79 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-set-name" title="garcon_menu_item_action_set_name ()">garcon_menu_item_action_set_name</a> <span class="c_punctuation">()</span> |
| 80 |
</td> |
| 81 |
</tr> |
| 82 |
<tr> |
| 83 |
<td class="function_type">const <span class="returnvalue">gchar</span> * |
| 84 |
</td> |
| 85 |
<td class="function_name"> |
| 86 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-get-icon-name" title="garcon_menu_item_action_get_icon_name ()">garcon_menu_item_action_get_icon_name</a> <span class="c_punctuation">()</span> |
| 87 |
</td> |
| 88 |
</tr> |
| 89 |
<tr> |
| 90 |
<td class="function_type"> |
| 91 |
<span class="returnvalue">void</span> |
| 92 |
</td> |
| 93 |
<td class="function_name"> |
| 94 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-set-icon-name" title="garcon_menu_item_action_set_icon_name ()">garcon_menu_item_action_set_icon_name</a> <span class="c_punctuation">()</span> |
| 95 |
</td> |
| 96 |
</tr> |
| 97 |
<tr> |
| 98 |
<td class="function_type"> |
| 99 |
<span class="returnvalue">void</span> |
| 100 |
</td> |
| 101 |
<td class="function_name"> |
| 102 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-ref" title="garcon_menu_item_action_ref ()">garcon_menu_item_action_ref</a> <span class="c_punctuation">()</span> |
| 103 |
</td> |
| 104 |
</tr> |
| 105 |
<tr> |
| 106 |
<td class="function_type"> |
| 107 |
<span class="returnvalue">void</span> |
| 108 |
</td> |
| 109 |
<td class="function_name"> |
| 110 |
<a class="link" href="GarconMenuItemAction.html#garcon-menu-item-action-unref" title="garcon_menu_item_action_unref ()">garcon_menu_item_action_unref</a> <span class="c_punctuation">()</span> |
| 111 |
</td> |
| 112 |
</tr> |
| 113 |
</tbody> |
| 114 |
</table></div> |
| 115 |
</div> |
| 116 |
<div class="refsect1"> |
| 117 |
<a name="GarconMenuItemAction.properties"></a><h2>Properties</h2> |
| 118 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 119 |
<colgroup> |
| 120 |
<col width="150px" class="properties_type"> |
| 121 |
<col width="300px" class="properties_name"> |
| 122 |
<col width="200px" class="properties_flags"> |
| 123 |
</colgroup> |
| 124 |
<tbody> |
| 125 |
<tr> |
| 126 |
<td class="property_type"> |
| 127 |
<span class="type">char</span> *</td> |
| 128 |
<td class="property_name"><a class="link" href="GarconMenuItemAction.html#GarconMenuItemAction--command" title="The “command” property">command</a></td> |
| 129 |
<td class="property_flags">Read / Write</td> |
| 130 |
</tr> |
| 131 |
<tr> |
| 132 |
<td class="property_type"> |
| 133 |
<span class="type">char</span> *</td> |
| 134 |
<td class="property_name"><a class="link" href="GarconMenuItemAction.html#GarconMenuItemAction--icon-name" title="The “icon-name” property">icon-name</a></td> |
| 135 |
<td class="property_flags">Read / Write</td> |
| 136 |
</tr> |
| 137 |
<tr> |
| 138 |
<td class="property_type"> |
| 139 |
<span class="type">char</span> *</td> |
| 140 |
<td class="property_name"><a class="link" href="GarconMenuItemAction.html#GarconMenuItemAction--name" title="The “name” property">name</a></td> |
| 141 |
<td class="property_flags">Read / Write</td> |
| 142 |
</tr> |
| 143 |
</tbody> |
| 144 |
</table></div> |
| 145 |
</div> |
| 146 |
<div class="refsect1"> |
| 147 |
<a name="GarconMenuItemAction.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 148 |
<pre class="screen"> GObject |
| 149 |
<span class="lineart">╰──</span> GarconMenuItemAction |
| 150 |
</pre> |
| 151 |
</div> |
| 152 |
<div class="refsect1"> |
| 153 |
<a name="GarconMenuItemAction.description"></a><h2>Description</h2> |
| 154 |
</div> |
| 155 |
<div class="refsect1"> |
| 156 |
<a name="GarconMenuItemAction.functions_details"></a><h2>Functions</h2> |
| 157 |
<div class="refsect2"> |
| 158 |
<a name="garcon-menu-item-action-new"></a><h3>garcon_menu_item_action_new ()</h3> |
| 159 |
<pre class="programlisting"><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="returnvalue">GarconMenuItemAction</span></a> * |
| 160 |
garcon_menu_item_action_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 161 |
</div> |
| 162 |
<hr> |
| 163 |
<div class="refsect2"> |
| 164 |
<a name="garcon-menu-item-action-get-command"></a><h3>garcon_menu_item_action_get_command ()</h3> |
| 165 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 166 |
garcon_menu_item_action_get_command (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 167 |
</div> |
| 168 |
<hr> |
| 169 |
<div class="refsect2"> |
| 170 |
<a name="garcon-menu-item-action-set-command"></a><h3>garcon_menu_item_action_set_command ()</h3> |
| 171 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 172 |
garcon_menu_item_action_set_command (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>, |
| 173 |
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);</pre> |
| 174 |
</div> |
| 175 |
<hr> |
| 176 |
<div class="refsect2"> |
| 177 |
<a name="garcon-menu-item-action-get-name"></a><h3>garcon_menu_item_action_get_name ()</h3> |
| 178 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 179 |
garcon_menu_item_action_get_name (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 180 |
</div> |
| 181 |
<hr> |
| 182 |
<div class="refsect2"> |
| 183 |
<a name="garcon-menu-item-action-set-name"></a><h3>garcon_menu_item_action_set_name ()</h3> |
| 184 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 185 |
garcon_menu_item_action_set_name (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>, |
| 186 |
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre> |
| 187 |
</div> |
| 188 |
<hr> |
| 189 |
<div class="refsect2"> |
| 190 |
<a name="garcon-menu-item-action-get-icon-name"></a><h3>garcon_menu_item_action_get_icon_name ()</h3> |
| 191 |
<pre class="programlisting">const <span class="returnvalue">gchar</span> * |
| 192 |
garcon_menu_item_action_get_icon_name (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 193 |
</div> |
| 194 |
<hr> |
| 195 |
<div class="refsect2"> |
| 196 |
<a name="garcon-menu-item-action-set-icon-name"></a><h3>garcon_menu_item_action_set_icon_name ()</h3> |
| 197 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 198 |
garcon_menu_item_action_set_icon_name (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>, |
| 199 |
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre> |
| 200 |
</div> |
| 201 |
<hr> |
| 202 |
<div class="refsect2"> |
| 203 |
<a name="garcon-menu-item-action-ref"></a><h3>garcon_menu_item_action_ref ()</h3> |
| 204 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 205 |
garcon_menu_item_action_ref (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 206 |
</div> |
| 207 |
<hr> |
| 208 |
<div class="refsect2"> |
| 209 |
<a name="garcon-menu-item-action-unref"></a><h3>garcon_menu_item_action_unref ()</h3> |
| 210 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 211 |
garcon_menu_item_action_unref (<em class="parameter"><code><a class="link" href="GarconMenuItemAction.html" title="GarconMenuItemAction"><span class="type">GarconMenuItemAction</span></a> *action</code></em>);</pre> |
| 212 |
</div> |
| 213 |
</div> |
| 214 |
<div class="refsect1"> |
| 215 |
<a name="GarconMenuItemAction.property-details"></a><h2>Property Details</h2> |
| 216 |
<div class="refsect2"> |
| 217 |
<a name="GarconMenuItemAction--command"></a><h3>The <code class="literal">“command”</code> property</h3> |
| 218 |
<pre class="programlisting"> “command” <span class="type">char</span> *</pre> |
| 219 |
<p>Command to be executed when the application action is clicked.</p> |
| 220 |
<p>Owner: GarconMenuItemAction</p> |
| 221 |
<p>Flags: Read / Write</p> |
| 222 |
<p>Default value: NULL</p> |
| 223 |
</div> |
| 224 |
<hr> |
| 225 |
<div class="refsect2"> |
| 226 |
<a name="GarconMenuItemAction--icon-name"></a><h3>The <code class="literal">“icon-name”</code> property</h3> |
| 227 |
<pre class="programlisting"> “icon-name” <span class="type">char</span> *</pre> |
| 228 |
<p>Name of the custom icon associated with this action.</p> |
| 229 |
<p>Owner: GarconMenuItemAction</p> |
| 230 |
<p>Flags: Read / Write</p> |
| 231 |
<p>Default value: NULL</p> |
| 232 |
</div> |
| 233 |
<hr> |
| 234 |
<div class="refsect2"> |
| 235 |
<a name="GarconMenuItemAction--name"></a><h3>The <code class="literal">“name”</code> property</h3> |
| 236 |
<pre class="programlisting"> “name” <span class="type">char</span> *</pre> |
| 237 |
<p>Name of the application action (will be displayed in menus etc.).</p> |
| 238 |
<p>Owner: GarconMenuItemAction</p> |
| 239 |
<p>Flags: Read / Write</p> |
| 240 |
<p>Default value: NULL</p> |
| 241 |
</div> |
| 242 |
</div> |
| 243 |
</div> |
| 244 |
<div class="footer"> |
| 245 |
<hr>Generated by GTK-Doc V1.34.0</div> |
| 246 |
</body> |
| 247 |
</html> |