package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Wrappers.Drop_controller_motion

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

Create a new DropControllerMotion

val is_pointer : t -> bool

Returns if a Drag-and-Drop operation is within the widget @self, not one of its children.

val get_drop : t -> Ocgtk_gdk.Gdk.Wrappers.Drop.t option

Returns the `GdkDrop` of a current Drag-and-Drop operation over the widget of @self.

val contains_pointer : t -> bool

Returns if a Drag-and-Drop operation is within the widget @self or one of its children.

val on_enter : ?after:bool -> t -> callback:(x:float -> y:float -> unit) -> Gobject.Signal.handler_id
val on_leave : ?after:bool -> t -> callback:(unit -> unit) -> Gobject.Signal.handler_id
val on_motion : ?after:bool -> t -> callback:(x:float -> y:float -> unit) -> Gobject.Signal.handler_id