package ocgtk

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

Module Wrappers.Shortcuts_section

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

Adds a group to the shortcuts section.

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

Adding children with the `GtkBox` API is not appropriate, as `GtkShortcutsSection` manages its children internally.

val get_max_height : t -> int

Get property: max-height

val set_max_height : t -> int -> unit

Set property: max-height

val get_section_name : t -> string

Get property: section-name

val set_section_name : t -> string -> unit

Set property: section-name

val get_title : t -> string

Get property: title

val set_title : t -> string -> unit

Set property: title

val get_view_name : t -> string

Get property: view-name

val set_view_name : t -> string -> unit

Set property: view-name

val on_change_current_page : ?after:bool -> t -> callback:(object_:int -> bool) -> Gobject.Signal.handler_id