RE: separator and disable item in GtkTreeView



Great thanks. I'll look at it.

-----Original Message-----
From: gtk-app-devel-list-admin gnome org [mailto:gtk-app-devel-list-admin gnome org] On Behalf Of Federico Mena Quintero
Sent: 20031227 2:48
To: Liu Neo-W4135C
Cc: gtk-app-devel-list gnome org; GTK+ development mailing list
Subject: Re: separator and disable item in GtkTreeView


On Tue, 2003-12-23 at 20:30, Liu Neo-W4135C wrote:
 
> 1)is there a way to insert a seperator in the GtkTreeView, like . if 
> no, will it be included in the coming feature and when? 2)is it 
> possibel to disable an item, and once navigate in the view, focuse 
> will not on the item and switch between above and below one?

GtkFileChooserDefault has a cute hack to do these.  It creates a custom cell renderer that proxies to a text item, or draws a separator line. 
It also installs a callback function for selection so that you cannot select the separator row.

  Federico

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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