Class

GtkEventControllerMotion

Description [src]

final class Gtk.EventControllerMotion : Gtk.EventController
{
 /* No available fields */
}

GtkEventControllerMotion is an event controller meant for situations where you need to track the position of the pointer.

This object was added in 3.24.

Hierarchy

hierarchy this GtkEventControllerMotion ancestor_0 GtkEventController ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Ancestors

Constructors

gtk_event_controller_motion_new

Creates a new event controller that will handle motion events for the given widget.

since: 3.24

Instance methods

Methods inherited from GtkEventController (5)
gtk_event_controller_get_propagation_phase

Gets the propagation phase at which controller handles events.

since: 3.14

gtk_event_controller_get_widget

Returns the GtkWidget this controller relates to.

since: 3.14

gtk_event_controller_handle_event

Feeds an events into controller, so it can be interpreted and the controller actions triggered.

since: 3.14

gtk_event_controller_reset

Resets the controller to a clean state. Every interaction the controller did through GtkEventController::handle-event will be dropped at this point.

since: 3.14

gtk_event_controller_set_propagation_phase

Sets the propagation phase at which a controller handles events.

since: 3.14

Methods inherited from (43)

Please see for a full list of methods.

Properties

Properties inherited from GtkEventController (2)
Gtk.EventController:propagation-phase

The propagation phase at which this controller will handle events.

since: 3.14

Gtk.EventController:widget

The widget receiving the GdkEvents that the controller will handle.

since: 3.14

Signals

Gtk.EventControllerMotion::enter

Signals that the pointer has entered the widget.

Gtk.EventControllerMotion::leave

Signals that pointer has left the widget.

Gtk.EventControllerMotion::motion

Emitted when the pointer moves inside the widget.

Signals inherited from (1)

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GtkEventControllerMotionClass {
 /* no available fields */
}

No description available.

AltStyle によって変換されたページ (->オリジナル) /