class type ['a]
list_behaviour = object
.. end
Inherits
method elements : string -> 'a list
get the elements from a directory
method update_element : 'a -> unit
add or update element
method remove_element : string -> unit
method t_of_cvs_info : Ocvs_types.cvs_info -> 'a
method cvs_info_of_t : 'a -> Ocvs_types.cvs_info
method comparison_function : int -> 'a -> 'a -> int
return a comparison function in function of a number (0-based) of column.
The comparison function is used to sort a list of elements.
method display_strings : 'a -> string option * string list
the function giving the optional color and the
strings to display for a file in a list
method titles : string list
the titles of columns
method autorize_file : 'a -> autorization_response
to call for each file before performing an operation on it,
for example to save a file before a commit.
method after_action : 'a -> unit
to call after an operation on a file,
for example, to reload a file after an update.
method menu_ctx : 'a list -> GToolbox.menu_entry list
to get the contextual menu, depending on the selected elements
method select : 'a -> unit
to call when an element is selected
method unselect : 'a -> unit
to call when an element is unselected
method double_click : 'a -> unit
to call when an element is double clicked
method needs_cvs_status : bool
indicate whether the update of the list needs a 'cvs status'.