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

Gnome::Gdk4::ButtonEvent

Description§

An event related to a button on a pointer device.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/ButtonEvent.png> :width<70\%>

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! )
Code

Methods§

get-button§

Extract the button number from a button event.

method get-button (--> UInt )
Code

Return value; the button of $event.