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.gio/Ocgtk_gio/Gio/Wrappers/File_monitor/index.html
Module Wrappers.File_monitor
type t = [ `file_monitor | `object_ ] Gobject.objval set_rate_limit : t -> int -> unitSets the rate limit to which the @monitor will report consecutive change events to the same file.
val is_cancelled : t -> boolReturns whether the monitor is canceled.
val emit_event :
t ->
[ `file ] Gobject.obj ->
[ `file ] Gobject.obj ->
Gio_enums.filemonitorevent ->
unitEmits the #GFileMonitor::changed signal if a change has taken place. Should be called from file monitor implementations only.
Implementations are responsible to call this method from the thread-default main contextg-main-context-push-thread-default of the thread that the monitor was created in.
val cancel : t -> boolCancels a file monitor.
val get_cancelled : t -> boolGet property: cancelled
val on_changed :
?after:bool ->
t ->
callback:
(file:[ `file ] Gobject.obj ->
other_file:[ `file ] Gobject.obj option ->
event_type:Gio_enums.filemonitorevent ->
unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>