1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GcrSelector</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="Gcr Library Reference Manual">
8
<link rel="up" href="widgets.html" title="Part III. ">
9
<link rel="prev" href="gcr-GcrColumn.html" title="GcrColumn">
10
<link rel="next" href="gcr-GcrRenderer.html" title="GcrRenderer">
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
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="2">
17
<td><a accesskey="p" href="gcr-GcrColumn.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="widgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">Gcr Library Reference Manual</th>
21
<td><a accesskey="n" href="gcr-GcrRenderer.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#gcr-GcrSelector.synopsis" class="shortcut">Top</a>
26
<a href="#gcr-GcrSelector.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="gcr-GcrSelector"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="gcr-GcrSelector.top_of_page"></a>GcrSelector</span></h2>
34
<p>GcrSelector — A selector widget to select certificates or keys.</p>
36
<td valign="top" align="right"></td>
38
<div class="refsynopsisdiv">
39
<a name="gcr-GcrSelector.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis"> <a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector">GcrSelector</a>;
41
<a class="link" href="gcr-GcrSelector.html#GcrSelectorClass" title="GcrSelectorClass">GcrSelectorClass</a>;
42
enum <a class="link" href="gcr-GcrSelector.html#GcrSelectorMode" title="enum GcrSelectorMode">GcrSelectorMode</a>;
43
<a class="link" href="gcr-GcrCollection.html#GcrCollection" title="GcrCollection"><span class="returnvalue">GcrCollection</span></a> * <a class="link" href="gcr-GcrSelector.html#gcr-selector-get-collection" title="gcr_selector_get_collection ()">gcr_selector_get_collection</a> (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);
44
const <a class="link" href="gcr-GcrColumn.html#GcrColumn" title="GcrColumn"><span class="returnvalue">GcrColumn</span></a> * <a class="link" href="gcr-GcrSelector.html#gcr-selector-get-columns" title="gcr_selector_get_columns ()">gcr_selector_get_columns</a> (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);
45
<a class="link" href="gcr-GcrSelector.html#GcrSelectorMode" title="enum GcrSelectorMode"><span class="returnvalue">GcrSelectorMode</span></a> <a class="link" href="gcr-GcrSelector.html#gcr-selector-get-mode" title="gcr_selector_get_mode ()">gcr_selector_get_mode</a> (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);
46
<a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="returnvalue">GcrSelector</span></a> * <a class="link" href="gcr-GcrSelector.html#gcr-selector-new" title="gcr_selector_new ()">gcr_selector_new</a> (<em class="parameter"><code><a class="link" href="gcr-GcrCollection.html#GcrCollection" title="GcrCollection"><span class="type">GcrCollection</span></a> *collection</code></em>,
47
<em class="parameter"><code>const <a class="link" href="gcr-GcrColumn.html#GcrColumn" title="GcrColumn"><span class="type">GcrColumn</span></a> *columns</code></em>,
48
<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelectorMode" title="enum GcrSelectorMode"><span class="type">GcrSelectorMode</span></a> mode</code></em>);
51
<div class="refsect1">
52
<a name="gcr-GcrSelector.description"></a><h2>Description</h2>
54
The <a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> can be used to select certificates or keys. The selector
55
comes in one of two modes: <a class="link" href="gcr-GcrSelector.html#GCR-SELECTOR-MODE-SINGLE:CAPS"><code class="literal">GCR_SELECTOR_MODE_SINGLE</code></a> and
56
<a class="link" href="gcr-GcrSelector.html#GCR-SELECTOR-MODE-MULTIPLE:CAPS"><code class="literal">GCR_SELECTOR_MODE_MULTIPLE</code></a>. The single selector mode allows the user to
57
select one object at a time, and the multiple selector allows the user
58
to select multiple objects from a list.
61
<div class="refsect1">
62
<a name="gcr-GcrSelector.details"></a><h2>Details</h2>
63
<div class="refsect2">
64
<a name="GcrSelector"></a><h3>GcrSelector</h3>
65
<pre class="programlisting">typedef struct _GcrSelector GcrSelector;</pre>
71
<div class="refsect2">
72
<a name="GcrSelectorClass"></a><h3>GcrSelectorClass</h3>
73
<pre class="programlisting">typedef struct _GcrSelectorClass GcrSelectorClass;</pre>
75
The class for <a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a>.
79
<div class="refsect2">
80
<a name="GcrSelectorMode"></a><h3>enum GcrSelectorMode</h3>
81
<pre class="programlisting">typedef enum _GcrSelectorMode {
82
GCR_SELECTOR_MODE_SINGLE = 1,
83
GCR_SELECTOR_MODE_MULTIPLE
87
The mode for the selector.
89
<div class="variablelist"><table border="0">
90
<col align="left" valign="top">
93
<td><p><a name="GCR-SELECTOR-MODE-SINGLE:CAPS"></a><span class="term"><code class="literal">GCR_SELECTOR_MODE_SINGLE</code></span></p></td>
94
<td>User can select a single object.
98
<td><p><a name="GCR-SELECTOR-MODE-MULTIPLE:CAPS"></a><span class="term"><code class="literal">GCR_SELECTOR_MODE_MULTIPLE</code></span></p></td>
99
<td>The user can select multiple objects.
106
<div class="refsect2">
107
<a name="gcr-selector-get-collection"></a><h3>gcr_selector_get_collection ()</h3>
108
<pre class="programlisting"><a class="link" href="gcr-GcrCollection.html#GcrCollection" title="GcrCollection"><span class="returnvalue">GcrCollection</span></a> * gcr_selector_get_collection (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);</pre>
110
Get the collection that this selector is displaying objects from.
112
<div class="variablelist"><table border="0">
113
<col align="left" valign="top">
116
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
117
<td>The selector</td>
120
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
121
<td>The collection, owned by the selector.</td>
127
<div class="refsect2">
128
<a name="gcr-selector-get-columns"></a><h3>gcr_selector_get_columns ()</h3>
129
<pre class="programlisting">const <a class="link" href="gcr-GcrColumn.html#GcrColumn" title="GcrColumn"><span class="returnvalue">GcrColumn</span></a> * gcr_selector_get_columns (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);</pre>
131
Get the columns displayed in a selector in multiple mode.
133
<div class="variablelist"><table border="0">
134
<col align="left" valign="top">
137
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
138
<td>The selector</td>
141
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
142
<td>The columns, owned by the selector.</td>
148
<div class="refsect2">
149
<a name="gcr-selector-get-mode"></a><h3>gcr_selector_get_mode ()</h3>
150
<pre class="programlisting"><a class="link" href="gcr-GcrSelector.html#GcrSelectorMode" title="enum GcrSelectorMode"><span class="returnvalue">GcrSelectorMode</span></a> gcr_selector_get_mode (<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a> *self</code></em>);</pre>
152
Get the mode of the selector, whether single or multiple selection.
154
<div class="variablelist"><table border="0">
155
<col align="left" valign="top">
158
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
159
<td>The selector</td>
162
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
163
<td>The mode of the selector.</td>
169
<div class="refsect2">
170
<a name="gcr-selector-new"></a><h3>gcr_selector_new ()</h3>
171
<pre class="programlisting"><a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="returnvalue">GcrSelector</span></a> * gcr_selector_new (<em class="parameter"><code><a class="link" href="gcr-GcrCollection.html#GcrCollection" title="GcrCollection"><span class="type">GcrCollection</span></a> *collection</code></em>,
172
<em class="parameter"><code>const <a class="link" href="gcr-GcrColumn.html#GcrColumn" title="GcrColumn"><span class="type">GcrColumn</span></a> *columns</code></em>,
173
<em class="parameter"><code><a class="link" href="gcr-GcrSelector.html#GcrSelectorMode" title="enum GcrSelectorMode"><span class="type">GcrSelectorMode</span></a> mode</code></em>);</pre>
175
Create a new <a class="link" href="gcr-GcrSelector.html#GcrSelector" title="GcrSelector"><span class="type">GcrSelector</span></a>.
177
<div class="variablelist"><table border="0">
178
<col align="left" valign="top">
181
<td><p><span class="term"><em class="parameter"><code>collection</code></em> :</span></p></td>
182
<td>The collection that contains the objects to display</td>
185
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
186
<td>The columns to use to display the objects</td>
189
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
190
<td>The mode of the selector</td>
193
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
194
<td>A newly allocated selector, which should be released with
195
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</td>
204
Generated by GTK-Doc V1.17</div>
b'\\ No newline at end of file'