package ocgtk

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

Module Wrappers.Shortcuts_window

type t = [ `shortcuts_window | `window | `widget | `initially_unowned | `object_ ] Gobject.obj
val add_section : t -> [ `shortcuts_section | `box | `widget | `initially_unowned | `object_ ] Gobject.obj -> unit

Adds a section to the shortcuts window.

This is the programmatic equivalent to using class@Gtk.Builder and a `<child>` tag to add the child.

Using method@Gtk.Window.set_child is not appropriate as the shortcuts window manages its children internally.

val get_section_name : t -> string

Get property: section-name

val set_section_name : t -> string -> unit

Set property: section-name

val get_view_name : t -> string

Get property: view-name

val set_view_name : t -> string -> unit

Set property: view-name

val on_close : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id