Curses::Toolkit::Event::Key - event that is related to keystrokes
Event that is related to keystrokes
input : type : a type of Key Event. STRING, should be one of Curses::Toolkit::Event::Key->get_types() params : parameter of the event. Can be optional or mandatory. Call Curses::Toolkit::Event::Key->get_params_definition($type) to see root_window : the root window
my $type = $event->get_type();
Returns the type of the event.
Returns the types that this Event Class supports
input : none output : ARRAY of string.
Returns the parameter definition for a given type, as specified in Params::Validate
input : the type name output : 0 OR 1 OR HASHREF
Returns the widget that is affected by the event. In this case, it returns the widget that currently has the focus
input : none output : the widget that is affected by the event
Damien "dams" Krotkine
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.