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

Module Wrappers.Cell_area_box

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

Create a new CellAreaBox

val set_spacing : t -> int -> unit

Sets the spacing to add between cell renderers in @box.

val pack_start : t -> [ `cell_renderer | `initially_unowned | `object_ ] Gobject.obj -> bool -> bool -> bool -> unit

Adds @renderer to @box, packed with reference to the start of @box.

The @renderer is packed after any other `GtkCellRenderer` packed with reference to the start of @box.

val pack_end : t -> [ `cell_renderer | `initially_unowned | `object_ ] Gobject.obj -> bool -> bool -> bool -> unit

Adds @renderer to @box, packed with reference to the end of @box.

The @renderer is packed after (away from end of) any other `GtkCellRenderer` packed with reference to the end of @box.

val get_spacing : t -> int

Gets the spacing added between cell renderers.