<?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="GtkColumnViewColumn">
<refmeta>
<refentrytitle role="top_of_page" id="GtkColumnViewColumn.top_of_page">GtkColumnViewColumn</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkColumnViewColumn</refname>
<refpurpose>The column added to GtkColumnView</refpurpose>
</refnamediv>

<refsect1 id="GtkColumnViewColumn.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="GtkColumnViewColumn"><returnvalue>GtkColumnViewColumn</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-column-new">gtk_column_view_column_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkColumnView"><returnvalue>GtkColumnView</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-column-get-column-view">gtk_column_view_column_get_column_view</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-column-set-factory">gtk_column_view_column_set_factory</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkListItemFactory"><returnvalue>GtkListItemFactory</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-column-get-factory">gtk_column_view_column_get_factory</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-column-set-title">gtk_column_view_column_set_title</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-column-get-title">gtk_column_view_column_get_title</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-column-set-sorter">gtk_column_view_column_set_sorter</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-column-get-sorter">gtk_column_view_column_get_sorter</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-column-set-visible">gtk_column_view_column_set_visible</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-column-get-visible">gtk_column_view_column_get_visible</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-column-set-resizable">gtk_column_view_column_set_resizable</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-column-get-resizable">gtk_column_view_column_get_resizable</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-column-set-header-menu">gtk_column_view_column_set_header_menu</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GMenuModel"><returnvalue>GMenuModel</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-column-view-column-get-header-menu">gtk_column_view_column_get_header_menu</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-column-set-fixed-width">gtk_column_view_column_set_fixed_width</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="int"><returnvalue>int</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-column-view-column-get-fixed-width">gtk_column_view_column_get_fixed_width</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-column-set-expand">gtk_column_view_column_set_expand</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-column-get-expand">gtk_column_view_column_get_expand</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkColumnViewColumn.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="GtkColumnView"><type>GtkColumnView</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnViewColumn--column-view">column-view</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="GtkColumnViewColumn--expand">expand</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GtkListItemFactory"><type>GtkListItemFactory</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnViewColumn--factory">factory</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="int"><type>int</type></link></entry><entry role="property_name"><link linkend="GtkColumnViewColumn--fixed-width">fixed-width</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="GMenuModel"><type>GMenuModel</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnViewColumn--header-menu">header-menu</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="GtkColumnViewColumn--resizable">resizable</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="GtkColumnViewColumn--sorter">sorter</link></entry><entry role="property_flags">Read / Write</entry></row>
<row><entry role="property_type"><link linkend="char"><type>char</type></link>&#160;*</entry><entry role="property_name"><link linkend="GtkColumnViewColumn--title">title</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="GtkColumnViewColumn--visible">visible</link></entry><entry role="property_flags">Read / Write</entry></row>

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

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

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

<refsect1 id="GtkColumnViewColumn.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkColumnViewColumn represents the columns being added to <link linkend="GtkColumnView"><type>GtkColumnView</type></link>.</para>
<para>Columns have a title, and can optionally have a header menu set
with <link linkend="gtk-column-view-column-set-header-menu"><function>gtk_column_view_column_set_header_menu()</function></link>.</para>
<para>A sorter can be associated with a column using
<link linkend="gtk-column-view-column-set-sorter"><function>gtk_column_view_column_set_sorter()</function></link>, to let users influence sorting by
clicking on the column header.</para>

