Re: [gtkmm] prevent selection of a treeview node
- From: Daniel Elstner <daniel elstner gmx net>
- To: triendl klaus <triendl kj aon at>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] prevent selection of a treeview node
- Date: 08 Dec 2002 02:58:11 +0100
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]