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/Pad_controller/index.html
Module Wrappers.Pad_controller
type t = [ `pad_controller | `event_controller | `object_ ] Gobject.objval new_ :
Ocgtk_gio.Gio.Wrappers.Action_group.t ->
Ocgtk_gdk.Gdk.Wrappers.Device.t option ->
tCreate a new PadController
val set_action_entries :
t ->
[ `pad_action_entry ] Gobject.obj array ->
int ->
unitA convenience function to add a group of action entries on @controller.
See struct@Gtk.PadActionEntry and method@Gtk.PadController.set_action.
val set_action :
t ->
Gtk_enums.padactiontype ->
int ->
int ->
string ->
string ->
unitAdds an individual action to @controller.
This action will only be activated if the given button/ring/strip number in @index is interacted while the current mode is @mode. -1 may be used for simple cases, so the action is triggered on all modes.
The given @label should be considered user-visible, so internationalization rules apply. Some windowing systems may be able to use those for user feedback.
val get_action_group : t -> Ocgtk_gio.Gio.Wrappers.Action_group.tGet property: action-group
val get_pad : t -> Ocgtk_gdk.Gdk.Wrappers.Device.tGet property: pad
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>