package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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_section/index.html
Module Wrappers.Shortcuts_section
type t =
[ `shortcuts_section | `box | `widget | `initially_unowned | `object_ ]
Gobject.objval add_group :
t ->
[ `shortcuts_group | `box | `widget | `initially_unowned | `object_ ]
Gobject.obj ->
unitAdds 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 -> intGet property: max-height
val set_max_height : t -> int -> unitSet property: max-height
val get_section_name : t -> stringGet property: section-name
val set_section_name : t -> string -> unitSet property: section-name
val get_title : t -> stringGet property: title
val set_title : t -> string -> unitSet property: title
val get_view_name : t -> stringGet property: view-name
val set_view_name : t -> string -> unitSet property: view-name
val on_change_current_page :
?after:bool ->
t ->
callback:(object_:int -> bool) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>