Re: Text for empty treeviews



Federico Mena Quintero <federico ximian com> writes:

> On Tue, 2004-12-07 at 04:48 -0800, Harring Figueiredo wrote:
>> void gtk_tree_view_set_empty_text (GtkTreeView *tree_view, GtkWidget *w) ?
>> 
>>    This way, one could layout icons and more stuff ?
>
> I wonder if that's overkill.  What kind of stuff would you put inside an
> empty tree in a concrete application?

For example an icon plus text? Please don't limit this new API
from the beginning. There can always be a convenience API

gtk_tree_view_set_empty_text(GtkTextView *view, const gchar *text);

along with the general one

gtk_tree_view_set_empty_widget(GtkTextView *view, GtkWidget *widget);

ciao,
--mitch





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