Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GcrListSelector: Gcr Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Gcr Library Reference Manual">
<link rel="up" href="widgets.html" title="Part III. Widgets">
<link rel="prev" href="GcrImportButton.html" title="GcrImportButton">
<link rel="next" href="GcrTreeSelector.html" title="GcrTreeSelector">
<meta name="generator" content="GTK-Doc V1.27.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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GcrListSelector.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GcrListSelector.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GcrListSelector.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GcrListSelector.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="widgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GcrImportButton.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GcrTreeSelector.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GcrListSelector"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GcrListSelector.top_of_page"></a>GcrListSelector</span></h2>
<p>GcrListSelector — A selector widget to one or more certificates from a list.</p>
</td>
<td class="gallery_image" valign="top" align="right"><img src="list-selector.png"></td>
</tr></table></div>
<div class="refsect1">
<a name="GcrListSelector.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="returnvalue">GcrListSelector</span></a> *
</td>
<td class="function_name">
<a class="link" href="GcrListSelector.html#gcr-list-selector-new" title="gcr_list_selector_new ()">gcr_list_selector_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GcrCollection.html" title="GcrCollection"><span class="returnvalue">GcrCollection</span></a> *
</td>
<td class="function_name">
<a class="link" href="GcrListSelector.html#gcr-list-selector-get-collection" title="gcr_list_selector_get_collection ()">gcr_list_selector_get_collection</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="GcrListSelector.html#gcr-list-selector-get-selected" title="gcr_list_selector_get_selected ()">gcr_list_selector_get_selected</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GcrListSelector.html#gcr-list-selector-set-selected" title="gcr_list_selector_set_selected ()">gcr_list_selector_set_selected</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GcrListSelector.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody><tr>
<td class="property_type">
<a class="link" href="GcrCollection.html" title="GcrCollection"><span class="type">GcrCollection</span></a> *</td>
<td class="property_name"><a class="link" href="GcrListSelector.html#GcrListSelector--collection" title="The “collection” property">collection</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GcrListSelector.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GcrListSelector.html#GcrListSelector-struct" title="struct GcrListSelector">GcrListSelector</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GcrListSelector.html#GcrListSelectorClass" title="struct GcrListSelectorClass">GcrListSelectorClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GcrListSelector.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> GtkWidget
            <span class="lineart">╰──</span> GtkContainer
                <span class="lineart">╰──</span> GtkTreeView
                    <span class="lineart">╰──</span> GcrListSelector
</pre>
</div>
<div class="refsect1">
<a name="GcrListSelector.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GcrListSelector implements
 AtkImplementorIface,  GtkBuildable and  GtkScrollable.</p>
</div>
<div class="refsect1">
<a name="GcrListSelector.description"></a><h2>Description</h2>
<p>The <a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a> can be used to select one or more certificates or keys.
Live search is available for quick filtering.</p>
</div>
<div class="refsect1">
<a name="GcrListSelector.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gcr-list-selector-new"></a><h3>gcr_list_selector_new ()</h3>
<pre class="programlisting"><a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="returnvalue">GcrListSelector</span></a> *
gcr_list_selector_new (<em class="parameter"><code><a class="link" href="GcrCollection.html" title="GcrCollection"><span class="type">GcrCollection</span></a> *collection</code></em>);</pre>
<p>Create a new <a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a>.</p>
<div class="refsect3">
<a name="gcr-list-selector-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>collection</p></td>
<td class="parameter_description"><p>The collection that contains the objects to display</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gcr-list-selector-new.returns"></a><h4>Returns</h4>
<p>a newly allocated selector, which should be
released with <code class="function">g_object_unref()</code>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gcr-list-selector-get-collection"></a><h3>gcr_list_selector_get_collection ()</h3>
<pre class="programlisting"><a class="link" href="GcrCollection.html" title="GcrCollection"><span class="returnvalue">GcrCollection</span></a> *
gcr_list_selector_get_collection (<em class="parameter"><code><a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a> *self</code></em>);</pre>
<p>Get the collection that this selector is displaying objects from.</p>
<div class="refsect3">
<a name="gcr-list-selector-get-collection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>The selector</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gcr-list-selector-get-collection.returns"></a><h4>Returns</h4>
<p>The collection, owned by the selector. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gcr-list-selector-get-selected"></a><h3>gcr_list_selector_get_selected ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
gcr_list_selector_get_selected (<em class="parameter"><code><a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a> *self</code></em>);</pre>
<p>Get a list of selected objects.</p>
<div class="refsect3">
<a name="gcr-list-selector-get-selected.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>The selector</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gcr-list-selector-get-selected.returns"></a><h4>Returns</h4>
<p>the list of
selected objects, to be released with <code class="function">g_list_free()</code>. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GObject.Object]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gcr-list-selector-set-selected"></a><h3>gcr_list_selector_set_selected ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gcr_list_selector_set_selected (<em class="parameter"><code><a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a> *self</code></em>,
                                <em class="parameter"><code><span class="type">GList</span> *selected</code></em>);</pre>
<p>Select certain objects in the selector.</p>
<div class="refsect3">
<a name="gcr-list-selector-set-selected.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>self</p></td>
<td class="parameter_description"><p>The selector</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>selected</p></td>
<td class="parameter_description"><p>the list of objects to select. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GObject.Object]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GcrListSelector.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GcrListSelector-struct"></a><h3>struct GcrListSelector</h3>
<pre class="programlisting">struct GcrListSelector;</pre>
<p>A list selector widget.</p>
</div>
<hr>
<div class="refsect2">
<a name="GcrListSelectorClass"></a><h3>struct GcrListSelectorClass</h3>
<pre class="programlisting">struct GcrListSelectorClass {
};
</pre>
<p>The class for <a class="link" href="GcrListSelector.html" title="GcrListSelector"><span class="type">GcrListSelector</span></a>.</p>
</div>
</div>
<div class="refsect1">
<a name="GcrListSelector.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GcrListSelector--collection"></a><h3>The <code class="literal">“collection”</code> property</h3>
<pre class="programlisting">  “collection”               <a class="link" href="GcrCollection.html" title="GcrCollection"><span class="type">GcrCollection</span></a> *</pre>
<p>The collection which contains the objects to display in the selector.</p>
<p>Flags: Read / Write / Construct Only</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27.1</div>
</body>
</html>