<?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="GtkColumnView">
<refmeta>
<refentrytitle role="top_of_page" id="GtkColumnView.top_of_page">GtkColumnView</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkColumnView</refname>
<refpurpose>A widget for displaying lists in multiple columns</refpurpose>
</refnamediv>

<refsect1 id="GtkColumnView.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-column-view-new">gtk_column_view_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-column-view-append-column">gtk_column_view_append_column</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-column-view-insert-column">gtk_column_view_insert_column</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-column-view-remove-column">gtk_column_view_remove_column</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GListModel"><returnvalue>GListModel</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-get-columns">gtk_column_view_get_columns</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkSelectionModel"><returnvalue>GtkSelectionModel</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-get-model">gtk_column_view_get_model</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-column-view-set-model">gtk_column_view_set_model</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkSorter"><returnvalue>GtkSorter</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-get-sorter">gtk_column_view_get_sorter</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-column-view-get-show-row-separators">gtk_column_view_get_show_row_separators</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-column-view-set-show-row-separators">gtk_column_view_set_show_row_separators</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-column-view-get-show-column-separators">gtk_column_view_get_show_column_separators</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-column-view-set-show-column-separators">gtk_column_view_set_show_column_separators</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-column-view-sort-by-column">gtk_column_view_sort_by_column</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-column-view-set-single-click-activate">gtk_column_view_set_single_click_activate</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-column-view-get-single-click-activate">gtk_column_view_get_single_click_activate</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-column-view-set-reorderable">gtk_column_view_set_reorderable</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-column-view-get-reorderable">gtk_column_view_get_reorderable</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-column-view-set-enable-rubberband">gtk_column_view_set_enable_rubberband</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-column-view-get-enable-rubberband">gtk_column_view_get_enable_rubberband</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkColumnView.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="GListModel"><type>GListModel</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnView--columns">columns</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="GtkColumnView--enable-rubberband">enable-rubberband</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkSelectionModel"><type>GtkSelectionModel</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnView--model">model</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="GtkColumnView--reorderable">reorderable</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="GtkColumnView--show-column-separators">show-column-separators</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="GtkColumnView--show-row-separators">show-row-separators</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="GtkColumnView--single-click-activate">single-click-activate</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkSorter"><type>GtkSorter</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnView--sorter">sorter</link></entry><entry role="property_flags">Read</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkColumnView.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="signal_proto_type" colwidth="150px"/>
<colspec colname="signal_proto_name" colwidth="300px"/>
<colspec colname="signal_proto_flags" colwidth="200px"/>
<tbody>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkColumnView-activate">activate</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>

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

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkColumnView.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> GtkColumnView
</screen>
</refsect1>
<refsect1 id="GtkColumnView.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkColumnView implements
 <link linkend="GtkAccessible">GtkAccessible</link>,  <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link> and  <link linkend="GtkScrollable">GtkScrollable</link>.</para>

</refsect1>

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

