<?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="GtkSearchBar">
<refmeta>
<refentrytitle role="top_of_page" id="GtkSearchBar.top_of_page">GtkSearchBar</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkSearchBar</refname>
<refpurpose>A toolbar to integrate a search entry with</refpurpose>
</refnamediv>

<refsect1 id="GtkSearchBar.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="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-search-bar-new">gtk_search_bar_new</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-search-bar-set-child">gtk_search_bar_set_child</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-search-bar-get-child">gtk_search_bar_get_child</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-search-bar-connect-entry">gtk_search_bar_connect_entry</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-search-bar-get-search-mode">gtk_search_bar_get_search_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-search-bar-set-search-mode">gtk_search_bar_set_search_mode</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-search-bar-get-show-close-button">gtk_search_bar_get_show_close_button</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-search-bar-set-show-close-button">gtk_search_bar_set_show_close_button</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-search-bar-set-key-capture-widget">gtk_search_bar_set_key_capture_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-search-bar-get-key-capture-widget">gtk_search_bar_get_key_capture_widget</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkSearchBar.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="GtkWidget"><type>GtkWidget</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkSearchBar--child">child</link></entry><entry role="property_flags">Read / Write / Construct</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkSearchBar--search-mode-enabled">search-mode-enabled</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="GtkSearchBar--show-close-button">show-close-button</link></entry><entry role="property_flags">Read / Write / Construct</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkSearchBar.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="GtkSearchBar-struct">GtkSearchBar</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkSearchBar.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="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkSearchBar
</screen>
</refsect1>
<refsect1 id="GtkSearchBar.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkSearchBar implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link>.</para>

</refsect1>

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

<refsect1 id="GtkSearchBar.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> is a container made to have a search entry (possibly
with additional connex widgets, such as drop-down menus, or buttons)
built-in. The search bar would appear when a search is started through
typing on the keyboard, or the application’s search mode is toggled on.</para>
<para>For keyboard presses to start a search, the search bar must be told
of a widget to capture key events from through
<link linkend="gtk-search-bar-set-key-capture-widget"><function>gtk_search_bar_set_key_capture_widget()</function></link>. This widget will typically
be the top-level window, or a parent container of the search bar. Common
shortcuts such as Ctrl+F should be handled as an application action, or
through the menu items.</para>
<para>You will also need to tell the search bar about which entry you
are using as your search entry using <link linkend="gtk-search-bar-connect-entry"><function>gtk_search_bar_connect_entry()</function></link>.
The following example shows you how to create a more complex search
entry.</para>
<refsect2><title>CSS nodes</title><informalexample><programlisting role="example"><![CDATA[
searchbar
╰── revealer
    ╰── box
         ├── [child]
         ╰── [button.close]
]]></programlisting></informalexample>
<para></para>
<para>GtkSearchBar has a main CSS node with name searchbar. It has a child node
with name revealer that contains a node with name box. The box node contains both the
CSS node of the child widget as well as an optional button node which gets the .close
style class applied.</para>
<refsect3><title>Creating a search bar</title><para><ulink url="https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/search-bar.c">A simple example</ulink></para>
</refsect3>
</refsect2>

