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/GtkLockButton.html | |
parent | a4460f6d9453bbd7e584937686449cef3e19f052 (diff) |
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkLockButton.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkLockButton.html | 250 |
1 files changed, 0 insertions, 250 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkLockButton.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkLockButton.html deleted file mode 100644 index ecdd0eb..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkLockButton.html +++ /dev/null @@ -1,250 +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>GtkLockButton</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="ButtonWidgets.html" title="Buttons and Toggles"> -<link rel="prev" href="GtkSwitch.html" title="GtkSwitch"> -<link rel="next" href="NumericEntry.html" title="Numeric/Text Data Entry"> -<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="GtkSwitch.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="ButtonWidgets.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="NumericEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkLockButton.synopsis" class="shortcut">Top</a> - | - <a href="#GtkLockButton.description" class="shortcut">Description</a> - | - <a href="#GtkLockButton.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkLockButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkLockButton.properties" class="shortcut">Properties</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkLockButton"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkLockButton.top_of_page"></a>GtkLockButton</span></h2> -<p>GtkLockButton — A widget to unlock or lock privileged operations</p> -</td> -<td valign="top" align="right"><img src="lockbutton.png"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GtkLockButton.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkLockButton.html#GtkLockButton-struct" title="struct GtkLockButton">GtkLockButton</a>; -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkLockButton.html#gtk-lock-button-new" title="gtk_lock_button_new ()">gtk_lock_button_new</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> *permission</code></em>); -<a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="returnvalue">GPermission</span></a> * <a class="link" href="GtkLockButton.html#gtk-lock-button-get-permission" title="gtk_lock_button_get_permission ()">gtk_lock_button_get_permission</a> (<em class="parameter"><code><a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> *button</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkLockButton.html#gtk-lock-button-set-permission" title="gtk_lock_button_set_permission ()">gtk_lock_button_set_permission</a> (<em class="parameter"><code><a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> *button</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> *permission</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkLockButton.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="GtkButton.html" title="GtkButton">GtkButton</a> - +----GtkLockButton -</pre> -</div> -<div class="refsect1"> -<a name="GtkLockButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkLockButton implements - AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a class="link" href="GtkActionable.html" title="GtkActionable">GtkActionable</a> and <a class="link" href="GtkActivatable.html" title="GtkActivatable">GtkActivatable</a>.</p> -</div> -<div class="refsect1"> -<a name="GtkLockButton.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkLockButton.html#GtkLockButton--permission" title='The "permission" property'>permission</a>" <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a>* : Read / Write - "<a class="link" href="GtkLockButton.html#GtkLockButton--text-lock" title='The "text-lock" property'>text-lock</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct - "<a class="link" href="GtkLockButton.html#GtkLockButton--text-unlock" title='The "text-unlock" property'>text-unlock</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct - "<a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-lock" title='The "tooltip-lock" property'>tooltip-lock</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct - "<a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-not-authorized" title='The "tooltip-not-authorized" property'>tooltip-not-authorized</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct - "<a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-unlock" title='The "tooltip-unlock" property'>tooltip-unlock</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct -</pre> -</div> -<div class="refsect1"> -<a name="GtkLockButton.description"></a><h2>Description</h2> -<p> -GtkLockButton is a widget that can be used in control panels or -preference dialogs to allow users to obtain and revoke authorizations -needed to operate the controls. The required authorization is represented -by a <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> object. Concrete implementations of <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> may use -PolicyKit or some other authorization framework. To obtain a PolicyKit-based -<a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a>, use <code class="function">polkit_permission_new()</code>. -</p> -<p> -If the user is not currently allowed to perform the action, but can obtain -the permission, the widget looks like this -</p> -<div class="informalexample"><img src="lockbutton-locked.png"></div> -<p> -and the user can click the button to request the permission. Depending -on the platform, this may pop up an authentication dialog or ask the user -to authenticate in some other way. Once the user has obtained the permission, -the widget changes to this -</p> -<div class="informalexample"><img src="lockbutton-unlocked.png"></div> -<p> -and the permission can be dropped again by clicking the button. If the user -is not able to obtain the permission at all, the widget looks like this -</p> -<div class="informalexample"><img src="lockbutton-sorry.png"></div> -<p> -If the user has the permission and cannot drop it, the button is hidden. -</p> -<p> -The text (and tooltips) that are shown in the various cases can be adjusted -with the <a class="link" href="GtkLockButton.html#GtkLockButton--text-lock" title='The "text-lock" property'><span class="type">"text-lock"</span></a>, <a class="link" href="GtkLockButton.html#GtkLockButton--text-unlock" title='The "text-unlock" property'><span class="type">"text-unlock"</span></a>, -<a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-lock" title='The "tooltip-lock" property'><span class="type">"tooltip-lock"</span></a>, <a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-unlock" title='The "tooltip-unlock" property'><span class="type">"tooltip-unlock"</span></a> and -<a class="link" href="GtkLockButton.html#GtkLockButton--tooltip-not-authorized" title='The "tooltip-not-authorized" property'><span class="type">"tooltip-not-authorized"</span></a> properties. -</p> -</div> -<div class="refsect1"> -<a name="GtkLockButton.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkLockButton-struct"></a><h3>struct GtkLockButton</h3> -<pre class="programlisting">struct GtkLockButton;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-lock-button-new"></a><h3>gtk_lock_button_new ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_lock_button_new (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> *permission</code></em>);</pre> -<p> -Creates a new lock button which reflects the <em class="parameter"><code>permission</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>permission</code></em> :</span></p></td> -<td>a <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</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="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-lock-button-get-permission"></a><h3>gtk_lock_button_get_permission ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="returnvalue">GPermission</span></a> * gtk_lock_button_get_permission (<em class="parameter"><code><a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> *button</code></em>);</pre> -<p> -Obtains the <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> object that controls <em class="parameter"><code>button</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>button</code></em> :</span></p></td> -<td>a <a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> of <em class="parameter"><code>button</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-lock-button-set-permission"></a><h3>gtk_lock_button_set_permission ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_lock_button_set_permission (<em class="parameter"><code><a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> *button</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> *permission</code></em>);</pre> -<p> -Sets the <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> object that controls <em class="parameter"><code>button</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>button</code></em> :</span></p></td> -<td>a <a class="link" href="GtkLockButton.html" title="GtkLockButton"><span class="type">GtkLockButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>permission</code></em> :</span></p></td> -<td>a <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkLockButton.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GtkLockButton--permission"></a><h3>The <code class="literal">"permission"</code> property</h3> -<pre class="programlisting"> "permission" <a href="http://library.gnome.org/devel/gio/unstable/GPermission.html"><span class="type">GPermission</span></a>* : Read / Write</pre> -<p>The GPermission object controlling this button.</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkLockButton--text-lock"></a><h3>The <code class="literal">"text-lock"</code> property</h3> -<pre class="programlisting"> "text-lock" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> -<p>The text to display when prompting the user to lock.</p> -<p>Default value: "Lock"</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkLockButton--text-unlock"></a><h3>The <code class="literal">"text-unlock"</code> property</h3> -<pre class="programlisting"> "text-unlock" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> -<p>The text to display when prompting the user to unlock.</p> -<p>Default value: "Unlock"</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkLockButton--tooltip-lock"></a><h3>The <code class="literal">"tooltip-lock"</code> property</h3> -<pre class="programlisting"> "tooltip-lock" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> -<p>The tooltip to display when prompting the user to lock.</p> -<p>Default value: "Dialog is unlocked.\nClick to prevent further changes"</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkLockButton--tooltip-not-authorized"></a><h3>The <code class="literal">"tooltip-not-authorized"</code> property</h3> -<pre class="programlisting"> "tooltip-not-authorized" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> -<p>The tooltip to display when prompting the user cannot obtain authorization.</p> -<p>Default value: "System policy prevents changes.\nContact your system administrator"</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkLockButton--tooltip-unlock"></a><h3>The <code class="literal">"tooltip-unlock"</code> property</h3> -<pre class="programlisting"> "tooltip-unlock" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct</pre> -<p>The tooltip to display when prompting the user to unlock.</p> -<p>Default value: "Dialog is locked.\nClick to make changes"</p> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |