Query: tk::demos::widget_lib::slide
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
demos::widget_lib::slide(3pm) perl/Tk Documentation demos::widget_lib::slide(3pm)NAMETk::SlideSwitch - a 2 position horizontal or vertical switch.SYNOPSISuse Tk::SlideSwitch; my $sl = $frame1->SlideSwitch( -bg => 'gray', -orient => 'horizontal', -command => [$self => 'on'], -llabel => [-text => 'OFF', -foreground => 'blue'], -rlabel => [-text => 'ON', -foreground => 'blue'], -troughcolor => 'tan', )->pack(qw/-side left -expand 1/);DESCRIPTIONTk::SlideSwitch is a Frame based composite mega-widget featuring a binary Scale widget surrounded by two Label widgets. The Scale's value can be either 0 or 1. The Labels are positioned to the left and right of the Scale if its orientation is horizontal, else on the top and bottom of the Scale.OPTIONSIn addition to all Scale options, the following option/value pairs are also supported: -llabel A reference to an array of left (or top) Label configuration options. -rlabel A reference to an array of right (or bottom) Label configuration options.METHODSThere are no special methods.ADVERTISED WIDGETSComponent subwidgets can be accessed via the Subwidget method. This mega widget has no advertised subwidgets.EXAMPLESee Synopsis.BUGSThis widget uses only the pack geometry manager.AUTHORsol0@Lehigh.EDU Copyright (C) 2002 - 2003, 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.KEYWORDSSlideSwitch, Scale Tk804.03 2010-05-29 demos::widget_lib::slide(3pm)
Related Man Pages |
---|
widget(1) - suse |
tk::widgetdemo(3) - suse |
tk::demos::widget_lib::slide(3) - centos |
tk::widgetdemo(3) - centos |
tk::composite(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
GPU-Accelerated Large Scale Analytics |
Managing Data Retention Policies at Scale |