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

Module Wrappers.Shortcuts_shortcut

type t = [ `shortcuts_shortcut | `widget | `initially_unowned | `object_ ] Gobject.obj
val set_accel_size_group : t -> [ `size_group | `object_ ] Gobject.obj -> unit

Set property: accel-size-group

val get_accelerator : t -> string

Get property: accelerator

val set_accelerator : t -> string -> unit

Set property: accelerator

val get_action_name : t -> string

Get property: action-name

val set_action_name : t -> string -> unit

Set property: action-name

val get_direction : t -> Gtk_enums.textdirection

Get property: direction

val set_direction : t -> Gtk_enums.textdirection -> unit

Set property: direction

Get property: icon

val set_icon : t -> Ocgtk_gio.Gio.Wrappers.Icon.t -> unit

Set property: icon

val get_icon_set : t -> bool

Get property: icon-set

val set_icon_set : t -> bool -> unit

Set property: icon-set

val get_shortcut_type : t -> Gtk_enums.shortcuttype

Get property: shortcut-type

val set_shortcut_type : t -> Gtk_enums.shortcuttype -> unit

Set property: shortcut-type

val get_subtitle : t -> string

Get property: subtitle

val set_subtitle : t -> string -> unit

Set property: subtitle

val get_subtitle_set : t -> bool

Get property: subtitle-set

val set_subtitle_set : t -> bool -> unit

Set property: subtitle-set

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