procedure Destroy (Data : in out User_Data_Type)
type Gtk_Tree_Selection_Func is access function
(Selection : not null access Gtk.Tree_Selection.Gtk_Tree_Selection_Record'Class;
Model : Gtk.Tree_Model.Gtk_Tree_Model;
Path : Gtk.Tree_Model.Gtk_Tree_Path;
Path_Currently_Selected : Boolean;
Data : User_Data_Type) return Boolean;
A function used by Gtk.Tree_Selection.Set_Select_Function to filter whether or not a row may be selected. It is called whenever a row's state might change. A return value of True indicates to Selection that it is okay to change the selection.
A Gtk.Tree_Selection.Gtk_Tree_Selection
A Gtk.Tree_Model.Gtk_Tree_Model being viewed
The Gtk.Tree_Model.Gtk_Tree_Path of the row in question
True, if the path is currently selected
user data
True, if the selection state of the row can be toggled
procedure Set_Select_Function
(Selection : not null access Gtk.Tree_Selection.Gtk_Tree_Selection_Record'Class;
Func : Gtk_Tree_Selection_Func;
Data : User_Data_Type)
Sets the selection function. If set, this function is called before any node is selected or unselected, giving some control over which nodes are selected. The select function should return True if the state of the node may be toggled, and False if the state of the node should be left unchanged.
The selection function. May be null
The selection function's data. May be null
type User_Data_Type (<>) is private;