GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::DIAL (3)

.ds Aq ’

NAME

Tk::Dial - An alternative to the Scale widget

CONTENTS

SYNOPSIS



    use Tk::Dial;

    $dial = $widget->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
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 DIAL (3) 1998-09-21

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.