Hey, is there anybody out there than can give me a really short example of
retrieving text from an Entry box?  I see in the documentation that you use
the $entry-gtget, but there aren't any syntax examples.

What I have so far:

use tk;
my $main = MainWindow->new();
$main->minsize(100,100);
$main->configure( -background => 'white' );
my $frame = $main->Frame()->pack( -fill => 'both' );
my $entry = $frame->Entry()->pack( -side => 'left' );
$entry->insert(0,'Default Text');

???

Drawing a window isn't very useful if I can't get information back from it.

Tim Johnson
SanDisk



--------------------------------------------------------------------------------
This email may contain confidential and privileged 
material for the sole use of the intended recipient. 
If you are not the intended recipient, please contact 
the sender and delete all copies.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to