Re: Text for empty treeviews





--- Federico Mena Quintero <federico ximian com> wrote:

> 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

   What about :
void gtk_tree_view_set_empty_text (GtkTreeView *tree_view, GtkWidget *w) ?

   This way, one could layout icons and more stuff ?

Harring.
 


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com 



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