in reply to Assigning variables with mouse highlighting
my $mw = MainWindow->new; my $txt = $mw->Text(-height => 5, -width => 40); $txt->bind('<Double-Button-1>', sub { local $\ = "\n"; print $txt +->getSelected}); $txt->pack;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Assigning variables with mouse highlighting
by Anonymous Monk on Feb 03, 2005 at 23:47 UTC |