Modern wx perl

778 views
698 views

Published on

proposal for the GCL = Gui Composition Language to significantly simplify building surface of programs and maybe unifiy the API.

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
778
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Modern wx perl

  1. 1. Modern WxPerl ?
  2. 2. Herbert Breunung
  3. 3. Psy Ops
  4. 4. Im not chromatic
  5. 5. New ModulesTie::Wx::Widget
  6. 6. New ModulesTie::Wx::???
  7. 7. New Modules GCL::Wx
  8. 8. New ModulesGCL::Wx ???
  9. 9. GCL
  10. 10. GuiCompositionLanguage
  11. 11. Gui Composition Lang Rebol Prima FreeTuit
  12. 12. Gui Composition Lang GCL::Wx
  13. 13. Minimal Wx Program
  14. 14. package SimpleApp;our @ISA = Wx::App;use Wx;sub OnInit { my $app = shift; my $frame = Wx::Frame->new ( undef, -1, " Topic "); $frame->Center; $frame->Show(1); $app->SetTopWindow($frame); 1;}package main;SimpleApp->new->MainLoop;
  15. 15. package SimpleApp;our @ISA = Wx::App;use Wx;sub OnInit { my $app = shift; my $frame = Wx::Frame->new ( undef, -1, " Topic "); my $text = Wx::StaticText->new( $frame, -1, This is the Text); $text->SetForegroundColour( Wx::Colour->new(0, 0, 255) ); my $sizer = Wx::BoxSizer->new( &Wx::wxHORIZONTAL ); $sizer->Add( $text, 1, &Wx::wxGROW | &Wx::wxALL, 5); $frame->SetSizer($sizer); $frame->Fit(); $frame->Center; $frame->Show(1); $app->SetTopWindow($frame); 1;}package main;SimpleApp->new->MainLoop;
  16. 16. package SimpleApp;our @ISA = Wx::App;use Wx;sub OnInit { my $app = shift; my $frame = Wx::Frame->new ( undef, -1, " Topic "); my $panel = Wx::Panel->new($frame); my $text = Wx::StaticText->new( $panel, -1, This is the Text); $text->SetForegroundColour( Wx::Colour->new( 0, 0, 255) ); my $sizer = Wx::BoxSizer->new( &Wx::wxHORIZONTAL ); $sizer->Add( $text, 1, &Wx::wxGROW | &Wx::wxALL, 5 ); my $psizer = Wx::BoxSizer->new( &Wx::wxHORIZONTAL ); $psizer->Add( $panel, 1, &Wx::wxGROW | &Wx::wxALL); $frame->SetSizer($psizer); $frame->Fit(); $frame->Center; $frame->Show(1); $app->SetTopWindow($frame); 1;}package main;SimpleApp->new->MainLoop;
  17. 17. package SimpleApp;our @ISA = Wx::App;use GCL::Wx;sub OnInit { GCL::Wx::Frame ( text, This is the Text, blue )->Show; 1;}package main;SimpleApp->new->MainLoop;
  18. 18. my $frame = GCL::Wx::frame ( title "topic", text "mytext" blue, line 2px, row ( button "OK", button "Cancel" ),);
  19. 19. Gui Composition Lang● joy 2 GUI programming
  20. 20. Gui Composition Lang● joy 2 GUI programming (less syntax)
  21. 21. Gui Composition Lang● joy 2 GUI programming ● no tech clutter
  22. 22. Gui Composition Lang● joy 2 GUI programming ● no tech clutter(apps, file formats, tools)
  23. 23. Gui Composition Lang● joy 2 GUI programming ● no tech barrier(apps, file formats, tools)
  24. 24. Gui Composition Lang● joy 2 GUI programming ● no tech barrier (optional MVC)
  25. 25. Gui Composition Lang● joy 2 GUI programming ● no tech clutter ● unifying API
  26. 26. Gui Composition Lang ● joy 2 GUI programming ● no tech clutter ● unifying API(Wx, Gtk, Tk, Prima, Perl 6)
  27. 27. Gui Composition Lang● joy 2 GUI programming ● no tech clutter ● unifying API ● new and outstanding
  28. 28. Gui Composition Lang● joy 2 GUI programming ● no tech clutter ● unifying API ● new and outstanding (Perl is cool)
  29. 29. Gui Composition Lang● joy 2 GUI programming ● no tech clutter ● unifying API ● new and outstanding
  30. 30. Modern WxPerlThank You

×