<refsect1 id="GtkColumnView.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkColumnView is a widget to present a view into a large dynamic list of items
using multiple columns with headers.</para>
<para>GtkColumnView uses the factories of its columns to generate a cell widget for
each column, for each visible item and displays them together as the row for
this item. The <link linkend="GtkColumnView--show-row-separators"><type>“show-row-separators”</type></link> and
<link linkend="GtkColumnView--show-column-separators"><type>“show-column-separators”</type></link> properties offer a simple way to display
separators between the rows or columns.</para>
<para>GtkColumnView allows the user to select items according to the selection
characteristics of the model. For models that allow multiple selected items,
it is possible to turn on *rubberband selection*, using
<link linkend="GtkColumnView--enable-rubberband"><type>“enable-rubberband”</type></link>.</para>
<para>The column view supports sorting that can be customized by the user by
clicking on column headers. To set this up, the <link linkend="GtkSorter"><type>GtkSorter</type></link> returned by
<link linkend="gtk-column-view-get-sorter"><function>gtk_column_view_get_sorter()</function></link> must be attached to a sort model for the data
that the view is showing, and the columns must have sorters attached to them
by calling <link linkend="gtk-column-view-column-set-sorter"><function>gtk_column_view_column_set_sorter()</function></link>. The initial sort order can be
set with <link linkend="gtk-column-view-sort-by-column"><function>gtk_column_view_sort_by_column()</function></link>.</para>
<para>The column view also supports interactive resizing and reordering of
columns, via Drag-and-Drop of the column headers. This can be enabled or
disabled with the <link linkend="GtkColumnView--reorderable"><type>“reorderable”</type></link> and <link linkend="GtkColumnViewColumn--resizable"><type>“resizable”</type></link>
properties.</para>
<para>To learn more about the list widget framework, see the <ulink url="#ListWidget">overview</ulink>.</para>
<refsect2><title>CSS nodes</title><informalexample><programlisting role="example"><![CDATA[
columnview[.column-separators][.rich-list][.navigation-sidebar][.data-table]
├── header
│   ├── <column header>
┊   ┊
│   ╰── <column header>
│
├── listview
│
┊
╰── [rubberband]

]]></programlisting></informalexample>
<para></para>
<para>GtkColumnView uses a single CSS node named columnview. It may carry the
.column-separators style class, when <link linkend="GtkColumnView--show-column-separators"><type>“show-column-separators”</type></link>
property is set. Header widets appear below a node with name header.
The rows are contained in a GtkListView widget, so there is a listview
node with the same structure as for a standalone GtkListView widget. If
<link linkend="GtkColumnView--show-row-separators"><type>“show-row-separators”</type></link> is set, it will be passed on to the
list view, causing its CSS node to carry the .separators style class.
For rubberband selection, a node with name rubberband is used.</para>
<para>The main columnview node may also carry style classes to select
the style of <ulink url="ListContainers.html#list-styles">list presentation</ulink>:
.rich-list, .navigation-sidebar or .data-table.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkColumnView.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-column-view-new" role="function">
<title>gtk_column_view_new&#160;()</title>
<indexterm zone="gtk-column-view-new"><primary>gtk_column_view_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_column_view_new (<parameter><link linkend="GtkSelectionModel"><type>GtkSelectionModel</type></link> *model</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkColumnView"><type>GtkColumnView</type></link>.</para>
<para>You most likely want to call <link linkend="gtk-column-view-append-column"><function>gtk_column_view_append_column()</function></link> to
add columns next.</para>
<refsect3 id="gtk-column-view-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>model</para></entry>
<entry role="parameter_description"><para>the list model to use, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>][<acronym>transfer full</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkColumnView"><type>GtkColumnView</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-append-column" role="function">
<title>gtk_column_view_append_column&#160;()</title>
<indexterm zone="gtk-column-view-append-column"><primary>gtk_column_view_append_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_append_column (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                               <parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *column</parameter>);</programlisting>
<para>Appends the <parameter>column</parameter>
 to the end of the columns in <parameter>self</parameter>
.</para>
<refsect3 id="gtk-column-view-append-column.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> that hasn't been added to a
<link linkend="GtkColumnView"><type>GtkColumnView</type></link> yet</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-insert-column" role="function">
<title>gtk_column_view_insert_column&#160;()</title>
<indexterm zone="gtk-column-view-insert-column"><primary>gtk_column_view_insert_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_insert_column (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                               <parameter><link linkend="guint"><type>guint</type></link> position</parameter>,
                               <parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *column</parameter>);</programlisting>
<para>Inserts a column at the given position in the columns of <parameter>self</parameter>
.</para>
<para>If <parameter>column</parameter>
 is already a column of <parameter>self</parameter>
, it will be repositioned.</para>
<refsect3 id="gtk-column-view-insert-column.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>the position to insert <parameter>column</parameter>
at</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>column</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> to insert</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-remove-column" role="function">
<title>gtk_column_view_remove_column&#160;()</title>
<indexterm zone="gtk-column-view-remove-column"><primary>gtk_column_view_remove_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_remove_column (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                               <parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *column</parameter>);</programlisting>
<para>Removes the <parameter>column</parameter>
 from the list of columns of <parameter>self</parameter>
.</para>
<refsect3 id="gtk-column-view-remove-column.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>column</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> that's part of <parameter>self</parameter>
</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-columns" role="function">
<title>gtk_column_view_get_columns&#160;()</title>
<indexterm zone="gtk-column-view-get-columns"><primary>gtk_column_view_get_columns</primary></indexterm>
<programlisting language="C"><link linkend="GListModel"><returnvalue>GListModel</returnvalue></link>&#160;*
gtk_column_view_get_columns (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Gets the list of columns in this column view. This list is constant over
the lifetime of <parameter>self</parameter>
 and can be used to monitor changes to the columns
of <parameter>self</parameter>
 by connecting to the <link linkend="GListModel--items-changed"><type>“items-changed”</type></link> signal.</para>
<refsect3 id="gtk-column-view-get-columns.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-columns.returns" role="returns">
<title>Returns</title>
<para>The list managing the columns. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-model" role="function">
<title>gtk_column_view_get_model&#160;()</title>
<indexterm zone="gtk-column-view-get-model"><primary>gtk_column_view_get_model</primary></indexterm>
<programlisting language="C"><link linkend="GtkSelectionModel"><returnvalue>GtkSelectionModel</returnvalue></link>&#160;*
gtk_column_view_get_model (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Gets the model that's currently used to read the items displayed.</para>
<refsect3 id="gtk-column-view-get-model.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-model.returns" role="returns">
<title>Returns</title>
<para>The model in use. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-model" role="function">
<title>gtk_column_view_set_model&#160;()</title>
<indexterm zone="gtk-column-view-set-model"><primary>gtk_column_view_set_model</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_model (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                           <parameter><link linkend="GtkSelectionModel"><type>GtkSelectionModel</type></link> *model</parameter>);</programlisting>
<para>Sets the <link linkend="GtkSelectionModel"><type>GtkSelectionModel</type></link> to use.</para>
<refsect3 id="gtk-column-view-set-model.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>model</para></entry>
<entry role="parameter_description"><para>the model to use or <link linkend="NULL:CAPS"><literal>NULL</literal></link> for none. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>][<acronym>transfer none</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-sorter" role="function">
<title>gtk_column_view_get_sorter&#160;()</title>
<indexterm zone="gtk-column-view-get-sorter"><primary>gtk_column_view_get_sorter</primary></indexterm>
<programlisting language="C"><link linkend="GtkSorter"><returnvalue>GtkSorter</returnvalue></link>&#160;*
gtk_column_view_get_sorter (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns a special sorter that reflects the users sorting
choices in the column view.</para>
<para>To allow users to customizable sorting by clicking on column
headers, this sorter needs to be set on the sort model underneath
the model that is displayed by the view.</para>
<para>See <link linkend="gtk-column-view-column-set-sorter"><function>gtk_column_view_column_set_sorter()</function></link> for setting up
per-column sorting.</para>
<para>Here is an example:</para>
<informalexample><programlisting role="example"><![CDATA[
  gtk_column_view_column_set_sorter (column, sorter);
  gtk_column_view_append_column (view, column);
  sorter = g_object_ref (gtk_column_view_get_sorter (view)));
  model = gtk_sort_list_model_new (store, sorter);
  selection = gtk_no_selection_new (model);
  gtk_column_view_set_model (view, selection);
]]></programlisting></informalexample>
<para></para>
<refsect3 id="gtk-column-view-get-sorter.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-sorter.returns" role="returns">
<title>Returns</title>
<para>the <link linkend="GtkSorter"><type>GtkSorter</type></link> of <parameter>self</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-show-row-separators" role="function">
<title>gtk_column_view_get_show_row_separators&#160;()</title>
<indexterm zone="gtk-column-view-get-show-row-separators"><primary>gtk_column_view_get_show_row_separators</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_get_show_row_separators
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns whether the list should show separators
between rows.</para>
<refsect3 id="gtk-column-view-get-show-row-separators.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-show-row-separators.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the list shows separators</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-show-row-separators" role="function">
<title>gtk_column_view_set_show_row_separators&#160;()</title>
<indexterm zone="gtk-column-view-set-show-row-separators"><primary>gtk_column_view_set_show_row_separators</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_show_row_separators
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> show_row_separators</parameter>);</programlisting>
<para>Sets whether the list should show separators
between rows.</para>
<refsect3 id="gtk-column-view-set-show-row-separators.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>show_row_separators</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to show row separators</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-show-column-separators" role="function">
<title>gtk_column_view_get_show_column_separators&#160;()</title>
<indexterm zone="gtk-column-view-get-show-column-separators"><primary>gtk_column_view_get_show_column_separators</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_get_show_column_separators
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns whether the list should show separators
between columns.</para>
<refsect3 id="gtk-column-view-get-show-column-separators.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-show-column-separators.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the list shows column separators</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-show-column-separators" role="function">
<title>gtk_column_view_set_show_column_separators&#160;()</title>
<indexterm zone="gtk-column-view-set-show-column-separators"><primary>gtk_column_view_set_show_column_separators</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_show_column_separators
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> show_column_separators</parameter>);</programlisting>
<para>Sets whether the list should show separators
between columns.</para>
<refsect3 id="gtk-column-view-set-show-column-separators.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>show_column_separators</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to show column separators</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-sort-by-column" role="function">
<title>gtk_column_view_sort_by_column&#160;()</title>
<indexterm zone="gtk-column-view-sort-by-column"><primary>gtk_column_view_sort_by_column</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_sort_by_column (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                <parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *column</parameter>,
                                <parameter><link linkend="GtkSortType"><type>GtkSortType</type></link> direction</parameter>);</programlisting>
<para>Sets the sorting of the view.</para>
<para>This function should be used to set up the initial sorting. At runtime,
users can change the sorting of a column view by clicking on the list headers.</para>
<para>This call only has an effect if the sorter returned by <link linkend="gtk-column-view-get-sorter"><function>gtk_column_view_get_sorter()</function></link>
is set on a sort model, and <link linkend="gtk-column-view-column-set-sorter"><function>gtk_column_view_column_set_sorter()</function></link> has been called
on <parameter>column</parameter>
 to associate a sorter with the column.</para>
<para>If <parameter>column</parameter>
 is <link linkend="NULL:CAPS"><literal>NULL</literal></link>, the view will be unsorted.</para>
<refsect3 id="gtk-column-view-sort-by-column.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>column</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> to sort by, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>allow-none</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>direction</para></entry>
<entry role="parameter_description"><para>the direction to sort in</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-single-click-activate" role="function">
<title>gtk_column_view_set_single_click_activate&#160;()</title>
<indexterm zone="gtk-column-view-set-single-click-activate"><primary>gtk_column_view_set_single_click_activate</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_single_click_activate
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                <parameter><link linkend="gboolean"><type>gboolean</type></link> single_click_activate</parameter>);</programlisting>
<para>Sets whether rows should be activated on single click and
selected on hover.</para>
<refsect3 id="gtk-column-view-set-single-click-activate.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>single_click_activate</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to activate items on single click</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-single-click-activate" role="function">
<title>gtk_column_view_get_single_click_activate&#160;()</title>
<indexterm zone="gtk-column-view-get-single-click-activate"><primary>gtk_column_view_get_single_click_activate</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_get_single_click_activate
                               (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns whether rows will be activated on single click and
selected on hover.</para>
<refsect3 id="gtk-column-view-get-single-click-activate.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-single-click-activate.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if rows are activated on single click</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-reorderable" role="function">
<title>gtk_column_view_set_reorderable&#160;()</title>
<indexterm zone="gtk-column-view-set-reorderable"><primary>gtk_column_view_set_reorderable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_reorderable (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                 <parameter><link linkend="gboolean"><type>gboolean</type></link> reorderable</parameter>);</programlisting>
<para>Sets whether columns should be reorderable by dragging.</para>
<refsect3 id="gtk-column-view-set-reorderable.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>reorderable</para></entry>
<entry role="parameter_description"><para>whether columns should be reorderable</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-reorderable" role="function">
<title>gtk_column_view_get_reorderable&#160;()</title>
<indexterm zone="gtk-column-view-get-reorderable"><primary>gtk_column_view_get_reorderable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_get_reorderable (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns whether columns are reorderable.</para>
<refsect3 id="gtk-column-view-get-reorderable.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-reorderable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if columns are reorderable</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-set-enable-rubberband" role="function">
<title>gtk_column_view_set_enable_rubberband&#160;()</title>
<indexterm zone="gtk-column-view-set-enable-rubberband"><primary>gtk_column_view_set_enable_rubberband</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_set_enable_rubberband (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>,
                                       <parameter><link linkend="gboolean"><type>gboolean</type></link> enable_rubberband</parameter>);</programlisting>
<para>Sets whether selections can be changed by dragging with the mouse.</para>
<refsect3 id="gtk-column-view-set-enable-rubberband.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>enable_rubberband</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to enable rubberband selection</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-get-enable-rubberband" role="function">
<title>gtk_column_view_get_enable_rubberband&#160;()</title>
<indexterm zone="gtk-column-view-get-enable-rubberband"><primary>gtk_column_view_get_enable_rubberband</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_get_enable_rubberband (<parameter><link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self</parameter>);</programlisting>
<para>Returns whether rows can be selected by dragging with the mouse.</para>
<refsect3 id="gtk-column-view-get-enable-rubberband.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="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-get-enable-rubberband.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if rubberband selection is enabled</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkColumnView.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkColumnView-struct" role="struct">
<title>GtkColumnView</title>
<indexterm zone="GtkColumnView-struct"><primary>GtkColumnView</primary></indexterm>
<programlisting language="C">typedef struct _GtkColumnView GtkColumnView;</programlisting>
<para>GtkColumnView is the simple list implementation for GTK's list widgets.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkColumnView.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkColumnView--columns" role="property"><title>The <literal>“columns”</literal> property</title>
<indexterm zone="GtkColumnView--columns"><primary>GtkColumnView:columns</primary></indexterm>
<programlisting>  “columns”                  <link linkend="GListModel"><type>GListModel</type></link>&#160;*</programlisting>
<para>The list of columns</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read</para>
</refsect2>
<refsect2 id="GtkColumnView--enable-rubberband" role="property"><title>The <literal>“enable-rubberband”</literal> property</title>
<indexterm zone="GtkColumnView--enable-rubberband"><primary>GtkColumnView:enable-rubberband</primary></indexterm>
<programlisting>  “enable-rubberband”        <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Allow rubberband selection</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnView--model" role="property"><title>The <literal>“model”</literal> property</title>
<indexterm zone="GtkColumnView--model"><primary>GtkColumnView:model</primary></indexterm>
<programlisting>  “model”                    <link linkend="GtkSelectionModel"><type>GtkSelectionModel</type></link>&#160;*</programlisting>
<para>Model for the items displayed</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkColumnView--reorderable" role="property"><title>The <literal>“reorderable”</literal> property</title>
<indexterm zone="GtkColumnView--reorderable"><primary>GtkColumnView:reorderable</primary></indexterm>
<programlisting>  “reorderable”              <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether columns are reorderable</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>
<refsect2 id="GtkColumnView--show-column-separators" role="property"><title>The <literal>“show-column-separators”</literal> property</title>
<indexterm zone="GtkColumnView--show-column-separators"><primary>GtkColumnView:show-column-separators</primary></indexterm>
<programlisting>  “show-column-separators”   <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Show separators between columns</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnView--show-row-separators" role="property"><title>The <literal>“show-row-separators”</literal> property</title>
<indexterm zone="GtkColumnView--show-row-separators"><primary>GtkColumnView:show-row-separators</primary></indexterm>
<programlisting>  “show-row-separators”      <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Show separators between rows</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnView--single-click-activate" role="property"><title>The <literal>“single-click-activate”</literal> property</title>
<indexterm zone="GtkColumnView--single-click-activate"><primary>GtkColumnView:single-click-activate</primary></indexterm>
<programlisting>  “single-click-activate”    <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Activate rows on single click and select them on hover</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnView--sorter" role="property"><title>The <literal>“sorter”</literal> property</title>
<indexterm zone="GtkColumnView--sorter"><primary>GtkColumnView:sorter</primary></indexterm>
<programlisting>  “sorter”                   <link linkend="GtkSorter"><type>GtkSorter</type></link>&#160;*</programlisting>
<para>Sorter with the sorting choices of the user</para>
<para>Owner: GtkColumnView</para>
<para>Flags: Read</para>
</refsect2>

</refsect1>
<refsect1 id="GtkColumnView.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="GtkColumnView-activate" role="signal"><title>The <literal>“activate”</literal> signal</title>
<indexterm zone="GtkColumnView-activate"><primary>GtkColumnView::activate</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="GtkColumnView"><type>GtkColumnView</type></link> *self,
               <link linkend="guint"><type>guint</type></link>          position,
               <link linkend="gpointer"><type>gpointer</type></link>       user_data)</programlisting>
<para>The ::activate signal is emitted when a row has been activated by the user,
usually via activating the GtkListBase|list.activate-item action.</para>
<para>This allows for a convenient way to handle activation in a columnview.
See <link linkend="gtk-list-item-set-activatable"><function>gtk_list_item_set_activatable()</function></link> for details on how to use this signal.</para>
<refsect3 id="GtkColumnView-activate.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>The <link linkend="GtkColumnView"><type>GtkColumnView</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>position</para></entry>
<entry role="parameter_description"><para>position of item to activate</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
</refsect2>
</refsect1>
<refsect1 id="GtkColumnView.see-also">
<title>See Also</title>
<para><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link>, <link linkend="GtkTreeView"><type>GtkTreeView</type></link></para>

</refsect1>

</refentry>
