package ocgtk

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

Module Wrappers.Event_controller_motion

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

Create a new EventControllerMotion

val is_pointer : t -> bool

Returns if a pointer is within @self, but not one of its children.

val contains_pointer : t -> bool

Returns if a pointer is within @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