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/Popover_menu_bar/index.html
Module Wrappers.Popover_menu_bar
type t =
[ `popover_menu_bar | `widget | `initially_unowned | `object_ ] Gobject.objval new_from_model : Ocgtk_gio.Gio.Wrappers.Menu_model.t option -> tCreate a new PopoverMenuBar
Sets a menu model from which @bar should take its contents.
val remove_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
boolRemoves a widget that has previously been added with gtk_popover_menu_bar_add_child().
Returns the model from which the contents of @bar are taken.
val add_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj ->
string ->
boolAdds a custom widget to a generated menubar.
For this to work, the menu model of @bar must have an item with a `custom` attribute that matches @id.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>