Re: How to emulate gtk_clist_set_selectable(clist, row, FALSE) with GtkTreeView?



Andrew W. Nosenko wrote:
: Is anyone know How to emulate
: 
:     gtk_clist_set_selectable(clist, row, FALSE);
: 
: with GtkTreeView and friends?
: 

Resolved.
    gtk_tree_selection_set_select_function()    /* [1] */
    
in pair with 
    (*GtkTreeSelectionFunc)()   /* [2] */

helps in this case.

[1] http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeSelection.html#gtk-tree-selection-set-select-function

[2] http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeSelection.html#GtkTreeSelectionFunc

-- 
Andrew W. Nosenko    (awn bcs zp ua)



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