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::FIREBUTTON (3)

.ds Aq ’

NAME

Tk::FireButton - Button that keeps invoking callback when pressed

CONTENTS

SYNOPSIS



    use Tk::FireButton;

    $fire = $parent->FireButton( ... );

    # May/should change:
    $w->Whatever(... -bitmap => $Tk::FireButton::INCBITMAP, ...);
    $w->Whatever(... -bitmap => $Tk::FireButton::DECBITMAP, ...);
    $w->Whatever(... -bitmap => $Tk::FireButton::HORIZINCBITMAP, ...);
    $w->Whatever(... -bitmap => $Tk::FireButton::HORIZDECBITMAP, ...);



DESCRIPTION

<B>FireButtonB> is-a <B>ButtonB> widget (see Tk::Button) that keeps invoking the callback bound to it as long as the <FireButton> is pressed.

Four suitable bitmaps are predefined in this package: $INCBITMAP and $DECBITMAP for vertical increment and decrement buttons, and $HORIZINCBITMAP and $HORIZDECBITMAP for horizontal increment and decrement buttons. See below for methods accessing these bitmaps.

SUPER-CLASS

The <B>FireButtonB> widget-class is derived from the <B>ButtonB> widget-class and inherits all the methods and options its super-class (see Tk::Button).

STANDARD OPTIONS

<B>FireButtonB> supports all the standard options of a <B>ButtonB> widget. See Tk::options for details on the standard options.

WIDGET-SPECIFIC OPTIONS

Name: <B>repeatDelayB>
Class: <B>RepeatDelayB>
Switch: <B>-repeatdelayB>
Fallback:              <B>300B> (milliseconds) Specifies the amount of time before the callback is first invoked after the Button-1 is pressed over the widget.
Name: <B>repeatIntervalB>
Class: <B>RepeatIntervalB>
Switch: <B>-repeatintervalB>
Fallback:              <B>100B> (milliseconds) Specifies the amount of time between invokations of the callback bound to the widget with the command option.

CHANDED OPTION FALLBACK VALUES

The fallback values of the following options as different from the <B>ButtonB> widget:



        -padx               => 0,
        -pady               => 0,



METHODS

Same as for Button widget.

Additionally, there are four methods returning the names of the standard increment and decrement bitmaps: INCBITMAP, HORIZINCBITMAP, DECBITMAP, and HORIZDECBITMAP.

Subclasses of FireButton may override these methods to supply different increment and decrement bitmaps.

ADVERTISED WIDGETS

None.

HISTORY

The code was extracted from Tk::NumEntry and slightly modified by Achim Bohnet >ach@mpe.mpg.de>. Tk::NumEntry’s author is Graham Barr >gbarr@pobox.com>. The current maintainer is Slaven Rezic >slaven@rezic.de>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 FIREBUTTON (3) 2003-10-22

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