Zane C. Bowers > ZConf-Runner-1.0.0 > ZConf::Runner::GUI

Download:
ZConf-Runner-1.0.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.0.0   Source   Latest Release: ZConf-Runner-2.1.3

NAME ^

ZConf::Runner::GUI - Various GUI stuff for ZConf::Runner.

VERSION ^

Version 0.0.0

SYNOPSIS ^

This provides the ask dialog used by ZConf::Runner.

    use ZConf::Runner::GUI;

    my $zcr=ZConf::Runner->new();

FUNCTIONS ^

new

This initializes it.

One arguement is taken and that is a hash value.

hash values

zcrunner

This is a ZConf::Runner object to use. If it is not specified, a new one will be created.

zconf

This is the ZConf object to use. If it is not specified the one in the object for zcrunner will be used. If neither zconf or zcrunner is specified, a new one is created.

zcgui

ask

This is creates a Curses::UI asking what to do.

The first agruement is the action to be performed. The second is the file it is to be performed on. The third is an optional hash. It's accepted keys are as below.

hash args

Both hash args are currently required.

action

This is the action to be performed on the object.

object

This is the object to act on.

    my $returned=$zcr->ask({action=>'view', object=>'/tmp/test.rdf'});
    if($zcr->{error}){
        print "Error!\n";
    }else{
        if($returned){
            print "Action setup.\n";
        }
    }

dialogs

This returns the available dailogs.

windows

This returns a list of available windows.

errorblank

This blanks the error storage and is only meant for internal usage.

It does the following.

    $self->{error}=undef;
    $self->{errorString}="";

DIALOGS ^

ask

WINDOWS ^

At this time, no windows are supported.

ERROR CODES ^

1

This means ZConf errored.

2

Initializing ZConf::GUI failed.

3

Initializing ZConf::Runner failed.

4

Failed to initailize the primary backend.

AUTHOR ^

Zane C. Bowers, <vvelox at vvelox.net>

BUGS ^

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

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc ZConf::Runner

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2008 Zane C. Bowers, all rights reserved.

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