|
Tk::FireButton - Button that keeps invoking callback when pressed
|
Tk::FireButton - Button that keeps invoking callback when pressed
This module is not included with the standard ActivePerl distribution. It is available as a separate download using PPM.
use Tk::FireButton;
$fire = $parent->FireButton( ... );
# May/should change:
$w->Whatever(... -bitmap => $Tk::FireButton::INCBITMAP, ...);
$w->Whatever(... -bitmap => $Tk::FireButton::DECBITMAP, ...);
FireButton is-a Button widget (see the Tk::Button manpage) that
keeps invoking the callback bound to it as long as the <FireButton>
is pressed.
The FireButton widget-class is derived from the Button
widget-class and inherits all the methods and options its
super-class (see the Tk::Button manpage).
FireButton supports all the standard options of a Button widget.
See the Tk::options manpage for details on the standard 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.
The fallback values of the following options as different
from the Button widget:
-padx => 0,
-pady => 0,
Same as for Button widget.
None.
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>.
|
Tk::FireButton - Button that keeps invoking callback when pressed
|
|