package lablgtk3-extras

  1. Overview
  2. Docs

This class builds a frame with a list and three buttons : one to add items, one to move up selected items, and one to remove the selected items. The class takes in parameter a function used to add items and a list ref which is used to store the content of the list. At last, a title for the frame is also in parameter, so that each instance of the class creates a frame.

method box : GBin.event_box

This method returns the frame created.

method update_row : Gtk.tree_iter -> 'a -> unit
method update_listref : unit
method update : 'a list -> unit
method get_list_as_rr : GTree.row_reference list
method up_selected : unit

Move up the selected rows.

method edit_selected : ('a -> 'a) -> unit

Make the user edit the first selected row.

OCaml

Innovation. Community. Security.