Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 31st, 2005, 03:50 AM
kenshail kenshail is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 1 kenshail User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 27 sec
Reputation Power: 0
perl Tk button autorepeat

I am not able to get a Tk button to auto-repeat on hold-down.
Using activestate 5.8.4

These are the bare-bones of my latest of many different attempts :

$myBut=$dateFrameA->Button(-text=>"- -",
-width=>2, -height=>1)
->pack();

$myBut->bind('<ButtonPress-1>'=>sub
{
# button callback
});

$myBut->configure( -repeatinterval=>'100',
-repeatdelay=>'100');

Any thoughts would be appreciated

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > perl Tk button autorepeat


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT