package ocgtk

  1. Overview
  2. Docs
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/Unix_mount_monitor/index.html

Module Wrappers.Unix_mount_monitor

type t = [ `unix_mount_monitor | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new UnixMountMonitor

val set_rate_limit : t -> int -> unit

This function does nothing.

Before 2.44, this was a partially-effective way of controlling the rate at which events would be reported under some uncommon circumstances. Since @mount_monitor is a singleton, it also meant that calling this function would have side effects for other users of the monitor.

val on_mountpoints_changed : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id
val on_mounts_changed : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id