package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Multi_sorter/index.html

Module Wrappers.Multi_sorter

type t = [ `multi_sorter | `sorter | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new MultiSorter

val remove : t -> int -> unit

Removes the sorter at the given @position from the list of sorter used by @self.

If @position is larger than the number of sorters, nothing happens.

val append : t -> [ `sorter | `object_ ] Gobject.obj -> unit

Add @sorter to @self to use for sorting at the end.

@self will consult all existing sorters before it will sort with the given @sorter.

val get_item_type : t -> Gobject.Type.t

Get property: item-type

val get_n_items : t -> int

Get property: n-items