Tk::Dial man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



Dial(3)		      perl/Tk Documentation		  Dial(3)

NAME
       Dial - an alternative to the scale widget

SYNOPSIS
	use Tk::Dial;

	$dial = $top->Dial(-margin =>  20,
			   -radius =>  48,
			   -min	   =>	0,
			   -max	   => 100,
			   -value  =>	0,
			   -format => '%d');

	margin - blank space to leave around dial
	radius - radius of dial
	min, max - range of possible values
	value  - current value
	format - printf-style format for displaying format

       Values shown above are defaults.

DESCRIPTION
       A dial looks like a speedometer: a 3/4 circle with a
       needle indicating the current value.  Below the graphical
       dial is an entry that displays the current value, and
       which can be used to enter a value by hand.

       The needle is moved by pressing button 1 in the canvas and
       dragging. The needle will follow the mouse, even if the
       mouse leaves the canvas, which allows for high precision.
       Alternatively, the user can enter a value in the entry
       space and press Return to set the value; the needle will
       be set accordingly.

TO DO
	Configure
	Tick marks
	Step size

AUTHORS
       Roy Johnson, rjohnson@shell.com

       Based on a similar widget in XV, a program by John
       Bradley, bradley@cis.upenn.edu

HISTORY	   August 1995: Released for critique by pTk mailing list

25/Aug/1997		    Tk400.202				1

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net