Index

Package: Set_Row_Separator_Func_User_Data (generic)

Description

generic
      type User_Data_Type (<>) is private;
      with procedure Destroy (Data : in out User_Data_Type) is null;
   package Set_Row_Separator_Func_User_Data is

Types

User_Data_Type

type User_Data_Type (<>) is private;

Gtk_Tree_View_Row_Separator_Func

type Gtk_Tree_View_Row_Separator_Func is access function
        (Model : Gtk.Tree_Model.Gtk_Tree_Model;
         Iter  : Gtk.Tree_Model.Gtk_Tree_Iter;
         Data  : User_Data_Type) return Boolean;
Function type for determining whether the row pointed to by Iter should be rendered as a separator. A common way to implement this is to have a boolean column in the model, whose values the Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func returns. "model": the Gtk.Tree_Model.Gtk_Tree_Model "iter": a Gtk.Tree_Model.Gtk_Tree_Iter pointing at a row in Model "data": user data

Subprograms & Entries

Destroy

procedure Destroy 
(Data: in out User_Data_Type) is null;

Set_Row_Separator_Func

procedure Set_Row_Separator_Func 
(Tree_View: not null access Gtk.Tree_View.Gtk_Tree_View_Record'Class;
Func: Gtk_Tree_View_Row_Separator_Func;
Data: User_Data_Type);
Sets the row separator function, which is used to determine whether a row should be drawn as a separator. If the row separator function is null, no separators are drawn. This is the default value. Since: gtk+ 2.6 "func": a Gtk.Tree_View.Gtk_Tree_View_Row_Separator_Func "data": user data to pass to Func, or null