Re: [gtkmm] prevent selection of a treeview node



Am Son, 2002-12-08 um 01.54 schrieb triendl klaus:
> hi,
> 
> is there a way to prevent the selection of a treeview node (TreeView with a TreeStore)?

Sure.  Gtk::TreeSelection::set_select_func() is what you want.  Install
your custom select_func() and just return 'false' if you don't want the
row to be selected.

--Daniel





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