diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
commit | 63e87c2d0c9d263f14c77b68f85c67d46ece82a9 (patch) | |
tree | 6260365cbf7d24f37d27669e8538227fcb72e243 /gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html | |
parent | a4460f6d9453bbd7e584937686449cef3e19f052 (diff) |
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html | 348 |
1 files changed, 0 insertions, 348 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html deleted file mode 100644 index 4a4725c..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkMenuBar.html +++ /dev/null @@ -1,348 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GtkMenuBar</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GTK+ 3 Reference Manual"> -<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar"> -<link rel="prev" href="GtkMenu.html" title="GtkMenu"> -<link rel="next" href="GtkMenuItem.html" title="GtkMenuItem"> -<meta name="generator" content="GTK-Doc V1.18.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="GtkMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="MenusAndCombos.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">GTK+ 3 Reference Manual</th> -<td><a accesskey="n" href="GtkMenuItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkMenuBar.synopsis" class="shortcut">Top</a> - | - <a href="#GtkMenuBar.description" class="shortcut">Description</a> - | - <a href="#GtkMenuBar.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkMenuBar.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkMenuBar.properties" class="shortcut">Properties</a> - | - <a href="#GtkMenuBar.style-properties" class="shortcut">Style Properties</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkMenuBar"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkMenuBar.top_of_page"></a>GtkMenuBar</span></h2> -<p>GtkMenuBar — A subclass of GtkMenuShell which holds GtkMenuItem widgets</p> -</td> -<td valign="top" align="right"><img src="menubar.png"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GtkMenuBar.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkMenuBar.html#GtkMenuBar-struct" title="struct GtkMenuBar">GtkMenuBar</a>; -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuBar.html#gtk-menu-bar-new" title="gtk_menu_bar_new ()">gtk_menu_bar_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkMenuBar.html#gtk-menu-bar-new-from-model" title="gtk_menu_bar_new_from_model ()">gtk_menu_bar_new_from_model</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GMenuModel.html"><span class="type">GMenuModel</span></a> *model</code></em>); -enum <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection">GtkPackDirection</a>; -<span class="returnvalue">void</span> <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title="gtk_menu_bar_set_pack_direction ()">gtk_menu_bar_set_pack_direction</a> (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>, - <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> pack_dir</code></em>); -<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a> <a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-pack-direction" title="gtk_menu_bar_get_pack_direction ()">gtk_menu_bar_get_pack_direction</a> (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction" title="gtk_menu_bar_set_child_pack_direction ()">gtk_menu_bar_set_child_pack_direction</a> - (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>, - <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> child_pack_dir</code></em>); -<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a> <a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-child-pack-direction" title="gtk_menu_bar_get_child_pack_direction ()">gtk_menu_bar_get_child_pack_direction</a> - (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.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> - +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> - +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> - +----<a class="link" href="GtkMenuShell.html" title="GtkMenuShell">GtkMenuShell</a> - +----GtkMenuBar -</pre> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkMenuBar implements - AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkMenuBar.html#GtkMenuBar--child-pack-direction" title='The "child-pack-direction" property'>child-pack-direction</a>" <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> : Read / Write - "<a class="link" href="GtkMenuBar.html#GtkMenuBar--pack-direction" title='The "pack-direction" property'>pack-direction</a>" <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> : Read / Write -</pre> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.style-properties"></a><h2>Style Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-internal-padding" title='The "internal-padding" style property'>internal-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read - "<a class="link" href="GtkMenuBar.html#GtkMenuBar--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read -</pre> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.description"></a><h2>Description</h2> -<p> -The <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> is a subclass of <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> which contains one or -more <a href="GtkMenuItem.html"><span class="type">GtkMenuItems</span></a>. The result is a standard menu bar which can hold -many menu items. -</p> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkMenuBar-struct"></a><h3>struct GtkMenuBar</h3> -<pre class="programlisting">struct GtkMenuBar;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-new"></a><h3>gtk_menu_bar_new ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_bar_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the new menu bar, as a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-new-from-model"></a><h3>gtk_menu_bar_new_from_model ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_menu_bar_new_from_model (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GMenuModel.html"><span class="type">GMenuModel</span></a> *model</code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> and populates it with menu items -and submenus according to <em class="parameter"><code>model</code></em>. -</p> -<p> -The created menu items are connected to actions found in the -<a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> to which the menu bar belongs - typically -by means of being contained within the <a href="GtkApplicationWindow.html"><span class="type">GtkApplicationWindows</span></a> -widget hierarchy. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>a <a href="http://library.gnome.org/devel/gio/unstable/GMenuModel.html"><span class="type">GMenuModel</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkPackDirection"></a><h3>enum GtkPackDirection</h3> -<pre class="programlisting">typedef enum { - GTK_PACK_DIRECTION_LTR, - GTK_PACK_DIRECTION_RTL, - GTK_PACK_DIRECTION_TTB, - GTK_PACK_DIRECTION_BTT -} GtkPackDirection; -</pre> -<p> -Determines how widgets should be packed insided menubars -and menuitems contained in menubars. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="GTK-PACK-DIRECTION-LTR:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_LTR</code></span></p></td> -<td>Widgets are packed left-to-right -</td> -</tr> -<tr> -<td><p><a name="GTK-PACK-DIRECTION-RTL:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_RTL</code></span></p></td> -<td>Widgets are packed right-to-left -</td> -</tr> -<tr> -<td><p><a name="GTK-PACK-DIRECTION-TTB:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_TTB</code></span></p></td> -<td>Widgets are packed top-to-bottom -</td> -</tr> -<tr> -<td><p><a name="GTK-PACK-DIRECTION-BTT:CAPS"></a><span class="term"><code class="literal">GTK_PACK_DIRECTION_BTT</code></span></p></td> -<td>Widgets are packed bottom-to-top -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-set-pack-direction"></a><h3>gtk_menu_bar_set_pack_direction ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_bar_set_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>, - <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> pack_dir</code></em>);</pre> -<p> -Sets how items should be packed inside a menubar. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td> -<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pack_dir</code></em> :</span></p></td> -<td>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-get-pack-direction"></a><h3>gtk_menu_bar_get_pack_direction ()</h3> -<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a> gtk_menu_bar_get_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre> -<p> -Retrieves the current pack direction of the menubar. -See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title="gtk_menu_bar_set_pack_direction ()"><code class="function">gtk_menu_bar_set_pack_direction()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td> -<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the pack direction</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-set-child-pack-direction"></a><h3>gtk_menu_bar_set_child_pack_direction ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_menu_bar_set_child_pack_direction - (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>, - <em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> child_pack_dir</code></em>);</pre> -<p> -Sets how widgets should be packed inside the children of a menubar. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td> -<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>child_pack_dir</code></em> :</span></p></td> -<td>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-menu-bar-get-child-pack-direction"></a><h3>gtk_menu_bar_get_child_pack_direction ()</h3> -<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a> gtk_menu_bar_get_child_pack_direction - (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre> -<p> -Retrieves the current child pack direction of the menubar. -See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction" title="gtk_menu_bar_set_child_pack_direction ()"><code class="function">gtk_menu_bar_set_child_pack_direction()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>menubar</code></em> :</span></p></td> -<td>a <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the child pack direction</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GtkMenuBar--child-pack-direction"></a><h3>The <code class="literal">"child-pack-direction"</code> property</h3> -<pre class="programlisting"> "child-pack-direction" <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> : Read / Write</pre> -<p> -The child pack direction of the menubar. It determines how -the widgets contained in child menuitems are arranged. -</p> -<p>Default value: GTK_PACK_DIRECTION_LTR</p> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkMenuBar--pack-direction"></a><h3>The <code class="literal">"pack-direction"</code> property</h3> -<pre class="programlisting"> "pack-direction" <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> : Read / Write</pre> -<p> -The pack direction of the menubar. It determines how -menuitems are arranged in the menubar. -</p> -<p>Default value: GTK_PACK_DIRECTION_LTR</p> -<p class="since">Since 2.8</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.style-property-details"></a><h2>Style Property Details</h2> -<div class="refsect2"> -<a name="GtkMenuBar--s-internal-padding"></a><h3>The <code class="literal">"internal-padding"</code> style property</h3> -<pre class="programlisting"> "internal-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre> -<p>Amount of border space between the menubar shadow and the menu items.</p> -<p>Allowed values: >= 0</p> -<p>Default value: 1</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkMenuBar--s-shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> style property</h3> -<pre class="programlisting"> "shadow-type" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read</pre> -<p>Style of bevel around the menubar.</p> -<p>Default value: GTK_SHADOW_OUT</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkMenuBar.see-also"></a><h2>See Also</h2> -<a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a>, <a class="link" href="GtkMenu.html" title="GtkMenu"><span class="type">GtkMenu</span></a>, <a class="link" href="GtkMenuItem.html" title="GtkMenuItem"><span class="type">GtkMenuItem</span></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |