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/Stack_sidebar/index.html

Module Wrappers.Stack_sidebar

type t = [ `stack_sidebar | `widget | `initially_unowned | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new StackSidebar

val set_stack : t -> [ `stack | `widget | `initially_unowned | `object_ ] Gobject.obj -> unit

Set the `GtkStack` associated with this `GtkStackSidebar`.

The sidebar widget will automatically update according to the order and items within the given `GtkStack`.

val get_stack : t -> [ `stack | `widget | `initially_unowned | `object_ ] Gobject.obj option

Retrieves the stack.