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/Single_selection/class-single_selection/index.html

Class Single_selection.single_selection

inherit Ocgtk_gio.Gio.List_model.list_model_t
inherit Ocgtk_gtk__.GSection_model.section_model_t
inherit Ocgtk_gtk__.GSelection_model.selection_model_t
method get_autoselect : unit -> bool
method get_can_unselect : unit -> bool
method get_model : unit -> Ocgtk_gio.Gio.List_model.list_model_t option
method get_selected : unit -> int
method get_selected_item : unit -> [ `object_ ] Gobject.obj option
method set_autoselect : bool -> unit
method set_can_unselect : bool -> unit
method set_model : Ocgtk_gio.Gio.List_model.list_model_t option -> unit
method set_selected : int -> unit
method item_type : Gobject.Type.t
method n_items : int
method as_single_selection : Ocgtk_gtk__.Single_selection.t