package lablgtk3-extras

  1. Overview
  2. Docs
A collection of additional tools and libraries to develop ocaml applications based on Lablgtk3

Install

Dune Dependency

Authors

Maintainers

Sources

lablgtk-extras-3.0.1.tar.bz2
md5=a1e65cb9a1b8f0d61da2541599051d9e
sha512=a14faba4a0bd679311ad7c00fd80bb768727e70c84591af51e880a928a545e51c020d5fb3d51752162aff1525a6cd1606a25199e18c0c368b8d112d253bd7320

doc/lablgtk3-extras.configwin/Configwin_ihm/class-list_selection_box/index.html

Class Configwin_ihm.list_selection_boxSource

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.