开发者

GTK Tree prevent selecting rows

开发者 https://www.devze.com 2023-03-13 05:50 出处:网络
I am doing a GTK C program on Windows and I want to prevent the user from 开发者_Python百科being able to select/highlight any rows in the tree view. Can anyone point me in the right direction?The \"gt

I am doing a GTK C program on Windows and I want to prevent the user from 开发者_Python百科being able to select/highlight any rows in the tree view. Can anyone point me in the right direction?


The "gtk_tree_selection_set_select_function ()" seems to be exactly what you want.

http://developer.gnome.org/gtk/2.24/GtkTreeSelection.html#gtk-tree-selection-set-select-function

0

精彩评论

暂无评论...
验证码 换一张
取 消