home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _a2d85c17c3455519ca77f5ccc71ada6a < prev    next >
Text File  |  2000-03-23  |  5KB  |  131 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Tk::FireButton - Button that keeps invoking callback when pressed</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> Tk::FireButton - Button that keeps invoking callback when pressed</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#superclass">SUPER-CLASS</A></LI>
  26.     <LI><A HREF="#standard options">STANDARD OPTIONS</A></LI>
  27.     <LI><A HREF="#widgetspecific options">WIDGET-SPECIFIC OPTIONS</A></LI>
  28.     <LI><A HREF="#chanded option fallback values">CHANDED OPTION FALLBACK VALUES</A></LI>
  29.     <LI><A HREF="#methods">METHODS</A></LI>
  30.     <LI><A HREF="#advertised widgets">ADVERTISED WIDGETS</A></LI>
  31.     <LI><A HREF="#history">HISTORY</A></LI>
  32. </UL>
  33. <!-- INDEX END -->
  34.  
  35. <HR>
  36. <P>
  37. <H1><A NAME="name">NAME</A></H1>
  38. <P>Tk::FireButton - Button that keeps invoking callback when pressed</P>
  39. <P>
  40. <HR>
  41. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  42. <UL>
  43. <LI>Linux</LI>
  44. <LI>Solaris</LI>
  45. <LI>Windows</LI>
  46. </UL>
  47. <HR>
  48. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  49. <PRE>
  50.     use Tk::FireButton;</PRE>
  51. <PRE>
  52.     $fire = $parent->FireButton( ... );</PRE>
  53. <PRE>
  54.     # May/should change:
  55.     $w->Whatever(... -bitmap => $Tk::FireButton::INCBITMAP, ...);
  56.     $w->Whatever(... -bitmap => $Tk::FireButton::DECBITMAP, ...);</PRE>
  57. <P>
  58. <HR>
  59. <H1><A NAME="description">DESCRIPTION</A></H1>
  60. <P><STRONG>FireButton</STRONG> is-a <STRONG>Button</STRONG> widget (see <A HREF="../../../site/lib/Tk/Button.html">the Tk::Button manpage</A>) that
  61. keeps invoking the callback bound to it as long as the <FireButton>
  62. is pressed.</P>
  63. <P>
  64. <HR>
  65. <H1><A NAME="superclass">SUPER-CLASS</A></H1>
  66. <P>The <STRONG>FireButton</STRONG> widget-class is derived from the <STRONG>Button</STRONG>
  67. widget-class and inherits all the methods and options its
  68. super-class (see <A HREF="../../../site/lib/Tk/Button.html">the Tk::Button manpage</A>).</P>
  69. <P>
  70. <HR>
  71. <H1><A NAME="standard options">STANDARD OPTIONS</A></H1>
  72. <P><STRONG>FireButton</STRONG> supports all the standard options of a <STRONG>Button</STRONG> widget.
  73. See <A HREF="../../../site/lib/Tk/options.html">the Tk::options manpage</A> for details on the standard options.</P>
  74. <P>
  75. <HR>
  76. <H1><A NAME="widgetspecific options">WIDGET-SPECIFIC OPTIONS</A></H1>
  77. <DL>
  78. <DT><STRONG><A NAME="item_Name%3A_repeatDelay">Name:             <STRONG>repeatDelay</STRONG></A></STRONG><BR>
  79. <DD>
  80. <DT><STRONG><A NAME="item_Class%3A_RepeatDelay">Class:            <STRONG>RepeatDelay</STRONG></A></STRONG><BR>
  81. <DD>
  82. <DT><STRONG><A NAME="item_Switch%3A_%2Drepeatdelay">Switch:           <STRONG>-repeatdelay</STRONG></A></STRONG><BR>
  83. <DD>
  84. <DT><STRONG><A NAME="item_300">Fallback:        <STRONG>300</STRONG> (milliseconds)</A></STRONG><BR>
  85. <DD>
  86. Specifies the amount of time before the callback is first invoked after
  87. the Button-1 is pressed over the widget.
  88. <P></P>
  89. <DT><STRONG><A NAME="item_Name%3A_repeatInterval">Name:             <STRONG>repeatInterval</STRONG></A></STRONG><BR>
  90. <DD>
  91. <DT><STRONG><A NAME="item_Class%3A_RepeatInterval">Class:            <STRONG>RepeatInterval</STRONG></A></STRONG><BR>
  92. <DD>
  93. <DT><STRONG><A NAME="item_Switch%3A_%2Drepeatinterval">Switch:           <STRONG>-repeatinterval</STRONG></A></STRONG><BR>
  94. <DD>
  95. <DT><STRONG><A NAME="item_100">Fallback:        <STRONG>100</STRONG> (milliseconds)</A></STRONG><BR>
  96. <DD>
  97. Specifies the amount of time between invokations of the
  98. callback bound to the widget with the <CODE>command</CODE> option.
  99. <P></P></DL>
  100. <P>
  101. <HR>
  102. <H1><A NAME="chanded option fallback values">CHANDED OPTION FALLBACK VALUES</A></H1>
  103. <P>The fallback values of the following options as different
  104. from the <STRONG>Button</STRONG> widget:</P>
  105. <PRE>
  106.         -padx               => 0,
  107.         -pady               => 0,</PRE>
  108. <P>
  109. <HR>
  110. <H1><A NAME="methods">METHODS</A></H1>
  111. <P>Same as for <A HREF="../../../site/lib/Tk/Button.html">Button</A> widget.</P>
  112. <P>
  113. <HR>
  114. <H1><A NAME="advertised widgets">ADVERTISED WIDGETS</A></H1>
  115. <P>None.</P>
  116. <P>
  117. <HR>
  118. <H1><A NAME="history">HISTORY</A></H1>
  119. <P>The code was extracted from Tk::NumEntry and slightly modified
  120. by Achim Bohnet ><A HREF="mailto:ach@mpe.mpg.de">ach@mpe.mpg.de</A>>.  Tk::NumEntry's author
  121. is Graham Barr ><A HREF="mailto:gbarr@pobox.com">gbarr@pobox.com</A>>.</P>
  122. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  123. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  124. <STRONG><P CLASS=block> Tk::FireButton - Button that keeps invoking callback when pressed</P></STRONG>
  125. </TD></TR>
  126. </TABLE>
  127.  
  128. </BODY>
  129.  
  130. </HTML>
  131.