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 -> 'a7 -> unit
method update_listref : unit
method update : 'a8 list -> unit
method get_list_as_rr : GTree.row_reference list
method up_selected : unit

Move up the selected rows.

method edit_selected : ('a2 -> 'a3) -> unit

Make the user edit the first selected row.