Add a hint about hiding expanders.

2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
	a hint about hiding expanders.
This commit is contained in:
Matthias Clasen 2005-04-07 13:36:48 +00:00 committed by Matthias Clasen
parent 29f9dbfc35
commit a9cdbf0fb5
6 changed files with 29 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com> 2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.
* gtk/updateiconcache.c (is_cache_up_to_date): Return * gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852, TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon) Jacob Kroon)

View File

@ -1,5 +1,8 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com> 2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.
* gtk/updateiconcache.c (is_cache_up_to_date): Return * gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852, TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon) Jacob Kroon)

View File

@ -1,5 +1,8 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com> 2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.
* gtk/updateiconcache.c (is_cache_up_to_date): Return * gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852, TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon) Jacob Kroon)

View File

@ -1,5 +1,8 @@
2005-04-07 Matthias Clasen <mclasen@redhat.com> 2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/question_index.sgml: Add a question about hiding
tree view expanders.
* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about * gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
toggling. (#159382, Worik Stanton) toggling. (#159382, Worik Stanton)

View File

@ -965,10 +965,19 @@ set_up_new_columns (GtkTreeView *myview)
</para></answer> </para></answer>
</qandaentry> </qandaentry>
<qandaentry>
<question><para>
How do I hide the expander arrows in my tree view ?
</para></question>
<answer><para>
Set the expander-column property of the tree view to a hidden column.
See <link linkend="gtk-tree-view-set-expander-column">gtk_tree_view_set_expander_column()</link> and <link linkend="gtk-tree-view-column-set-visible">gtk_tree_view_column_set_visible()</link>.
</para></answer>
</qandaentry>
</qandadiv> </qandadiv>
</qandaset> </qandaset>
</refsect1> </refsect1>

View File

@ -10058,9 +10058,12 @@ gtk_tree_view_move_column_after (GtkTreeView *tree_view,
* @tree_view: A #GtkTreeView * @tree_view: A #GtkTreeView
* @column: %NULL, or the column to draw the expander arrow at. * @column: %NULL, or the column to draw the expander arrow at.
* *
* Sets the column to draw the expander arrow at. It must be in @tree_view. If * Sets the column to draw the expander arrow at. It must be in @tree_view.
* @column is %NULL, then the expander arrow is always at the first visible * If @column is %NULL, then the expander arrow is always at the first
* column. * visible column.
*
* If you do not want expander arrow to appear in your tree, set the
* expander column to a hidden column.
**/ **/
void void
gtk_tree_view_set_expander_column (GtkTreeView *tree_view, gtk_tree_view_set_expander_column (GtkTreeView *tree_view,