The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

LibUI::Area::MouseEvent - LibUI::Area Mouse Event

SYNOPSIS

    TODO

DESCRIPTION

A LibUI::Area::Handler passes this when the mouseEvent callback is triggered.

Fields

Being a struct, a mouse event contains the following data:

x - horizontal position of the event
y - vertical position of the event
width - full width of the area
height - full height of the area
down - a value indicating which button has been released, if applicable
up - a value indicating which button has been released, if applicable
count - a value indicating how many buttons are currently pressed
modifiers - see LibUI::Area::Modifiers
Held1To64 - a value indicating which buttons are currently being pressed

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Sanko Robinson <sanko@cpan.org>