<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkStringFilter">
<refmeta>
<refentrytitle role="top_of_page" id="GtkStringFilter.top_of_page">GtkStringFilter</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkStringFilter</refname>
<refpurpose>Filtering by strings</refpurpose>
</refnamediv>

<refsect1 id="GtkStringFilter.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkStringFilter"><returnvalue>GtkStringFilter</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-string-filter-new">gtk_string_filter_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-string-filter-get-search">gtk_string_filter_get_search</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-set-search">gtk_string_filter_set_search</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkExpression"><returnvalue>GtkExpression</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-string-filter-get-expression">gtk_string_filter_get_expression</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-set-expression">gtk_string_filter_set_expression</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-get-ignore-case">gtk_string_filter_get_ignore_case</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-set-ignore-case">gtk_string_filter_set_ignore_case</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkStringFilterMatchMode"><returnvalue>GtkStringFilterMatchMode</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-get-match-mode">gtk_string_filter_get_match_mode</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-string-filter-set-match-mode">gtk_string_filter_set_match_mode</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkStringFilter.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="GtkExpression"><type>GtkExpression</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkStringFilter--expression">expression</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkStringFilter--ignore-case">ignore-case</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkStringFilterMatchMode"><type>GtkStringFilterMatchMode</type></link></entry><entry role="property_name"><link linkend="GtkStringFilter--match-mode">match-mode</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="char"><type>char</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkStringFilter--search">search</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkStringFilter.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkStringFilter-struct">GtkStringFilter</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="GtkStringFilterMatchMode">GtkStringFilterMatchMode</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkStringFilter.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkFilter">GtkFilter</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkStringFilter
</screen>
</refsect1>

<refsect1 id="GtkStringFilter.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkStringFilter.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkStringFilter determines whether to include items by looking
at strings and comparing them to a fixed search term. The strings
are obtained from the items by evaluating a <link linkend="GtkExpression"><type>GtkExpression</type></link>.</para>
<para>GtkStringFilter has several different modes of comparison - it
can match the whole string, just a prefix, or any substring.</para>

