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.gdk/Ocgtk_gdk/Gdk/Surface/class-surface/index.html

Class Surface.surface

method on_enter_monitor : ?after:bool -> callback: (monitor:Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.monitor_t -> unit) -> unit -> Gobject.Signal.handler_id
method on_event : ?after:bool -> callback: (event:Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.event_t -> bool) -> unit -> Gobject.Signal.handler_id
method on_layout : ?after:bool -> callback:(width:int -> height:int -> unit) -> unit -> Gobject.Signal.handler_id
method on_leave_monitor : ?after:bool -> callback: (monitor:Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.monitor_t -> unit) -> unit -> Gobject.Signal.handler_id
method beep : unit -> unit
method create_cairo_context : unit -> Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.cairo_context_t
method create_gl_context : unit -> (Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.gl_context_t, GError.t) result
method create_similar_surface : Ocgtk_cairo.Cairo.content -> int -> int -> Ocgtk_cairo.Cairo.Surface.surface_t
method create_vulkan_context : unit -> (Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.vulkan_context_t, GError.t) result
method destroy : unit -> unit
method get_cursor : unit -> Ocgtk_gdk__.GCursor.cursor_t option
method get_device_cursor : Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.device_t -> Ocgtk_gdk__.GCursor.cursor_t option
method get_display : unit -> Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.display_t
method get_frame_clock : unit -> Ocgtk_gdk__.GFrame_clock.frame_clock_t
method get_height : unit -> int
method get_mapped : unit -> bool
method get_scale : unit -> float
method get_scale_factor : unit -> int
method get_width : unit -> int
method hide : unit -> unit
method is_destroyed : unit -> bool
method queue_render : unit -> unit
method request_layout : unit -> unit
method set_cursor : Ocgtk_gdk__.GCursor.cursor_t option -> unit
method set_device_cursor : Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.device_t -> Ocgtk_gdk__.GCursor.cursor_t -> unit
method set_input_region : Ocgtk_cairo.Cairo.Region.region_t -> unit
method set_opaque_region : Ocgtk_cairo.Cairo.Region.region_t option -> unit
method as_surface : Ocgtk_gdk__.App_launch_context_cycle_de440b34.Surface.t