</refsect1>
<refsect1 id="GtkColumnViewColumn.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-column-view-column-new" role="function">
<title>gtk_column_view_column_new&#160;()</title>
<indexterm zone="gtk-column-view-column-new"><primary>gtk_column_view_column_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkColumnViewColumn"><returnvalue>GtkColumnViewColumn</returnvalue></link>&#160;*
gtk_column_view_column_new (<parameter>const <link linkend="char"><type>char</type></link> *title</parameter>,
                            <parameter><link linkend="GtkListItemFactory"><type>GtkListItemFactory</type></link> *factory</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> that uses the given <parameter>factory</parameter>
 for
mapping items to widgets.</para>
<para>You most likely want to call <link linkend="gtk-column-add-column"><function>gtk_column_add_column()</function></link> next.</para>
<para>The function takes ownership of the
argument, so you can write code like
<literal>
  column = gtk_column_view_column_new (_("Name"),
    gtk_builder_list_item_factory_new_from_resource ("/name.ui"));
</literal></para>
<refsect3 id="gtk-column-view-column-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>title</para></entry>
<entry role="parameter_description"><para>Title to use for this column. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
<row><entry role="parameter_name"><para>factory</para></entry>
<entry role="parameter_description"><para>The factory to populate items with. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>transfer full</acronym>][<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> using the given <parameter>factory</parameter>
</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-column-view" role="function">
<title>gtk_column_view_column_get_column_view&#160;()</title>
<indexterm zone="gtk-column-view-column-get-column-view"><primary>gtk_column_view_column_get_column_view</primary></indexterm>
<programlisting language="C"><link linkend="GtkColumnView"><returnvalue>GtkColumnView</returnvalue></link>&#160;*
gtk_column_view_column_get_column_view
                               (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Gets the column view that's currently displaying this column.</para>
<para>If <parameter>self</parameter>
 has not been added to a column view yet, <link linkend="NULL:CAPS"><literal>NULL</literal></link> is returned.</para>
<refsect3 id="gtk-column-view-column-get-column-view.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-column-view.returns" role="returns">
<title>Returns</title>
<para>The column view displaying <parameter>self</parameter>
. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-factory" role="function">
<title>gtk_column_view_column_set_factory&#160;()</title>
<indexterm zone="gtk-column-view-column-set-factory"><primary>gtk_column_view_column_set_factory</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_factory (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                    <parameter><link linkend="GtkListItemFactory"><type>GtkListItemFactory</type></link> *factory</parameter>);</programlisting>
<para>Sets the <link linkend="GtkListItemFactory"><type>GtkListItemFactory</type></link> to use for populating list items for this
column.</para>
<refsect3 id="gtk-column-view-column-set-factory.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>factory</para></entry>
<entry role="parameter_description"><para>the factory 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-column-get-factory" role="function">
<title>gtk_column_view_column_get_factory&#160;()</title>
<indexterm zone="gtk-column-view-column-get-factory"><primary>gtk_column_view_column_get_factory</primary></indexterm>
<programlisting language="C"><link linkend="GtkListItemFactory"><returnvalue>GtkListItemFactory</returnvalue></link>&#160;*
gtk_column_view_column_get_factory (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Gets the factory that's currently used to populate list items for
this column.</para>
<refsect3 id="gtk-column-view-column-get-factory.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-factory.returns" role="returns">
<title>Returns</title>
<para>The factory in use. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>][<acronym>transfer none</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-title" role="function">
<title>gtk_column_view_column_set_title&#160;()</title>
<indexterm zone="gtk-column-view-column-set-title"><primary>gtk_column_view_column_set_title</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_title (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                  <parameter>const <link linkend="char"><type>char</type></link> *title</parameter>);</programlisting>
<para>Sets the title of this column. The title is displayed in the header of a
<link linkend="GtkColumnView"><type>GtkColumnView</type></link> for this column and is therefore user-facing text that should
be translated.</para>
<refsect3 id="gtk-column-view-column-set-title.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>title</para></entry>
<entry role="parameter_description"><para>Title to use for this column. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-title" role="function">
<title>gtk_column_view_column_get_title&#160;()</title>
<indexterm zone="gtk-column-view-column-get-title"><primary>gtk_column_view_column_get_title</primary></indexterm>
<programlisting language="C">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
gtk_column_view_column_get_title (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Returns the title set with <link linkend="gtk-column-view-column-set-title"><function>gtk_column_view_column_set_title()</function></link>.</para>
<refsect3 id="gtk-column-view-column-get-title.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-title.returns" role="returns">
<title>Returns</title>
<para>The column's title. </para>
<para><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-sorter" role="function">
<title>gtk_column_view_column_set_sorter&#160;()</title>
<indexterm zone="gtk-column-view-column-set-sorter"><primary>gtk_column_view_column_set_sorter</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_sorter (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                   <parameter><link linkend="GtkSorter"><type>GtkSorter</type></link> *sorter</parameter>);</programlisting>
<para>Associates a sorter with the column.</para>
<para>This sorter can be made active by clicking on the column
header, or by calling <link linkend="gtk-column-view-sort-by-column"><function>gtk_column_view_sort_by_column()</function></link>.</para>
<para>See <link linkend="gtk-column-view-get-sorter"><function>gtk_column_view_get_sorter()</function></link> for the necessary steps
for setting up customizable sorting for <link linkend="GtkColumnView"><type>GtkColumnView</type></link>.</para>
<refsect3 id="gtk-column-view-column-set-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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>sorter</para></entry>
<entry role="parameter_description"><para>the <link linkend="GtkSorter"><type>GtkSorter</type></link> to associate with <parameter>column</parameter>
. </para></entry>
<entry role="parameter_annotations"><emphasis role="annotation">[<acronym>nullable</acronym>]</emphasis></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-sorter" role="function">
<title>gtk_column_view_column_get_sorter&#160;()</title>
<indexterm zone="gtk-column-view-column-get-sorter"><primary>gtk_column_view_column_get_sorter</primary></indexterm>
<programlisting language="C"><link linkend="GtkSorter"><returnvalue>GtkSorter</returnvalue></link>&#160;*
gtk_column_view_column_get_sorter (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Returns the sorter that is associated with the column.</para>
<refsect3 id="gtk-column-view-column-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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-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-column-set-visible" role="function">
<title>gtk_column_view_column_set_visible&#160;()</title>
<indexterm zone="gtk-column-view-column-set-visible"><primary>gtk_column_view_column_set_visible</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_visible (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                    <parameter><link linkend="gboolean"><type>gboolean</type></link> visible</parameter>);</programlisting>
<para>Sets whether this column should be visible in views.</para>
<refsect3 id="gtk-column-view-column-set-visible.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</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 this column should be visible</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-visible" role="function">
<title>gtk_column_view_column_get_visible&#160;()</title>
<indexterm zone="gtk-column-view-column-get-visible"><primary>gtk_column_view_column_get_visible</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_column_get_visible (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Returns whether this column is visible.</para>
<refsect3 id="gtk-column-view-column-get-visible.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-visible.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if this column is visible</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-resizable" role="function">
<title>gtk_column_view_column_set_resizable&#160;()</title>
<indexterm zone="gtk-column-view-column-set-resizable"><primary>gtk_column_view_column_set_resizable</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_resizable (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                      <parameter><link linkend="gboolean"><type>gboolean</type></link> resizable</parameter>);</programlisting>
<para>Sets whether this column should be resizable by dragging.</para>
<refsect3 id="gtk-column-view-column-set-resizable.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>resizable</para></entry>
<entry role="parameter_description"><para>whether this column should be resizable</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-resizable" role="function">
<title>gtk_column_view_column_get_resizable&#160;()</title>
<indexterm zone="gtk-column-view-column-get-resizable"><primary>gtk_column_view_column_get_resizable</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_column_get_resizable (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Returns whether this column is resizable.</para>
<refsect3 id="gtk-column-view-column-get-resizable.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-column-get-resizable.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if this column is resizable</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-header-menu" role="function">
<title>gtk_column_view_column_set_header_menu&#160;()</title>
<indexterm zone="gtk-column-view-column-set-header-menu"><primary>gtk_column_view_column_set_header_menu</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_header_menu
                               (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                <parameter><link linkend="GMenuModel"><type>GMenuModel</type></link> *menu</parameter>);</programlisting>
<para>Sets the menu model that is used to create the context menu
for the column header.</para>
<refsect3 id="gtk-column-view-column-set-header-menu.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>menu</para></entry>
<entry role="parameter_description"><para>a <link linkend="GMenuModel"><type>GMenuModel</type></link>, 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>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-header-menu" role="function">
<title>gtk_column_view_column_get_header_menu&#160;()</title>
<indexterm zone="gtk-column-view-column-get-header-menu"><primary>gtk_column_view_column_get_header_menu</primary></indexterm>
<programlisting language="C"><link linkend="GMenuModel"><returnvalue>GMenuModel</returnvalue></link>&#160;*
gtk_column_view_column_get_header_menu
                               (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Gets the menu model that is used to create the context menu
for the column header.</para>
<refsect3 id="gtk-column-view-column-get-header-menu.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-header-menu.returns" role="returns">
<title>Returns</title>
<para>the <link linkend="GMenuModel"><type>GMenuModel</type></link>, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>. </para>
<para><emphasis role="annotation">[<acronym>transfer none</acronym>][<acronym>nullable</acronym>]</emphasis></para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-fixed-width" role="function">
<title>gtk_column_view_column_set_fixed_width&#160;()</title>
<indexterm zone="gtk-column-view-column-set-fixed-width"><primary>gtk_column_view_column_set_fixed_width</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_fixed_width
                               (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                <parameter><link linkend="int"><type>int</type></link> fixed_width</parameter>);</programlisting>
<para>If <parameter>fixed_width</parameter>
 is not -1, sets the fixed width of <parameter>column</parameter>
;
otherwise unsets it.</para>
<para>Setting a fixed width overrides the automatically calculated
width. Interactive resizing also sets the “fixed-width” property.</para>
<refsect3 id="gtk-column-view-column-set-fixed-width.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>fixed_width</para></entry>
<entry role="parameter_description"><para>the new fixed width, or -1</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-fixed-width" role="function">
<title>gtk_column_view_column_get_fixed_width&#160;()</title>
<indexterm zone="gtk-column-view-column-get-fixed-width"><primary>gtk_column_view_column_get_fixed_width</primary></indexterm>
<programlisting language="C"><link linkend="int"><returnvalue>int</returnvalue></link>
gtk_column_view_column_get_fixed_width
                               (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Gets the fixed width of the column.</para>
<refsect3 id="gtk-column-view-column-get-fixed-width.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-fixed-width.returns" role="returns">
<title>Returns</title>
<para> the fixed with of the column</para>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-set-expand" role="function">
<title>gtk_column_view_column_set_expand&#160;()</title>
<indexterm zone="gtk-column-view-column-set-expand"><primary>gtk_column_view_column_set_expand</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_column_view_column_set_expand (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>,
                                   <parameter><link linkend="gboolean"><type>gboolean</type></link> expand</parameter>);</programlisting>
<para>Sets the column to take available extra space.</para>
<para>The extra space is shared equally amongst all columns that
have the expand set to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.</para>
<refsect3 id="gtk-column-view-column-set-expand.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>expand</para></entry>
<entry role="parameter_description"><para><link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if this column should expand to fill available sace</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-column-view-column-get-expand" role="function">
<title>gtk_column_view_column_get_expand&#160;()</title>
<indexterm zone="gtk-column-view-column-get-expand"><primary>gtk_column_view_column_get_expand</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
gtk_column_view_column_get_expand (<parameter><link linkend="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link> *self</parameter>);</programlisting>
<para>Returns whether this column should expand.</para>
<refsect3 id="gtk-column-view-column-get-expand.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="GtkColumnViewColumn"><type>GtkColumnViewColumn</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-column-view-column-get-expand.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if this column expands</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkColumnViewColumn.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkColumnViewColumn-struct" role="struct">
<title>GtkColumnViewColumn</title>
<indexterm zone="GtkColumnViewColumn-struct"><primary>GtkColumnViewColumn</primary></indexterm>
<programlisting language="C">typedef struct _GtkColumnViewColumn GtkColumnViewColumn;</programlisting>
<para>GtkColumnViewColumns are added to <link linkend="GtkColumnViews"><type>GtkColumnViews</type></link>.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkColumnViewColumn.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkColumnViewColumn--column-view" role="property"><title>The <literal>“column-view”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--column-view"><primary>GtkColumnViewColumn:column-view</primary></indexterm>
<programlisting>  “column-view”              <link linkend="GtkColumnView"><type>GtkColumnView</type></link>&#160;*</programlisting>
<para><link linkend="GtkColumnView"><type>GtkColumnView</type></link> this column is a part of</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--expand" role="property"><title>The <literal>“expand”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--expand"><primary>GtkColumnViewColumn:expand</primary></indexterm>
<programlisting>  “expand”                   <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Column gets share of extra width allocated to the view</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--factory" role="property"><title>The <literal>“factory”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--factory"><primary>GtkColumnViewColumn:factory</primary></indexterm>
<programlisting>  “factory”                  <link linkend="GtkListItemFactory"><type>GtkListItemFactory</type></link>&#160;*</programlisting>
<para>Factory for populating list items</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--fixed-width" role="property"><title>The <literal>“fixed-width”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--fixed-width"><primary>GtkColumnViewColumn:fixed-width</primary></indexterm>
<programlisting>  “fixed-width”              <link linkend="int"><type>int</type></link></programlisting>
<para>If not -1, this is the width that the column is allocated,
regardless of the size of its content.</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
<para>Allowed values: &gt;= -1</para>
<para>Default value: -1</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--header-menu" role="property"><title>The <literal>“header-menu”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--header-menu"><primary>GtkColumnViewColumn:header-menu</primary></indexterm>
<programlisting>  “header-menu”              <link linkend="GMenuModel"><type>GMenuModel</type></link>&#160;*</programlisting>
<para>Menu model used to create the context menu for the column header.</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--resizable" role="property"><title>The <literal>“resizable”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--resizable"><primary>GtkColumnViewColumn:resizable</primary></indexterm>
<programlisting>  “resizable”                <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether this column is resizable</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--sorter" role="property"><title>The <literal>“sorter”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--sorter"><primary>GtkColumnViewColumn:sorter</primary></indexterm>
<programlisting>  “sorter”                   <link linkend="GtkSorter"><type>GtkSorter</type></link>&#160;*</programlisting>
<para>Sorter for sorting items according to this column</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--title" role="property"><title>The <literal>“title”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--title"><primary>GtkColumnViewColumn:title</primary></indexterm>
<programlisting>  “title”                    <link linkend="char"><type>char</type></link>&#160;*</programlisting>
<para>Title displayed in the header</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: NULL</para>
</refsect2>
<refsect2 id="GtkColumnViewColumn--visible" role="property"><title>The <literal>“visible”</literal> property</title>
<indexterm zone="GtkColumnViewColumn--visible"><primary>GtkColumnViewColumn:visible</primary></indexterm>
<programlisting>  “visible”                  <link linkend="gboolean"><type>gboolean</type></link></programlisting>
<para>Whether this column is visible</para>
<para>Owner: GtkColumnViewColumn</para>
<para>Flags: Read / Write</para>
<para>Default value: TRUE</para>
</refsect2>

</refsect1>
<refsect1 id="GtkColumnViewColumn.see-also">
<title>See Also</title>
<para><link linkend="GtkColumnView"><type>GtkColumnView</type></link></para>

</refsect1>

</refentry>
