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.gtk/Ocgtk_gtk/Gtk/Wrappers/Mount_operation/index.html

Module Wrappers.Mount_operation

type t = [ `mount_operation | `object_ ] Gobject.obj
val new_ : [ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option -> t

Create a new MountOperation

val set_parent : t -> [ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option -> unit

Sets the transient parent for windows shown by the `GtkMountOperation`.

val set_display : t -> Ocgtk_gdk.Gdk.Wrappers.Display.t -> unit

Sets the display to show windows of the `GtkMountOperation` on.

val is_showing : t -> bool

Returns whether the `GtkMountOperation` is currently displaying a window.

val get_parent : t -> [ `window | `widget | `initially_unowned | `object_ ] Gobject.obj option

Gets the transient parent used by the `GtkMountOperation`.

val get_display : t -> Ocgtk_gdk.Gdk.Wrappers.Display.t

Gets the display on which windows of the `GtkMountOperation` will be shown.