Re: separator and disable item in GtkTreeView
- From: Federico Mena Quintero <federico ximian com>
- To: Liu Neo-W4135C <W4135C motorola com>
- Cc: gtk-app-devel-list gnome org, GTK+ development mailing list <gtk-devel-list gnome org>
- Subject: Re: separator and disable item in GtkTreeView
- Date: Fri, 26 Dec 2003 12:47:44 -0600
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]