NAME

Class::Declarative::EventContext - base class implementing an event context in a declarative structure.

VERSION

Version 0.01

SYNOPSIS

Each node in a Class::Declarative structure that can respond to events can inherit from this class to get the proper machinery in place.

event_context_init()

Called during object creation to set up fields and such.

value($var)

Returns the global application value named.

event_context()

Returns $self, the event context of last resort.

register_event($event, $closure), fire ($event)

Registers and fires closures by name. This is the mechanism used by the 'on' tag in the core semantics.

AUTHOR

Michael Roberts, <michael at vivtek.com>

BUGS

Please report any bugs or feature requests to bug-wx-definedui at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Wx-DefinedUI. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

LICENSE AND COPYRIGHT

Copyright 2010 Michael Roberts.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.