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/Drive/class-drive/index.html

Class Drive.drive

method on_changed : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_disconnected : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_eject_button : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_stop_button : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method can_eject : unit -> bool
method can_poll_for_media : unit -> bool
method can_start : unit -> bool
method can_start_degraded : unit -> bool
method can_stop : unit -> bool
method eject_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method eject_with_operation_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method enumerate_identifiers : unit -> string array
method get_icon : unit -> Ocgtk_gio__.GIcon.icon_t
method get_identifier : string -> string option
method get_name : unit -> string
method get_sort_key : unit -> string option
method get_start_stop_type : unit -> Ocgtk_gio__.Gio_enums.drivestartstoptype
method get_symbolic_icon : unit -> Ocgtk_gio__.GIcon.icon_t
method get_volumes : unit -> Ocgtk_gio__.GApp_info_cycle_64c425a0.volume_t list
method has_media : unit -> bool
method has_volumes : unit -> bool
method is_media_check_automatic : unit -> bool
method is_media_removable : unit -> bool
method is_removable : unit -> bool
method poll_for_media_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method start_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method stop_finish : Ocgtk_gio__.GAsync_result.async_result_t -> (bool, GError.t) result
method as_drive : Ocgtk_gio__.App_info_cycle_64c425a0.Drive.t