Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk::firebutton(3pm) [debian man page]

FireButton(3pm) 					User Contributed Perl Documentation					   FireButton(3pm)

NAME
Tk::FireButton - Button that keeps invoking callback when pressed 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
FireButton is-a Button 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 FireButton widget-class is derived from the Button widget-class and inherits all the methods and options its super-class (see Tk::Button). STANDARD OPTIONS
FireButton supports all the standard options of a Button widget. See Tk::options for details on the standard options. WIDGET-SPECIFIC OPTIONS Name: repeatDelay Class: RepeatDelay Switch: -repeatdelay Fallback: 300 (milliseconds) Specifies the amount of time before the callback is first invoked after the Button-1 is pressed over the widget. Name: repeatInterval Class: RepeatInterval Switch: -repeatinterval Fallback: 100 (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 Button 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>. perl v5.10.0 2003-10-22 FireButton(3pm)

Check Out this Related Man Page

NumEntry(3pm)						User Contributed Perl Documentation					     NumEntry(3pm)

NAME
Tk::NumEntry - A numeric Entry widget with inc. & dec. Buttons SYNOPSIS
use Tk::NumEntry; $parent->NumEntry(?-option=>value, ...?); DESCRIPTION
Tk::NumEntry defines a widget for entering integer numbers. The widget also contains buttons for increment and decrement. Tk::NumEntry supports all the options and methods that the plain NumEntry widget provides (see Tk::NumEntryPlain), plus the following options STANDARD OPTIONS
Besides the standard options of the Entry widget NumEntry supports: -orient -repeatdelay -repeatinterval The -orient option specifies the packing order of the increment and decrement buttons. This option can only be set at creation time. WIDGET-SPECIFIC OPTIONS Name: buttons Class: Buttons Switch: -buttons Fallback: 1 Boolean that defines if the inc and dec buttons are visible. Switch: -readonly Fallback: 0 If -readonly is set to a true value, then the value can only be changed by pressing the increment/decrement buttons. This option can only be set at creation time. WIDGET METHODS
Subclasses of NumEntry may override the following methods to use different widgets for the composition of the NumEntry. These are: NumEntryPlainWidget (usually "NumEntryPlain"), FireButtonWidget (usually "FireButton", IncFireButtonWidget and DecFireButtonWidget. FireButtonWidget is used if IncFireButtonWidget or DecFireButtonWidget are not defined. AUTHOR
Graham Barr <gbarr@pobox.com> Current maintainer is Slaven Rezic <slaven@rezic.de>. ACKNOWLEDGEMENTS
I would to thank Achim Bohnet <ach@mpe.mpg.de> for all the feedback and testing. And for the splitting of the original Tk::NumEntry into Tk::FireButton, Tk::NumEntryPlain and Tk::NumEntry COPYRIGHT
Copyright (c) 1997-1998 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Except the typo's, they blong to Achim :-) perl v5.10.0 2008-10-08 NumEntry(3pm)
Man Page