summaryrefslogtreecommitdiff
path: root/gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2018-08-20 21:12:06 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2018-08-20 21:12:06 -0400
commit63e87c2d0c9d263f14c77b68f85c67d46ece82a9 (patch)
tree6260365cbf7d24f37d27669e8538227fcb72e243 /gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html
parenta4460f6d9453bbd7e584937686449cef3e19f052 (diff)
Removed gtk+ docsHEADmaster
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html')
-rw-r--r--gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html334
1 files changed, 0 insertions, 334 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html
deleted file mode 100644
index ba0e41a..0000000
--- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkApplicationWindow.html
+++ /dev/null
@@ -1,334 +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>GtkApplicationWindow</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="Application.html" title="Application support">
-<link rel="prev" href="GtkApplication.html" title="GtkApplication">
-<link rel="next" href="GtkActionable.html" title="GtkActionable">
-<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="GtkApplication.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="Application.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="GtkActionable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr>
-<tr><td colspan="5" class="shortcuts">
-<a href="#GtkApplicationWindow.synopsis" class="shortcut">Top</a>
-  | 
- <a href="#GtkApplicationWindow.description" class="shortcut">Description</a>
-  | 
- <a href="#GtkApplicationWindow.object-hierarchy" class="shortcut">Object Hierarchy</a>
-  | 
- <a href="#GtkApplicationWindow.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
-  | 
- <a href="#GtkApplicationWindow.properties" class="shortcut">Properties</a>
-</td></tr>
-</table>
-<div class="refentry">
-<a name="GtkApplicationWindow"></a><div class="titlepage"></div>
-<div class="refnamediv"><table width="100%"><tr>
-<td valign="top">
-<h2><span class="refentrytitle"><a name="GtkApplicationWindow.top_of_page"></a>GtkApplicationWindow</span></h2>
-<p>GtkApplicationWindow — GtkWindow subclass with GtkApplication support</p>
-</td>
-<td valign="top" align="right"></td>
-</tr></table></div>
-<div class="refsynopsisdiv">
-<a name="GtkApplicationWindow.synopsis"></a><h2>Synopsis</h2>
-<pre class="synopsis">
-#include &lt;gtk/gtk.h&gt;
-
-struct <a class="link" href="GtkApplicationWindow.html#GtkApplicationWindow-struct" title="struct GtkApplicationWindow">GtkApplicationWindow</a>;
-<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkApplicationWindow.html#gtk-application-window-new" title="gtk_application_window_new ()">gtk_application_window_new</a> (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);
-<span class="returnvalue">void</span> <a class="link" href="GtkApplicationWindow.html#gtk-application-window-set-show-menubar" title="gtk_application_window_set_show_menubar ()">gtk_application_window_set_show_menubar</a>
- (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_menubar</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkApplicationWindow.html#gtk-application-window-get-show-menubar" title="gtk_application_window_get_show_menubar ()">gtk_application_window_get_show_menubar</a>
- (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>);
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkApplicationWindow.html#gtk-application-window-get-id" title="gtk_application_window_get_id ()">gtk_application_window_get_id</a> (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>);
-</pre>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.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="GtkBin.html" title="GtkBin">GtkBin</a>
- +----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
- +----GtkApplicationWindow
-</pre>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
-<p>
-GtkApplicationWindow implements
- AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a href="http://library.gnome.org/devel/gio/unstable/GActionGroup.html">GActionGroup</a> and <a href="http://library.gnome.org/devel/gio/unstable/GActionMap.html">GActionMap</a>.</p>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.properties"></a><h2>Properties</h2>
-<pre class="synopsis">
- "<a class="link" href="GtkApplicationWindow.html#GtkApplicationWindow--show-menubar" title='The "show-menubar" property'>show-menubar</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
-</pre>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.description"></a><h2>Description</h2>
-<p>
-GtkApplicationWindow is a <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> subclass that offers some
-extra functionality for better integration with <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>
-features. Notably, it can handle both the application menu as well
-as the menubar. See <a class="link" href="GtkApplication.html#gtk-application-set-app-menu" title="gtk_application_set_app_menu ()"><code class="function">gtk_application_set_app_menu()</code></a> and
-<a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>.
-</p>
-<p>
-This class implements the <a href="http://library.gnome.org/devel/gio/unstable/GActionGroup.html"><span class="type">GActionGroup</span></a> and <a href="http://library.gnome.org/devel/gio/unstable/GActionMap.html"><span class="type">GActionMap</span></a> interfaces,
-to let you add window-specific actions that will be exported by the
-associated <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>, together with its application-wide
-actions. Window-specific actions are prefixed with the "win."
-prefix and application-wide actions are prefixed with the "app."
-prefix. Actions must be addressed with the prefixed name when
-referring to them from a <a href="http://library.gnome.org/devel/gio/unstable/GMenuModel.html"><span class="type">GMenuModel</span></a>.
-</p>
-<p>
-Note that widgets that are placed inside a GtkApplicationWindow
-can also activate these actions, if they implement the
-GtkActionable interface.
-</p>
-<p>
-As with <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>, the GDK lock will be acquired when
-processing actions arriving from other processes and should therefore
-be held when activating actions locally (if GDK threads are enabled).
-</p>
-<p>
-The settings <a class="link" href="GtkSettings.html#GtkSettings--gtk-shell-shows-app-menu" title='The "gtk-shell-shows-app-menu" property'><span class="type">"gtk-shell-shows-app-menu"</span></a> and
-<a class="link" href="GtkSettings.html#GtkSettings--gtk-shell-shows-menubar" title='The "gtk-shell-shows-menubar" property'><span class="type">"gtk-shell-shows-menubar"</span></a> tell GTK+ whether the
-desktop environment is showing the application menu and menubar
-models outside the application as part of the desktop shell.
-For instance, on OS X, both menus will be displayed remotely;
-on Windows neither will be. gnome-shell (starting with version 3.4)
-will display the application menu, but not the menubar.
-</p>
-<p>
-If the desktop environment does not display the menubar, then
-<span class="type">GApplicationWindow</span> will automatically show a <span class="type">GtkMenubar</span> for it.
-(see the <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> docs for some screenshots of how this
-looks on different platforms).
-This behaviour can be overridden with the <a class="link" href="GtkApplicationWindow.html#GtkApplicationWindow--show-menubar" title='The "show-menubar" property'><span class="type">"show-menubar"</span></a>
-property. If the desktop environment does not display the application
-menu, then it will automatically be included in the menubar.
-</p>
-<p>
-</p>
-<div class="example">
-<a name="id1374097"></a><p class="title"><b>Example 111. A GtkApplicationWindow with a menubar</b></p>
-<div class="example-contents">
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
- <tbody>
- <tr>
- <td class="listing_lines" align="right"><pre>1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19</pre></td>
- <td class="listing_code"><pre class="programlisting"><span class="normal">app </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-new">gtk_application_new</a></span><span class="normal"> </span><span class="symbol">();</span>
-
-<span class="normal">builder </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkBuilder.html#gtk-builder-new">gtk_builder_new</a></span><span class="normal"> </span><span class="symbol">();</span>
-<span class="function"><a href="GtkBuilder.html#gtk-builder-add-from-string">gtk_builder_add_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span>
-<span class="normal"> </span><span class="string">"&lt;interface&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;menu id='menubar'&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;submenu label='_Edit'&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;item label='_Copy' action='win.copy'/&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;item label='_Paste' action='win.paste'/&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;/submenu&gt;"</span>
-<span class="normal"> </span><span class="string">" &lt;/menu&gt;"</span>
-<span class="normal"> </span><span class="string">"&lt;/interface&gt;"</span><span class="symbol">);</span>
-<span class="function"><a href="GtkApplication.html#gtk-application-set-menubar">gtk_application_set_menubar</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span>
-<span class="normal"> </span><span class="function">G_MENU_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkBuilder.html#gtk-builder-get-object">gtk_builder_get_object</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"menubar"</span><span class="symbol">)));</span>
-<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">builder</span><span class="symbol">);</span>
-
-<span class="symbol">...</span>
-
-<span class="normal">window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplicationWindow.html#gtk-application-window-new">gtk_application_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span></pre></td>
- </tr>
- </tbody>
- </table>
-</div>
-
-</div>
-<p><br class="example-break">
-</p>
-<p>
-The XML format understood by <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a> for <a href="http://library.gnome.org/devel/gio/unstable/GMenuModel.html"><span class="type">GMenuModel</span></a> consists
-of a toplevel <code class="sgmltag-starttag">&lt;menu&gt;</code> element, which contains
-one or more <code class="sgmltag-starttag">&lt;item&gt;</code> elements. Each
-<code class="sgmltag-starttag">&lt;item&gt;</code> element contains
-<code class="sgmltag-starttag">&lt;attribute&gt;</code> and <code class="sgmltag-starttag">&lt;link&gt;</code>
-elements with a mandatory name attribute.
-<code class="sgmltag-starttag">&lt;link&gt;</code> elements have the same content
-model as <code class="sgmltag-starttag">&lt;menu&gt;</code>.
-</p>
-<p>
-Attribute values can be translated using gettext, like other <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a>
-content. <code class="sgmltag-starttag">&lt;attribute&gt;</code> elements can be marked for
-translation with a <code class="literal">translatable="yes"</code> attribute.
-It is also possible to specify message context and translator comments,
-using the context and comments attributes. To make use of this, the
-<a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a> must have been given the gettext domain to use.
-</p>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.details"></a><h2>Details</h2>
-<div class="refsect2">
-<a name="GtkApplicationWindow-struct"></a><h3>struct GtkApplicationWindow</h3>
-<pre class="programlisting">struct GtkApplicationWindow;</pre>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gtk-application-window-new"></a><h3>gtk_application_window_new ()</h3>
-<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_application_window_new (<em class="parameter"><code><a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a> *application</code></em>);</pre>
-<p>
-Creates a new <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>.
-</p>
-<div class="variablelist"><table border="0">
-<col align="left" valign="top">
-<tbody>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
-<td>a <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>
-</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="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>
-</td>
-</tr>
-</tbody>
-</table></div>
-<p class="since">Since 3.4</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gtk-application-window-set-show-menubar"></a><h3>gtk_application_window_set_show_menubar ()</h3>
-<pre class="programlisting"><span class="returnvalue">void</span> gtk_application_window_set_show_menubar
- (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>,
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_menubar</code></em>);</pre>
-<p>
-Sets whether the window will display a menubar for the app menu
-and menubar as needed.
-</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>a <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><em class="parameter"><code>show_menubar</code></em> :</span></p></td>
-<td>whether to show a menubar when needed</td>
-</tr>
-</tbody>
-</table></div>
-<p class="since">Since 3.4</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gtk-application-window-get-show-menubar"></a><h3>gtk_application_window_get_show_menubar ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_application_window_get_show_menubar
- (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>);</pre>
-<p>
-Returns whether the window will display a menubar for the app menu
-and menubar as needed.
-</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>a <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>
-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>window</code></em> will display a menubar when needed</td>
-</tr>
-</tbody>
-</table></div>
-<p class="since">Since 3.4</p>
-</div>
-<hr>
-<div class="refsect2">
-<a name="gtk-application-window-get-id"></a><h3>gtk_application_window_get_id ()</h3>
-<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_application_window_get_id (<em class="parameter"><code><a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> *window</code></em>);</pre>
-<p>
-Returns the unique ID of the window. If the window has not yet been added to
-a <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>, returns <code class="literal">0</code>.
-</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>a <a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a>
-</td>
-</tr>
-<tr>
-<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
-<td>the unique ID for <em class="parameter"><code>window</code></em>, or <code class="literal">0</code> if the window
-has not yet been added to a <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>
-</td>
-</tr>
-</tbody>
-</table></div>
-<p class="since">Since 3.6</p>
-</div>
-</div>
-<div class="refsect1">
-<a name="GtkApplicationWindow.property-details"></a><h2>Property Details</h2>
-<div class="refsect2">
-<a name="GtkApplicationWindow--show-menubar"></a><h3>The <code class="literal">"show-menubar"</code> property</h3>
-<pre class="programlisting"> "show-menubar" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
-<p>
-If this property is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the window will display a menubar
-that includes the app menu and menubar, unless these are
-shown by the desktop shell. See <a class="link" href="GtkApplication.html#gtk-application-set-app-menu" title="gtk_application_set_app_menu ()"><code class="function">gtk_application_set_app_menu()</code></a>
-and <a class="link" href="GtkApplication.html#gtk-application-set-menubar" title="gtk_application_set_menubar ()"><code class="function">gtk_application_set_menubar()</code></a>.
-</p>
-<p>
-If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the window will not display a menubar, regardless
-of whether the desktop shell is showing the menus or not.
-</p>
-<p>Default value: TRUE</p>
-</div>
-</div>
-</div>
-<div class="footer">
-<hr>
- Generated by GTK-Doc V1.18.1</div>
-</body>
-</html> \ No newline at end of file