demos::widget_lib::trace2(3pm) | perl/Tk Documentation | demos::widget_lib::trace2(3pm) |
Tk::TraceText - Text contents defined by a traced variable.
$tt = $parent->TraceText(-option => value, ... );
Create a new TraceText widget that is derived from the standard Text widget. Because it inherits all the base options and methods it behaves just like a Text widget. Additionally, TraceText adds a -textvariable option, which is a reference to a Perl scalar that defines the contents of the widget.
Based on the Tcl/Tk TracedText "overridden widget" by Kevin Kenny.
Standard Text widget methods.
None.
my $tt = $mw->TraceText( -textvariable => \$scalar );
Stephen.O.Lidie@Lehigh.EDU
Copyright (C) 2003 - 2004, Steve Lidie. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
text, trace
2023-03-23 | Tk804.036 |