NAME

Curses::Toolkit::Event::Mouse::Click - event that is related to mouse click

VERSION

version 0.208

DESCRIPTION

Event that is related to mouse click

CONSTRUCTOR

new

input : type   : a type of mouse click. STRING, can be one of (see below)
        button : the button that was clicked. STRING, can be (see below) 
        coordinates : Curses::Toolkit::Object::Coordinates : where the click happened
        root_window : Curses::Toolkit : the root window object

type can be one of :
pressed released clicked double_clicked
triple_clicked shift ctrl alt

button can be one of :
button1 button2 button3 button4 button5 button

get_matching_widget

Returns the widget that is affected by the event. In this case, it returns the widget where the click were done

input  : none
output : the widget that is affected by the event

AUTHOR

Damien "dams" Krotkine

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Damien "dams" Krotkine.

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