home *** CD-ROM | disk | FTP | other *** search
-
- <HTML>
- <HEAD>
- <TITLE>Tk::FireButton - Button that keeps invoking callback when pressed</TITLE>
- <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
- <LINK REV="made" HREF="mailto:">
- </HEAD>
-
- <BODY>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> Tk::FireButton - Button that keeps invoking callback when pressed</P></STRONG>
- </TD></TR>
- </TABLE>
-
- <A NAME="__index__"></A>
- <!-- INDEX BEGIN -->
-
- <UL>
-
- <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
-
- <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
- <LI><A HREF="#description">DESCRIPTION</A></LI>
- <LI><A HREF="#superclass">SUPER-CLASS</A></LI>
- <LI><A HREF="#standard options">STANDARD OPTIONS</A></LI>
- <LI><A HREF="#widgetspecific options">WIDGET-SPECIFIC OPTIONS</A></LI>
- <LI><A HREF="#chanded option fallback values">CHANDED OPTION FALLBACK VALUES</A></LI>
- <LI><A HREF="#methods">METHODS</A></LI>
- <LI><A HREF="#advertised widgets">ADVERTISED WIDGETS</A></LI>
- <LI><A HREF="#history">HISTORY</A></LI>
- </UL>
- <!-- INDEX END -->
-
- <HR>
- <P>
- <H1><A NAME="name">NAME</A></H1>
- <P>Tk::FireButton - Button that keeps invoking callback when pressed</P>
- <P>
- <HR>
- <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
- <UL>
- <LI>Linux</LI>
- <LI>Solaris</LI>
- <LI>Windows</LI>
- </UL>
- <HR>
- <H1><A NAME="synopsis">SYNOPSIS</A></H1>
- <PRE>
- use Tk::FireButton;</PRE>
- <PRE>
- $fire = $parent->FireButton( ... );</PRE>
- <PRE>
- # May/should change:
- $w->Whatever(... -bitmap => $Tk::FireButton::INCBITMAP, ...);
- $w->Whatever(... -bitmap => $Tk::FireButton::DECBITMAP, ...);</PRE>
- <P>
- <HR>
- <H1><A NAME="description">DESCRIPTION</A></H1>
- <P><STRONG>FireButton</STRONG> is-a <STRONG>Button</STRONG> widget (see <A HREF="../../../site/lib/Tk/Button.html">the Tk::Button manpage</A>) that
- keeps invoking the callback bound to it as long as the <FireButton>
- is pressed.</P>
- <P>
- <HR>
- <H1><A NAME="superclass">SUPER-CLASS</A></H1>
- <P>The <STRONG>FireButton</STRONG> widget-class is derived from the <STRONG>Button</STRONG>
- widget-class and inherits all the methods and options its
- super-class (see <A HREF="../../../site/lib/Tk/Button.html">the Tk::Button manpage</A>).</P>
- <P>
- <HR>
- <H1><A NAME="standard options">STANDARD OPTIONS</A></H1>
- <P><STRONG>FireButton</STRONG> supports all the standard options of a <STRONG>Button</STRONG> widget.
- See <A HREF="../../../site/lib/Tk/options.html">the Tk::options manpage</A> for details on the standard options.</P>
- <P>
- <HR>
- <H1><A NAME="widgetspecific options">WIDGET-SPECIFIC OPTIONS</A></H1>
- <DL>
- <DT><STRONG><A NAME="item_Name%3A_repeatDelay">Name: <STRONG>repeatDelay</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_Class%3A_RepeatDelay">Class: <STRONG>RepeatDelay</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_Switch%3A_%2Drepeatdelay">Switch: <STRONG>-repeatdelay</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_300">Fallback: <STRONG>300</STRONG> (milliseconds)</A></STRONG><BR>
- <DD>
- Specifies the amount of time before the callback is first invoked after
- the Button-1 is pressed over the widget.
- <P></P>
- <DT><STRONG><A NAME="item_Name%3A_repeatInterval">Name: <STRONG>repeatInterval</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_Class%3A_RepeatInterval">Class: <STRONG>RepeatInterval</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_Switch%3A_%2Drepeatinterval">Switch: <STRONG>-repeatinterval</STRONG></A></STRONG><BR>
- <DD>
- <DT><STRONG><A NAME="item_100">Fallback: <STRONG>100</STRONG> (milliseconds)</A></STRONG><BR>
- <DD>
- Specifies the amount of time between invokations of the
- callback bound to the widget with the <CODE>command</CODE> option.
- <P></P></DL>
- <P>
- <HR>
- <H1><A NAME="chanded option fallback values">CHANDED OPTION FALLBACK VALUES</A></H1>
- <P>The fallback values of the following options as different
- from the <STRONG>Button</STRONG> widget:</P>
- <PRE>
- -padx => 0,
- -pady => 0,</PRE>
- <P>
- <HR>
- <H1><A NAME="methods">METHODS</A></H1>
- <P>Same as for <A HREF="../../../site/lib/Tk/Button.html">Button</A> widget.</P>
- <P>
- <HR>
- <H1><A NAME="advertised widgets">ADVERTISED WIDGETS</A></H1>
- <P>None.</P>
- <P>
- <HR>
- <H1><A NAME="history">HISTORY</A></H1>
- <P>The code was extracted from Tk::NumEntry and slightly modified
- by Achim Bohnet ><A HREF="mailto:ach@mpe.mpg.de">ach@mpe.mpg.de</A>>. Tk::NumEntry's author
- is Graham Barr ><A HREF="mailto:gbarr@pobox.com">gbarr@pobox.com</A>>.</P>
- <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
- <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
- <STRONG><P CLASS=block> Tk::FireButton - Button that keeps invoking callback when pressed</P></STRONG>
- </TD></TR>
- </TABLE>
-
- </BODY>
-
- </HTML>
-