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/Application_window/index.html
Module Wrappers.Application_window
type t =
[ `application_window | `window | `widget | `initially_unowned | `object_ ]
Gobject.objval new_ : [ `application | `object_ ] Gobject.obj -> tCreate a new ApplicationWindow
Sets whether the window will display a menubar for the app menu and menubar as needed.
val set_help_overlay :
t ->
[ `shortcuts_window | `window | `widget | `initially_unowned | `object_ ]
Gobject.obj
option ->
unitAssociates a shortcuts window with the application window.
Additionally, sets up an action with the name `win.show-help-overlay` to present it.
@window takes responsibility for destroying @help_overlay.
Returns whether the window will display a menubar for the app menu and menubar as needed.
val get_id : t -> intReturns the unique ID of the window.
If the window has not yet been added to a `GtkApplication`, returns `0`.
val get_help_overlay :
t ->
[ `shortcuts_window | `window | `widget | `initially_unowned | `object_ ]
Gobject.obj
optionGets the `GtkShortcutsWindow` that is associated with @window.
See method@Gtk.ApplicationWindow.set_help_overlay.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>