</refsect1>
<refsect1 id="GtkSearchBar.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-search-bar-new" role="function">
<title>gtk_search_bar_new&#160;()</title>
<indexterm zone="gtk-search-bar-new"><primary>gtk_search_bar_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_search_bar_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link>. You will need to tell it about
which widget is going to be your text entry using
<link linkend="gtk-search-bar-connect-entry"><function>gtk_search_bar_connect_entry()</function></link>.</para>
<refsect3 id="gtk-search-bar-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-set-child" role="function">
<title>gtk_search_bar_set_child&#160;()</title>
<indexterm zone="gtk-search-bar-set-child"><primary>gtk_search_bar_set_child</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_search_bar_set_child (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>,
                          <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
<para>Sets the child widget of <parameter>bar</parameter>
.</para>
<refsect3 id="gtk-search-bar-set-child.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>child</para></entry>
<entry role="parameter_description"><para>the child widget. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-get-child" role="function">
<title>gtk_search_bar_get_child&#160;()</title>
<indexterm zone="gtk-search-bar-get-child"><primary>gtk_search_bar_get_child</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_search_bar_get_child (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>);</programlisting>
<para>Gets the child widget of <parameter>bar</parameter>
.</para>
<refsect3 id="gtk-search-bar-get-child.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-search-bar-get-child.returns" role="returns">
<title>Returns</title>
<para>the child widget of <parameter>bar</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-connect-entry" role="function">
<title>gtk_search_bar_connect_entry&#160;()</title>
<indexterm zone="gtk-search-bar-connect-entry"><primary>gtk_search_bar_connect_entry</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_search_bar_connect_entry (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>,
                              <parameter><link linkend="GtkEditable"><type>GtkEditable</type></link> *entry</parameter>);</programlisting>
<para>Connects the <link linkend="GtkEntry"><type>GtkEntry</type></link> widget passed as the one to be used in
this search bar. The entry should be a descendant of the search bar.
This is only required if the entry isn’t the direct child of the
search bar (as in our main example).</para>
<refsect3 id="gtk-search-bar-connect-entry.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>entry</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkEditable"><type>GtkEditable</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-get-search-mode" role="function">
<title>gtk_search_bar_get_search_mode&#160;()</title>
<indexterm zone="gtk-search-bar-get-search-mode"><primary>gtk_search_bar_get_search_mode</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_search_bar_get_search_mode (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>);</programlisting>
<para>Returns whether the search mode is on or off.</para>
<refsect3 id="gtk-search-bar-get-search-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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-search-bar-get-search-mode.returns" role="returns">
<title>Returns</title>
<para> whether search mode is toggled on</para>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-set-search-mode" role="function">
<title>gtk_search_bar_set_search_mode&#160;()</title>
<indexterm zone="gtk-search-bar-set-search-mode"><primary>gtk_search_bar_set_search_mode</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_search_bar_set_search_mode (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> search_mode</parameter>);</programlisting>
<para>Switches the search mode on or off.</para>
<refsect3 id="gtk-search-bar-set-search-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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>search_mode</para></entry>
<entry role="parameter_description"><para>the new state of the search mode</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-get-show-close-button" role="function">
<title>gtk_search_bar_get_show_close_button&#160;()</title>
<indexterm zone="gtk-search-bar-get-show-close-button"><primary>gtk_search_bar_get_show_close_button</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_search_bar_get_show_close_button (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>);</programlisting>
<para>Returns whether the close button is shown.</para>
<refsect3 id="gtk-search-bar-get-show-close-button.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-search-bar-get-show-close-button.returns" role="returns">
<title>Returns</title>
<para> whether the close button is shown</para>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-set-show-close-button" role="function">
<title>gtk_search_bar_set_show_close_button&#160;()</title>
<indexterm zone="gtk-search-bar-set-show-close-button"><primary>gtk_search_bar_set_show_close_button</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_search_bar_set_show_close_button (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>,
                                      <parameter><link linkend="gboolean"><type>gboolean</type></link> visible</parameter>);</programlisting>
<para>Shows or hides the close button. Applications that
already have a “search” toggle button should not show a close
button in their search bar, as it duplicates the role of the
toggle button.</para>
<refsect3 id="gtk-search-bar-set-show-close-button.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>visible</para></entry>
<entry role="parameter_description"><para>whether the close button will be shown or not</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-set-key-capture-widget" role="function">
<title>gtk_search_bar_set_key_capture_widget&#160;()</title>
<indexterm zone="gtk-search-bar-set-key-capture-widget"><primary>gtk_search_bar_set_key_capture_widget</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_search_bar_set_key_capture_widget (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>,
                                       <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *widget</parameter>);</programlisting>
<para>Sets <parameter>widget</parameter>
 as the widget that <parameter>bar</parameter>
 will capture key events from.</para>
<para>If key events are handled by the search bar, the bar will
be shown, and the entry populated with the entered text.</para>
<refsect3 id="gtk-search-bar-set-key-capture-widget.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>widget</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkWidget"><type>GtkWidget</type></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-search-bar-get-key-capture-widget" role="function">
<title>gtk_search_bar_get_key_capture_widget&#160;()</title>
<indexterm zone="gtk-search-bar-get-key-capture-widget"><primary>gtk_search_bar_get_key_capture_widget</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_search_bar_get_key_capture_widget (<parameter><link linkend="GtkSearchBar"><type>GtkSearchBar</type></link> *bar</parameter>);</programlisting>
<para>Gets the widget that <parameter>bar</parameter>
 is capturing key events from.</para>
<refsect3 id="gtk-search-bar-get-key-capture-widget.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>bar</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkSearchBar"><type>GtkSearchBar</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-search-bar-get-key-capture-widget.returns" role="returns">
<title>Returns</title>
<para>The key capture widget. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkSearchBar.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkSearchBar-struct" role="struct">
<title>GtkSearchBar</title>
<indexterm zone="GtkSearchBar-struct"><primary>GtkSearchBar</primary></indexterm>
<programlisting language="C">typedef struct _GtkSearchBar GtkSearchBar;</programlisting>
</refsect2>

</refsect1>
<refsect1 id="GtkSearchBar.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkSearchBar--child" role="property"><title>The <literal>“child”</literal> property</title>
<indexterm zone="GtkSearchBar--child"><primary>GtkSearchBar:child</primary></indexterm>
<programlisting>  “child”                    <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>The child widget.</para><para>Owner: GtkSearchBar</para>
<para>Flags: Read / Write / Construct</para>
</refsect2>
<refsect2 id="GtkSearchBar--search-mode-enabled" role="property"><title>The <literal>“search-mode-enabled”</literal> property</title>
<indexterm zone="GtkSearchBar--search-mode-enabled"><primary>GtkSearchBar:search-mode-enabled</primary></indexterm>
<programlisting>  “search-mode-enabled”      <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether the search mode is on and the search bar shown.</para>
<para>See <link linkend="gtk-search-bar-set-search-mode"><function>gtk_search_bar_set_search_mode()</function></link> for details.</para>
<para>Owner: GtkSearchBar</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSearchBar--show-close-button" role="property"><title>The <literal>“show-close-button”</literal> property</title>
<indexterm zone="GtkSearchBar--show-close-button"><primary>GtkSearchBar:show-close-button</primary></indexterm>
<programlisting>  “show-close-button”        <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether to show the close button in the search bar.</para>
<para>Owner: GtkSearchBar</para>
<para>Flags: Read / Write / Construct</para>
<para>Default value: FALSE</para>
</refsect2>

</refsect1>

</refentry>
