++ed by:
Damien Krotkine

NAME

Curses::Toolkit::Event::Shape - event that is related to root window shape change

VERSION

version 0.211

DESCRIPTION

Event that is related to root window shape change

CONSTRUCTOR

new

  input : type   : a type of Shape Event. STRING, should be one of Curses::Toolkit::Event::Shape->get_types()
          params : parameter of the event. Can be optional or mandatory. Call Curses::Toolkit::Event::Shape->get_params_definition($type) to see

METHODS

get_type

  my $type = $event->get_type();

Returns the type of the event.

get_types

Returns the types that this Event Class supports

  input  : none
  output : ARRAY of string.

get_params_definition

Returns the parameter definition for a given type, as specified in Params::Validate

  input  : the type name
  output : 0 OR 1 OR HASHREF

get_matching_widget

Returns the widget that is affected by the event. In this case, it returns root window, because Shape event is only related to the root window

  input  : none
  output : the root window

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.




Hosting generously
sponsored by Bytemark