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
GUIDeFATE::convert($window);
my $gui=GUIDeFATE->new();
$frame->{stattext21}->SetForegroundColour( Wx::Colour->new(255, 0, 0) );
$gui->MainLoop;
REQUIRES
Perl5.8.8, Exporter, Wx, Wx::Perl::Imagick
EXPORTS
$frame
DESCRIPTION
GUIDeFATE enables the user to convert a textual representtaion into a Graphical user Interface 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
- GUIDeFATE::convert($window, $options)
-
Extracts dimensions and wdigets in a window from the etxual representation
- new GUIDeFATE("wx")
-
Creates and returns a new Application using a previously converted frame
AUTHOR
Saif Ahmed, SAIFTYNET { at } gmail.com