Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk::widgetdemo(3) [suse man page]

WidgetDemo(3)						User Contributed Perl Documentation					     WidgetDemo(3)

NAME
WidgetDemo() - create a standard widget demonstration window. SYNOPSIS
use WidgetDemo; my $TOP = $MW->WidgetDemo( -name => $demo, -text => 'Learn how to write a widget demonstration!', -title => 'WidgetDemo Demonstration', -iconname => 'WidgetDemo', -geometry_manager => 'grid', -font => $FONT, ); DESCRIPTION
This constructor builds a standard widget demonstration window, composed of three frames. The top frame contains descriptive demonstration text. The bottom frame contains the "Dismiss" and "See Code" buttons. The middle frame is demonstration container, which came be managed by either the pack or grid geometry manager. The -text attribute is supplied to a Label widget, which is left-adjusted with -wraplength set to 4 inches. If you require different specifications then pass an array to -text; the first element is the text string and the remaining array elements are standard Label widget attributes - WidgetDemo will rearrange things as required.. -text => ['Hello World!', qw/-wraplength 6i/], AUTHOR
Steve Lidie <Stephen.O.Lidie@Lehigh.EDU> HISTORY
lusol@Lehigh.EDU, LUCC, 97/02/11 lusol@Lehigh.EDU, LUCC, 97/06/07 Stephen.O.Lidie@Lehigh.EDU, LUCC, 97/06/07 . Add Delegates() call that obviates the need for Top(). Many thanks to Achim Bohnet for this patch. . Fix -title so that it works. COPYRIGHT
Copyright (C) 1997 - 1998 Stephen O. Lidie. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.1 2007-05-05 WidgetDemo(3)

Check Out this Related 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)
Man Page