package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Shortcut_label

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

Create a new ShortcutLabel

val set_disabled_text : t -> string -> unit

Sets the text to be displayed by @self when no accelerator is set.

val set_accelerator : t -> string -> unit

Sets the accelerator to be displayed by @self.

val get_disabled_text : t -> string option

Retrieves the text that is displayed when no accelerator is set.

val get_accelerator : t -> string option

Retrieves the current accelerator of @self.