This link has been bookmarked by 4 people . It was first bookmarked on 04 Mar 2008, by Alberto Adrián Schiano.
-
12 May 10
-
None of the code described so far would do much good without the MainLoop() call. The MainLoop() call is what displays the screen. It's kinda/sorta the equivalent of a Windows event loop.
-
allback functions in C are pointers to functions, and in Perl they're references to functions.
-
Anonymous
sub{print "\007"}
Reference
&\soundbell
String syntax
'soundbell' -
my $type = $_ [ 0 ] ;
my $self = { } ;
bless ( $self , $type ) ;
$self-> { 'mw' } = MainWindow->new(); -
[ \&MyScreen::printstrings , $self , "Hello" , "World" ]
-
package main;
my $app = MyScreen->new(); -
$self->mymethod() is the same as mymethod($self). D
-
-
04 Mar 08
Page Comments
Otro tutorial de perl/Tk completo, bueno y basico
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.