Text for empty treeviews



Hi,

It would be useful for some applications to display some text in a tree
view when a model is empty.  For example, a file manager could display
"No files in this folder".

What do people think of these:

void gtk_tree_view_set_empty_text (GtkTreeView *tree_view, const char *text);
void gtk_tree_view_set_empty_markup (GtkTreeView *tree_view, const char *markup);

... and the associated getters.  We would then need analogous functions
for GtkComboBox and possibly GtkIconView.

  Federico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]