Re: [gtk-list] Diabling an entry in TreeView

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

 



On Tue, May 31, 2005 at 12:21:31PM +0530, Pramod Patangay wrote:
> Hi,
> 
> I have a treestore and corresponding model and treeview. I would like
> to disable a particular entry in the treeview. How can I do this?
> 
> Thanks

I'm going through the tree view tutorial now, so I probably 
don't know what I'm talking about :)

Anyways, if by "disable" you mean not allow to be selected, then
you can write your own selection function and set it with 
gtk_tree_selection_set_select_function. See section 6.1.3 of the
tutorial:

http://scentric.net/tutorial/sec-sel-click-menus.html#sec-selections-function

-- 
Steve Feehan
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux