Sprog::TextGearView.3pm

Langue: en

Autres versions - même langue

Version: 2005-07-24 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Sprog::TextGearView - a text-mode 'view' for a Sprog gear

DESCRIPTION

This class implements the 'view' logic for a gear when running in "--nogui" mode. It performs no useful function other than providing empty implementations of methods which the Sprog application requires.

Gears may implement custom gear view classes which inherit from this class (and presumably add useful text-mode functionality). For example, the Sprog::Gear::TextWindow uses the custom view class Sprog::TextGearView::TextWindow which outputs text to STDOUT rather than to a window.

CLASS METHODS

new ( key => value, ... )

Constructor. Called from Sprog::TextView.

NULL METHODS

The following methods are required to exist by the Sprog framework, but are implemented as methods that do nothing. They can of course be overridden by text view classes that want to handle them.

set_title_text

Copyright 2005 Grant McLean <grantm@cpan.org>

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