Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

widget(1) [centos man page]

WIDGET(1)						       perl/Tk Documentation							 WIDGET(1)

NAME
widget - Demonstration of Perl/Tk widgets SYNOPSYS
widget [ directory ] DESCRIPTION
This script demonstrates the various widgets provided by Tk, along with many of the features of the Tk toolkit. This file only contains code to generate the main window for the application, which invokes individual demonstrations. The code for the actual demonstrations is contained in separate ".pl" files in the "widget_lib" directory, which are autoloaded by this script as needed. widget looks in the directory specified on the command line to load user contributed demonstrations. If no directory name is specified when widget is invoked and the environment variable WIDTRIB is defined then demonstrations are loaded from the WIDTRIB directory. If WIDTRIB is undefined then widget defaults to the released user contributed directory, "widtrib". History # # Stephen O. Lidie, LUCC, 96/03/11. lusol@Lehigh.EDU # Stephen O. Lidie, LUCC, 97/01/01. lusol@Lehigh.EDU # Stephen O. Lidie, LUCC, 97/02/11. lusol@Lehigh.EDU # Stephen O. Lidie, LUCC, 97/06/07. lusol@Lehigh.EDU # Update for Tk402.00x. Total revamp: WidgetDemo, Scrolled, released # composites, -menuitems, qw//, etcetera. Perl 5.004 required. # Stephen O. Lidie, LUCC, 98/03/10. lusol@Lehigh.EDU # Update for Tk8. # Stephen O. Lidie, LUCC, 98/06/26. Stephen.O.Lidie@Lehigh.EDU # Add Common Dialogs for Tk800.007. # Stephen.O.Lidie@Lehigh.EDU, 1999/11/29, Lehigh University. # Demo some "dash patch" changes. # Stephen.O.Lidie@Lehigh.EDU, 2000/01/11, Lehigh University. # Update menubar to Tk 8, fix color palette Menubutton demo. # Stephen.O.Lidie@Lehigh.EDU, 2000/07/06, Lehigh University. # Remove inswt() from widget and styles.pl to show the proper Perl/Tk # idiom for inserting Text tags. Various and sundry cleanups. # sol0@lehigh.edu, 2003/07/29, Lehigh University Computing Center. # Update for Tk 8.4.4. AUTHOR
Steve Lidie <sol0@Lehigh.EDU> Tk804.028 2010-07-05 WIDGET(1)

Check Out this Related Man Page

demos::widget_lib::trace2(3)				       perl/Tk Documentation				      demos::widget_lib::trace2(3)

NAME
Tk::TraceText - Text contents defined by a traced variable. SYNOPSIS
$tt = $parent->TraceText(-option => value, ... ); DESCRIPTION
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. -textvariable A scalar reference. The value of the variable defines the contents of the TraceText widget. Using the keyboard to insert or delete text changes the value of the variable, and changing the variable alters the contents of the TraceText widget. METHODS
Standard Text widget methods. ADVERTISED SUBWIDGETS
None. EXAMPLE
my $tt = $mw->TraceText( -textvariable => $scalar ); AUTHOR
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. KEYWORDS
text, trace Tk804.028 2007-05-05 demos::widget_lib::trace2(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

User Accounts

Hi, I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies

2. Programming

Need the code of "apue.h"

Hi, I am going though "Advanced programming in the Unix Environment", 2nd edition, by W.Richard Stevens and Stephen A.rago. here we often use the header file "apue.h". the source of this header file is given in the appendix b of the book. however I don have that page in my book since its 2nd... (4 Replies)
Discussion started by: ramkrix
4 Replies