<?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="GtkListItem">
<refmeta>
<refentrytitle role="top_of_page" id="GtkListItem.top_of_page">GtkListItem</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkListItem</refname>
<refpurpose>Object used to represent items of a list model</refpurpose>
</refnamediv>

<refsect1 id="GtkListItem.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="gpointer"><returnvalue>gpointer</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-list-item-get-item">gtk_list_item_get_item</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="guint"><returnvalue>guint</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-list-item-get-position">gtk_list_item_get_position</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-list-item-get-child">gtk_list_item_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-list-item-set-child">gtk_list_item_set_child</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-list-item-get-selected">gtk_list_item_get_selected</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-list-item-get-selectable">gtk_list_item_get_selectable</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-list-item-set-selectable">gtk_list_item_set_selectable</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-list-item-get-activatable">gtk_list_item_get_activatable</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-list-item-set-activatable">gtk_list_item_set_activatable</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkListItem.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="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkListItem--activatable">activatable</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkListItem--child">child</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GObject"><type>GObject</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkListItem--item">item</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="guint"><type>guint</type></link></entry><entry role="property_name"><link linkend="GtkListItem--position">position</link></entry><entry role="property_flags">Read</entry></row>
<row><entry role="property_type"><link linkend="gboolean"><type>gboolean</type></link></entry><entry role="property_name"><link linkend="GtkListItem--selectable">selectable</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="GtkListItem--selected">selected</link></entry><entry role="property_flags">Read</entry></row>

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

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkListItem.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> GtkListItem
</screen>
</refsect1>

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

<refsect1 id="GtkListItem.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GtkListItem"><type>GtkListItem</type></link> is the object that list-handling containers such
as <link linkend="GtkListView"><type>GtkListView</type></link> use to represent items in a <link linkend="GListModel"><type>GListModel</type></link>. They are
managed by the container and cannot be created by application code.</para>
<para><link linkend="GtkListItems"><type>GtkListItems</type></link> need to be populated by application code. This is done by
calling <link linkend="gtk-list-item-set-child"><function>gtk_list_item_set_child()</function></link>.</para>
<para><link linkend="GtkListItems"><type>GtkListItems</type></link> exist in 2 stages:</para>
<orderedlist>
<listitem>
<para>The unbound stage where the listitem is not currently connected to
an item in the list. In that case, the <link linkend="GtkListItem--item"><type>“item”</type></link> property is
set to <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para>
</listitem>
<listitem><para>The bound stage where the listitem references an item from the list.
The <link linkend="GtkListItem--item"><type>“item”</type></link> property is not <link linkend="NULL:CAPS"><literal>NULL</literal></link>.</para></listitem>
</orderedlist>

