The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

GUIDeFATE

GUIDeFATE - Graphical User Interface Design From A Text Editor

SYNOPSIS

    use GUIDeFATE qw<$frame>;

    my $window=<<END;
    +------------------------+
    |T  Calculator           |
    +M-----------------------+
    |  [                  ]  |
    |  { V }{ % }{ C }{AC }  |
    |  { 1 }{ 2 }{ 3 }{ + }  |
    |  { 4 }{ 5 }{ 6 }{ - }  |
    |  { 7 }{ 8 }{ 9 }{ * }  |
    |  { . }{ 0 }{ = }{ / }  |
    |  made with GUIdeFATE   |
    |  and happy things      |
    +------------------------+

    END

    my $gui=GUIDeFATE->new($window);
    $frame=$gui->getFrame;
    $gui->MainLoop;

REQUIRES

Perl5.8.8, Exporter, Wx, Wx::Perl::Imagick (for Wx interface) Perl5.8.8, Exporter, Tk, Image::Imagick, Tk::JPEG, MIME::Base64 (for Tk interface)

EXPORTS

$frame

DESCRIPTION

GUIDeFATE enables the user to convert a textual representtaion into a Graphical user Interfac. It attempts to abstract out the underlying framework. A visually recognisable pattern is passed as a string to GUIDeFATE and this is transformed into an Interactive Interface.

METHODS

Creation

my $gui=GUIDeFATE->new($window, $backend, $options);

Extracts dimensions and wdigets in a window from the textual representation. If $options not pprovided, defaults to "Wx"; options are Wx and Tk. If $options contains "v", then a verbose output is sent to console, if it contains "a", and autogenerated file is produced with all the called functions

my $frame=$gui->getFrame;

Returns reference to the frame for both abstracted and backend specific functions.

AUTHOR

Saif Ahmed, SAIFTYNET { at } gmail.com

SEE ALSO

Wx, Tk, Image::Magick, Wx::Perl::Magick,