| 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>BamfControl: libbamf Reference Manual</title> |
| 6 | <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 | <link rel="home" href="index.html" title="libbamf Reference Manual"> |
| 8 | <link rel="up" href="ch01.html" title="Classes"> |
| 9 | <link rel="prev" href="BamfFactory.html" title="BamfFactory"> |
| 10 | <link rel="next" href="BamfTab.html" title="BamfTab"> |
| 11 | <meta name="generator" content="GTK-Doc V1.33.1 (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="#BamfControl.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 | <a href="#BamfControl.object-hierarchy" class="shortcut">Object Hierarchy</a></span> |
| 20 | </td> |
| 21 | <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| 22 | <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 23 | <td><a accesskey="p" href="BamfFactory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 24 | <td><a accesskey="n" href="BamfTab.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 25 | </tr></table> |
| 26 | <div class="refentry"> |
| 27 | <a name="BamfControl"></a><div class="titlepage"></div> |
| 28 | <div class="refnamediv"><table width="100%"><tr> |
| 29 | <td valign="top"> |
| 30 | <h2><span class="refentrytitle"><a name="BamfControl.top_of_page"></a>BamfControl</span></h2> |
| 31 | <p>BamfControl — The base class for all controls</p> |
| 32 | </td> |
| 33 | <td class="gallery_image" valign="top" align="right"></td> |
| 34 | </tr></table></div> |
| 35 | <div class="refsect1"> |
| 36 | <a name="BamfControl.functions"></a><h2>Functions</h2> |
| 37 | <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 38 | <colgroup> |
| 39 | <col width="150px" class="functions_proto_type"> |
| 40 | <col class="functions_proto_name"> |
| 41 | </colgroup> |
| 42 | <tbody> |
| 43 | <tr> |
| 44 | <td class="function_type"> |
| 45 | <a class="link" href="BamfControl.html" title="BamfControl"><span class="returnvalue">BamfControl</span></a> * |
| 46 | </td> |
| 47 | <td class="function_name"> |
| 48 | <a class="link" href="BamfControl.html#bamf-control-get-default" title="bamf_control_get_default ()">bamf_control_get_default</a> <span class="c_punctuation">()</span> |
| 49 | </td> |
| 50 | </tr> |
| 51 | <tr> |
| 52 | <td class="function_type"> |
| 53 | <span class="returnvalue">void</span> |
| 54 | </td> |
| 55 | <td class="function_name"> |
| 56 | <a class="link" href="BamfControl.html#bamf-control-insert-desktop-file" title="bamf_control_insert_desktop_file ()">bamf_control_insert_desktop_file</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="BamfControl.html#bamf-control-create-local-desktop-file" title="bamf_control_create_local_desktop_file ()">bamf_control_create_local_desktop_file</a> <span class="c_punctuation">()</span> |
| 65 | </td> |
| 66 | </tr> |
| 67 | <tr> |
| 68 | <td class="function_type"> |
| 69 | <span class="returnvalue">void</span> |
| 70 | </td> |
| 71 | <td class="function_name"> |
| 72 | <a class="link" href="BamfControl.html#bamf-control-register-application-for-pid" title="bamf_control_register_application_for_pid ()">bamf_control_register_application_for_pid</a> <span class="c_punctuation">()</span> |
| 73 | </td> |
| 74 | </tr> |
| 75 | <tr> |
| 76 | <td class="function_type"> |
| 77 | <span class="returnvalue">void</span> |
| 78 | </td> |
| 79 | <td class="function_name"> |
| 80 | <a class="link" href="BamfControl.html#bamf-control-set-approver-behavior" title="bamf_control_set_approver_behavior ()">bamf_control_set_approver_behavior</a> <span class="c_punctuation">()</span> |
| 81 | </td> |
| 82 | </tr> |
| 83 | </tbody> |
| 84 | </table></div> |
| 85 | </div> |
| 86 | <div class="refsect1"> |
| 87 | <a name="BamfControl.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 88 | <pre class="screen"> GObject |
| 89 | <span class="lineart">╰──</span> BamfControl |
| 90 | </pre> |
| 91 | </div> |
| 92 | <div class="refsect1"> |
| 93 | <a name="BamfControl.description"></a><h2>Description</h2> |
| 94 | <p><a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> is the base class that all controls need to derive from.</p> |
| 95 | </div> |
| 96 | <div class="refsect1"> |
| 97 | <a name="BamfControl.functions_details"></a><h2>Functions</h2> |
| 98 | <div class="refsect2"> |
| 99 | <a name="bamf-control-get-default"></a><h3>bamf_control_get_default ()</h3> |
| 100 | <pre class="programlisting"><a class="link" href="BamfControl.html" title="BamfControl"><span class="returnvalue">BamfControl</span></a> * |
| 101 | bamf_control_get_default (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> |
| 102 | <div class="refsect3"> |
| 103 | <a name="bamf-control-get-default.returns"></a><h4>Returns</h4> |
| 104 | <p>The default <a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> reference. </p> |
| 105 | <p><span class="annotation">[<acronym title="The caller owns the data, and is responsible for free it."><span class="acronym">transfer full</span></acronym>]</span></p> |
| 106 | </div> |
| 107 | </div> |
| 108 | <hr> |
| 109 | <div class="refsect2"> |
| 110 | <a name="bamf-control-insert-desktop-file"></a><h3>bamf_control_insert_desktop_file ()</h3> |
| 111 | <pre class="programlisting"><span class="returnvalue">void</span> |
| 112 | bamf_control_insert_desktop_file (<em class="parameter"><code><a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> *control</code></em>, |
| 113 | <em class="parameter"><code>const <span class="type">gchar</span> *desktop_file</code></em>);</pre> |
| 114 | </div> |
| 115 | <hr> |
| 116 | <div class="refsect2"> |
| 117 | <a name="bamf-control-create-local-desktop-file"></a><h3>bamf_control_create_local_desktop_file ()</h3> |
| 118 | <pre class="programlisting"><span class="returnvalue">void</span> |
| 119 | bamf_control_create_local_desktop_file |
| 120 | (<em class="parameter"><code><a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> *control</code></em>, |
| 121 | <em class="parameter"><code><a class="link" href="BamfApplication.html" title="BamfApplication"><span class="type">BamfApplication</span></a> *application</code></em>);</pre> |
| 122 | </div> |
| 123 | <hr> |
| 124 | <div class="refsect2"> |
| 125 | <a name="bamf-control-register-application-for-pid"></a><h3>bamf_control_register_application_for_pid ()</h3> |
| 126 | <pre class="programlisting"><span class="returnvalue">void</span> |
| 127 | bamf_control_register_application_for_pid |
| 128 | (<em class="parameter"><code><a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> *control</code></em>, |
| 129 | <em class="parameter"><code>const <span class="type">gchar</span> *desktop_file</code></em>, |
| 130 | <em class="parameter"><code><span class="type">gint32</span> pid</code></em>);</pre> |
| 131 | </div> |
| 132 | <hr> |
| 133 | <div class="refsect2"> |
| 134 | <a name="bamf-control-set-approver-behavior"></a><h3>bamf_control_set_approver_behavior ()</h3> |
| 135 | <pre class="programlisting"><span class="returnvalue">void</span> |
| 136 | bamf_control_set_approver_behavior (<em class="parameter"><code><a class="link" href="BamfControl.html" title="BamfControl"><span class="type">BamfControl</span></a> *control</code></em>, |
| 137 | <em class="parameter"><code><span class="type">gint32</span> behavior</code></em>);</pre> |
| 138 | </div> |
| 139 | </div> |
| 140 | </div> |
| 141 | <div class="footer"> |
| 142 | <hr>Generated by GTK-Doc V1.33.1</div> |
| 143 | </body> |
| 144 | </html> |