About my projects, examples and tutorials
Gnome::Gdk4::ButtonEvent

Gnome::Gdk4::ButtonEvent

Description

An event related to a button on a pointer device.

Class initialization

new

:native-object

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )

Methods

get-button

Extract the button number from a button event.

method get-button (--> UInt )

Return value; the button of $event.