</refsect1>
<refsect1 id="GtkStringFilter.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-string-filter-new" role="function">
<title>gtk_string_filter_new&#160;()</title>
<indexterm zone="gtk-string-filter-new"><primary>gtk_string_filter_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkStringFilter"><returnvalue>GtkStringFilter</returnvalue></link>&#160;*
gtk_string_filter_new (<parameter><link linkend="GtkExpression"><type>GtkExpression</type></link> *expression</parameter>);</programlisting>
<para>Creates a new string filter.</para>
<para>You will want to set up the filter by providing a string to search for
and by providing a property to look up on the item.</para>
<refsect3 id="gtk-string-filter-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>The expression to evaluate
or <link linkend="NULL:CAPS"><literal>NULL</literal></link> for none. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>transfer full</acronym>][<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-string-filter-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-get-search" role="function">
<title>gtk_string_filter_get_search&#160;()</title>
<indexterm zone="gtk-string-filter-get-search"><primary>gtk_string_filter_get_search</primary></indexterm>
<programlisting language="C">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
gtk_string_filter_get_search (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>);</programlisting>
<para>Gets the search string set via <link linkend="gtk-string-filter-set-search"><function>gtk_string_filter_set_search()</function></link>.</para>
<refsect3 id="gtk-string-filter-get-search.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-string-filter-get-search.returns" role="returns">
<title>Returns</title>
<para>The search string. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-set-search" role="function">
<title>gtk_string_filter_set_search&#160;()</title>
<indexterm zone="gtk-string-filter-set-search"><primary>gtk_string_filter_set_search</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_string_filter_set_search (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>,
                              <parameter>const <link linkend="char"><type>char</type></link> *search</parameter>);</programlisting>
<para>Sets the string to search for.</para>
<refsect3 id="gtk-string-filter-set-search.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>search</para></entry>
<entry role="parameter_description"><para>The string to search for
or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to clear the search. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>transfer none</acronym>][<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-get-expression" role="function">
<title>gtk_string_filter_get_expression&#160;()</title>
<indexterm zone="gtk-string-filter-get-expression"><primary>gtk_string_filter_get_expression</primary></indexterm>
<programlisting language="C"><link linkend="GtkExpression"><returnvalue>GtkExpression</returnvalue></link>&#160;*
gtk_string_filter_get_expression (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>);</programlisting>
<para>Gets the expression that the string filter uses to
obtain strings from items.</para>
<refsect3 id="gtk-string-filter-get-expression.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-string-filter-get-expression.returns" role="returns">
<title>Returns</title>
<para>a <link linkend="GtkExpression"><type>GtkExpression</type></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-set-expression" role="function">
<title>gtk_string_filter_set_expression&#160;()</title>
<indexterm zone="gtk-string-filter-set-expression"><primary>gtk_string_filter_set_expression</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_string_filter_set_expression (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>,
                                  <parameter><link linkend="GtkExpression"><type>GtkExpression</type></link> *expression</parameter>);</programlisting>
<para>Sets the expression that the string filter uses to
obtain strings from items. The expression must have
a value type of <link linkend="G-TYPE-STRING:CAPS"><type>G_TYPE_STRING</type></link>.</para>
<refsect3 id="gtk-string-filter-set-expression.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expression</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkExpression"><type>GtkExpression</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-get-ignore-case" role="function">
<title>gtk_string_filter_get_ignore_case&#160;()</title>
<indexterm zone="gtk-string-filter-get-ignore-case"><primary>gtk_string_filter_get_ignore_case</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_string_filter_get_ignore_case (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>);</programlisting>
<para>Returns whether the filter ignores case differences.</para>
<refsect3 id="gtk-string-filter-get-ignore-case.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-string-filter-get-ignore-case.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the filter ignores case</para>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-set-ignore-case" role="function">
<title>gtk_string_filter_set_ignore_case&#160;()</title>
<indexterm zone="gtk-string-filter-set-ignore-case"><primary>gtk_string_filter_set_ignore_case</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_string_filter_set_ignore_case (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>,
                                   <parameter><link linkend="gboolean"><type>gboolean</type></link> ignore_case</parameter>);</programlisting>
<para>Sets whether the filter ignores case differences.</para>
<refsect3 id="gtk-string-filter-set-ignore-case.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>ignore_case</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to ignore case</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-get-match-mode" role="function">
<title>gtk_string_filter_get_match_mode&#160;()</title>
<indexterm zone="gtk-string-filter-get-match-mode"><primary>gtk_string_filter_get_match_mode</primary></indexterm>
<programlisting language="C"><link linkend="GtkStringFilterMatchMode"><returnvalue>GtkStringFilterMatchMode</returnvalue></link>
gtk_string_filter_get_match_mode (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>);</programlisting>
<para>Returns the match mode that the filter is using.</para>
<refsect3 id="gtk-string-filter-get-match-mode.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-string-filter-get-match-mode.returns" role="returns">
<title>Returns</title>
<para> the match mode of the filter</para>
</refsect3></refsect2>
<refsect2 id="gtk-string-filter-set-match-mode" role="function">
<title>gtk_string_filter_set_match_mode&#160;()</title>
<indexterm zone="gtk-string-filter-set-match-mode"><primary>gtk_string_filter_set_match_mode</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_string_filter_set_match_mode (<parameter><link linkend="GtkStringFilter"><type>GtkStringFilter</type></link> *self</parameter>,
                                  <parameter><link linkend="GtkStringFilterMatchMode"><type>GtkStringFilterMatchMode</type></link> mode</parameter>);</programlisting>
<para>Sets the match mode for the filter.</para>
<refsect3 id="gtk-string-filter-set-match-mode.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkStringFilter"><type>GtkStringFilter</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>mode</para></entry>
<entry role="parameter_description"><para>the new match mode</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkStringFilter.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkStringFilter-struct" role="struct">
<title>GtkStringFilter</title>
<indexterm zone="GtkStringFilter-struct"><primary>GtkStringFilter</primary></indexterm>
<programlisting language="C">typedef struct _GtkStringFilter GtkStringFilter;</programlisting>
</refsect2>
<refsect2 id="GtkStringFilterMatchMode" role="enum">
<title>enum GtkStringFilterMatchMode</title>
<indexterm zone="GtkStringFilterMatchMode"><primary>GtkStringFilterMatchMode</primary></indexterm>
<para>Specifies how search strings are matched inside text.</para>
<refsect3 id="GtkStringFilterMatchMode.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="GTK-STRING-FILTER-MATCH-MODE-EXACT:CAPS">GTK_STRING_FILTER_MATCH_MODE_EXACT</para></entry>
<entry role="enum_member_description"><para>The search string and
text must match exactly.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-STRING-FILTER-MATCH-MODE-SUBSTRING:CAPS">GTK_STRING_FILTER_MATCH_MODE_SUBSTRING</para></entry>
<entry role="enum_member_description"><para>The search string
must be contained as a substring inside the text.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-STRING-FILTER-MATCH-MODE-PREFIX:CAPS">GTK_STRING_FILTER_MATCH_MODE_PREFIX</para></entry>
<entry role="enum_member_description"><para>The text must begin
with the search string.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkStringFilter.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkStringFilter--expression" role="property"><title>The <literal>“expression”</literal> property</title>
<indexterm zone="GtkStringFilter--expression"><primary>GtkStringFilter:expression</primary></indexterm>
<programlisting>  “expression”               <link linkend="GtkExpression"><type>GtkExpression</type></link>&#160;*</programlisting>
<para>The expression to evaluate on item to get a string to compare with</para>

<para><emphasis role="annotation">[<acronym>type</acronym> GtkExpression]</emphasis></para><para>Owner: GtkStringFilter</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkStringFilter--ignore-case" role="property"><title>The <literal>“ignore-case”</literal> property</title>
<indexterm zone="GtkStringFilter--ignore-case"><primary>GtkStringFilter:ignore-case</primary></indexterm>
<programlisting>  “ignore-case”              <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If matching is case sensitive</para>
<para>Owner: GtkStringFilter</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GtkStringFilter--match-mode" role="property"><title>The <literal>“match-mode”</literal> property</title>
<indexterm zone="GtkStringFilter--match-mode"><primary>GtkStringFilter:match-mode</primary></indexterm>
<programlisting>  “match-mode”               <link linkend="GtkStringFilterMatchMode"><type>GtkStringFilterMatchMode</type></link></programlisting>
<para>If exact matches are necessary or if substrings are allowed</para>
<para>Owner: GtkStringFilter</para>
<para>Flags: Read / Write</para>
<para>Default value: GTK_STRING_FILTER_MATCH_MODE_SUBSTRING</para>
</refsect2>
<refsect2 id="GtkStringFilter--search" role="property"><title>The <literal>“search”</literal> property</title>
<indexterm zone="GtkStringFilter--search"><primary>GtkStringFilter:search</primary></indexterm>
<programlisting>  “search”                   <link linkend="char"><type>char</type></link>&#160;*</programlisting>
<para>The search term</para>
<para>Owner: GtkStringFilter</para>
<para>Flags: Read / Write</para>
<para>Default value: NULL</para>
</refsect2>

</refsect1>

</refentry>