</refsect1>
<refsect1 id="GtkListItem.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-list-item-get-item" role="function">
<title>gtk_list_item_get_item&#160;()</title>
<indexterm zone="gtk-list-item-get-item"><primary>gtk_list_item_get_item</primary></indexterm>
<programlisting language="C"><link linkend="gpointer"><returnvalue>gpointer</returnvalue></link>
gtk_list_item_get_item (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Gets the item that is currently displayed in model that <parameter>self</parameter>
 is
currently bound to or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if <parameter>self</parameter>
 is unbound.</para>
<refsect3 id="gtk-list-item-get-item.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-item.returns" role="returns">
<title>Returns</title>
<para>The item displayed. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>][<acronym>type</acronym> GObject]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-get-position" role="function">
<title>gtk_list_item_get_position&#160;()</title>
<indexterm zone="gtk-list-item-get-position"><primary>gtk_list_item_get_position</primary></indexterm>
<programlisting language="C"><link linkend="guint"><returnvalue>guint</returnvalue></link>
gtk_list_item_get_position (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Gets the position in the model that <parameter>self</parameter>
 currently displays.
If <parameter>self</parameter>
 is unbound, <link linkend="GTK-INVALID-LIST-POSITION:CAPS"><literal>GTK_INVALID_LIST_POSITION</literal></link> is returned.</para>
<refsect3 id="gtk-list-item-get-position.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-position.returns" role="returns">
<title>Returns</title>
<para> The position of this item</para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-get-child" role="function">
<title>gtk_list_item_get_child&#160;()</title>
<indexterm zone="gtk-list-item-get-child"><primary>gtk_list_item_get_child</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_list_item_get_child (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Gets the child previously set via <link linkend="gtk-list-item-set-child"><function>gtk_list_item_set_child()</function></link> or
<link linkend="NULL:CAPS"><literal>NULL</literal></link> if none was set.</para>
<refsect3 id="gtk-list-item-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>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-child.returns" role="returns">
<title>Returns</title>
<para>The child. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>][<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-set-child" role="function">
<title>gtk_list_item_set_child&#160;()</title>
<indexterm zone="gtk-list-item-set-child"><primary>gtk_list_item_set_child</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_list_item_set_child (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>,
                         <parameter><link linkend="GtkWidget"><type>GtkWidget</type></link> *child</parameter>);</programlisting>
<para>Sets the child to be used for this listitem.</para>
<para>This function is typically called by applications when
setting up a listitem so that the widget can be reused when
binding it multiple times.</para>
<refsect3 id="gtk-list-item-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>self</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkListItem"><type>GtkListItem</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 list item's child or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to unset. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-get-selected" role="function">
<title>gtk_list_item_get_selected&#160;()</title>
<indexterm zone="gtk-list-item-get-selected"><primary>gtk_list_item_get_selected</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_list_item_get_selected (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Checks if the item is displayed as selected. The selected state is
maintained by the container and its list model and cannot be set
otherwise.</para>
<refsect3 id="gtk-list-item-get-selected.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-selected.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the item is selected.</para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-get-selectable" role="function">
<title>gtk_list_item_get_selectable&#160;()</title>
<indexterm zone="gtk-list-item-get-selectable"><primary>gtk_list_item_get_selectable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_list_item_get_selectable (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Checks if a list item has been set to be selectable via
<link linkend="gtk-list-item-set-selectable"><function>gtk_list_item_set_selectable()</function></link>.</para>
<para>Do not confuse this function with <link linkend="gtk-list-item-get-selected"><function>gtk_list_item_get_selected()</function></link>.</para>
<refsect3 id="gtk-list-item-get-selectable.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-selectable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the item is selectable</para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-set-selectable" role="function">
<title>gtk_list_item_set_selectable&#160;()</title>
<indexterm zone="gtk-list-item-set-selectable"><primary>gtk_list_item_set_selectable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_list_item_set_selectable (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>,
                              <parameter><link linkend="gboolean"><type>gboolean</type></link> selectable</parameter>);</programlisting>
<para>Sets <parameter>self</parameter>
 to be selectable. If an item is selectable, clicking
on the item or using the keyboard will try to select or unselect
the item. If this succeeds is up to the model to determine, as
it is managing the selected state.</para>
<para>Note that this means that making an item non-selectable has no
influence on the selected state at all. A non-selectable item 
may still be selected.</para>
<para>By default, list items are selectable. When rebinding them to
a new item, they will also be reset to be selectable by GTK.</para>
<refsect3 id="gtk-list-item-set-selectable.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>selectable</para></entry>
<entry role="parameter_description"><para>if the item should be selectable</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-get-activatable" role="function">
<title>gtk_list_item_get_activatable&#160;()</title>
<indexterm zone="gtk-list-item-get-activatable"><primary>gtk_list_item_get_activatable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_list_item_get_activatable (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>);</programlisting>
<para>Checks if a list item has been set to be activatable via
<link linkend="gtk-list-item-set-activatable"><function>gtk_list_item_set_activatable()</function></link>.</para>
<refsect3 id="gtk-list-item-get-activatable.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-list-item-get-activatable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the item is activatable</para>
</refsect3></refsect2>
<refsect2 id="gtk-list-item-set-activatable" role="function">
<title>gtk_list_item_set_activatable&#160;()</title>
<indexterm zone="gtk-list-item-set-activatable"><primary>gtk_list_item_set_activatable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_list_item_set_activatable (<parameter><link linkend="GtkListItem"><type>GtkListItem</type></link> *self</parameter>,
                               <parameter><link linkend="gboolean"><type>gboolean</type></link> activatable</parameter>);</programlisting>
<para>Sets <parameter>self</parameter>
 to be activatable.</para>
<para>If an item is activatable, double-clicking on the item, using
the Return key or calling <link linkend="gtk-widget-activate"><function>gtk_widget_activate()</function></link> will activate
the item. Activating instructs the containing view to handle
activation. <link linkend="GtkListView"><type>GtkListView</type></link> for example will be emitting the
<link linkend="GtkListView-activate"><type>“activate”</type></link> signal.</para>
<para>By default, list items are activatable</para>
<refsect3 id="gtk-list-item-set-activatable.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="GtkListItem"><type>GtkListItem</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>activatable</para></entry>
<entry role="parameter_description"><para>if the item should be activatable</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

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

</refsect1>
<refsect1 id="GtkListItem.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkListItem--activatable" role="property"><title>The <literal>“activatable”</literal> property</title>
<indexterm zone="GtkListItem--activatable"><primary>GtkListItem:activatable</primary></indexterm>
<programlisting>  “activatable”              <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If the item can be activated by the user</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GtkListItem--child" role="property"><title>The <literal>“child”</literal> property</title>
<indexterm zone="GtkListItem--child"><primary>GtkListItem:child</primary></indexterm>
<programlisting>  “child”                    <link linkend="GtkWidget"><type>GtkWidget</type></link>&#160;*</programlisting>
<para>Widget used for display</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkListItem--item" role="property"><title>The <literal>“item”</literal> property</title>
<indexterm zone="GtkListItem--item"><primary>GtkListItem:item</primary></indexterm>
<programlisting>  “item”                     <link linkend="GObject"><type>GObject</type></link>&#160;*</programlisting>
<para>Displayed item</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read</para>
</refsect2>
<refsect2 id="GtkListItem--position" role="property"><title>The <literal>“position”</literal> property</title>
<indexterm zone="GtkListItem--position"><primary>GtkListItem:position</primary></indexterm>
<programlisting>  “position”                 <link linkend="guint"><type>guint</type></link></programlisting>
<para>Position of the item</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read</para>
<para>Default value: 4294967295</para>
</refsect2>
<refsect2 id="GtkListItem--selectable" role="property"><title>The <literal>“selectable”</literal> property</title>
<indexterm zone="GtkListItem--selectable"><primary>GtkListItem:selectable</primary></indexterm>
<programlisting>  “selectable”               <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If the item can be selected by the user</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GtkListItem--selected" role="property"><title>The <literal>“selected”</literal> property</title>
<indexterm zone="GtkListItem--selected"><primary>GtkListItem:selected</primary></indexterm>
<programlisting>  “selected”                 <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>If the item is currently selected</para>
<para>Owner: GtkListItem</para>
<para>Flags: Read</para>
<para>Default value: FALSE</para>
</refsect2>

</refsect1>
<refsect1 id="GtkListItem.see-also">
<title>See Also</title>
<para><link linkend="GtkListView"><type>GtkListView</type></link>, <link linkend="GListModel"><type>GListModel</type></link></para>

</refsect1>

</refentry>
