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

Module Wrappers.Shortcuts_group

type t = [ `shortcuts_group | `box | `widget | `initially_unowned | `object_ ] Gobject.obj
val add_shortcut : t -> [ `shortcuts_shortcut | `widget | `initially_unowned | `object_ ] Gobject.obj -> unit

Adds a shortcut to the shortcuts group.

This is the programmatic equivalent to using class@Gtk.Builder and a `<child>` tag to add the child. Adding children with other API is not appropriate as `GtkShortcutsGroup` manages its children internally.

val set_accel_size_group : t -> [ `size_group | `object_ ] Gobject.obj -> unit

Set property: accel-size-group

val get_height : t -> int

Get property: height

val get_title : t -> string

Get property: title

val set_title : t -> string -> unit

Set property: title

val set_title_size_group : t -> [ `size_group | `object_ ] Gobject.obj -> unit

Set property: title-size-group

val get_view : t -> string

Get property: view

val set_view : t -> string -> unit

Set property: view