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>
* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.
* gtk/updateiconcache.c (is_cache_up_to_date): Return
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)

View File

@ -1,5 +1,8 @@
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
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)

View File

@ -1,5 +1,8 @@
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
TRUE if the cache is newer than the directory. (#172852,
Jacob Kroon)

View File

@ -1,5 +1,8 @@
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
toggling. (#159382, Worik Stanton)

View File

@ -965,10 +965,19 @@ set_up_new_columns (GtkTreeView *myview)
</para></answer>
</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>
</qandaset>
</refsect1>

View File

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