Gdk.PadEvent

g Gdk.Event Gdk.Event Gdk.PadEvent Gdk.PadEvent Gdk.Event->Gdk.PadEvent

Subclasses:

None

Methods

Inherited:

Gdk.Event (17)

get_axis_value ()

get_button ()

get_group_mode ()

Virtual Methods

None

Fields

None

Class Details

class Gdk.PadEvent
Bases:

Gdk.Event

Abstract:

No

An event related to a pad-based device.

get_axis_value()[source]
Returns:

index:

Return location for the axis index

value:

Return location for the axis value

Return type:

(index: int, value: float)

Extracts the information from a pad strip or ring event.

get_button()[source]
Returns:

the button of self

Return type:

int

Extracts information about the pressed button from a pad event.

get_group_mode()[source]
Returns:

group:

return location for the group

mode:

return location for the mode

Return type:

(group: int, mode: int)

Extracts group and mode information from a pad event.