Gnome::Gdk4::PadEvent
Table of Contents
Description§
An event related to a pad-based 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! )
Code
Methods§
get-axis-value§
Extracts the information from a pad strip or ring event.
method get-axis-value ( Array[Int] $index, Num() $value )
Code
- $index; (transfer ownership: full) Return location for the axis index.
- $value; (transfer ownership: full) Return location for the axis value.
get-button§
Extracts information about the pressed button from a pad event.
method get-button (--> UInt )
Code
Return value; the button of $event.
get-group-mode§
Extracts group and mode information from a pad event.
method get-group-mode ( Array[Int] $group, Array[Int] $mode )
Code
- $group; (transfer ownership: full) return location for the group.
- $mode; (transfer ownership: full) return location for the mode.
About my projects, examples and tutorials