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/Mount_operation/index.html

Module Wrappers.Mount_operation

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

Create a new MountOperation

val set_username : t -> string option -> unit

Sets the user name within @op to @username.

val set_pim : t -> int -> unit

Sets the mount operation's PIM to @pim.

val set_password_save : t -> Gio_enums.passwordsave -> unit

Sets the state of saving passwords for the mount operation.

val set_password : t -> string option -> unit

Sets the mount operation's password to @password.

val set_is_tcrypt_system_volume : t -> bool -> unit

Sets the mount operation to use a system volume if @system_volume is %TRUE.

val set_is_tcrypt_hidden_volume : t -> bool -> unit

Sets the mount operation to use a hidden volume if

_volume is %TRUE.

val set_domain : t -> string option -> unit

Sets the mount operation's domain.

val set_choice : t -> int -> unit

Sets a default choice for the mount operation.

val set_anonymous : t -> bool -> unit

Sets the mount operation to use an anonymous user if @anonymous is %TRUE.

val reply : t -> Gio_enums.mountoperationresult -> unit

Emits the #GMountOperation::reply signal.

val get_username : t -> string option

Get the user name from the mount operation.

val get_pim : t -> int

Gets a PIM from the mount operation.

val get_password_save : t -> Gio_enums.passwordsave

Gets the state of saving passwords for the mount operation.

val get_password : t -> string option

Gets a password from the mount operation.

val get_is_tcrypt_system_volume : t -> bool

Check to see whether the mount operation is being used for a TCRYPT system volume.

val get_is_tcrypt_hidden_volume : t -> bool

Check to see whether the mount operation is being used for a TCRYPT hidden volume.

val get_domain : t -> string option

Gets the domain of the mount operation.

val get_choice : t -> int

Gets a choice from the mount operation.

val get_anonymous : t -> bool

Check to see whether the mount operation is being used for an anonymous user.

val on_aborted : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id
val on_ask_password : ?after:bool -> t -> callback: (message:string -> default_user:string -> default_domain:string -> flags:Gio_enums.askpasswordflags -> unit) -> Gobject.Signal.handler_id
val on_reply : ?after:bool -> t -> callback:(result:Gio_enums.mountoperationresult -> unit) -> Gobject.Signal.handler_id
val on_show_unmount_progress : ?after:bool -> t -> callback:(message:string -> time_left:Int64.t -> bytes_left:Int64.t -> unit) -> Gobject.Signal.handler_id