TCL/TK and C - diyAudio
Go Back   Home > Forums > General Interest > Everything Else

Everything Else Anything related to audio / video / electronics etc) BUT remember- we have many new forums where your thread may now fit! .... Parts, Equipment & Tools, Construction Tips, Software Tools......

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 5th January 2005, 09:12 AM   #1
diyAudio Member
 
blu_line's Avatar
 
Join Date: Jan 2002
Location: The Netherlands
Default TCL/TK and C

any one familiar with TCL/TK and C here ?

grtz

Simon
  Reply With Quote
Old 5th January 2005, 03:35 PM   #2
jdybnis is offline jdybnis  United States
diyAudio Member
 
Join Date: Jul 2004
Location: Pasadena, CA
I've done some work with it in the past. What do you want to know?
  Reply With Quote
Old 5th January 2005, 05:17 PM   #3
diyAudio Member
 
blu_line's Avatar
 
Join Date: Jan 2002
Location: The Netherlands
I'd like to know how i can hadle events, like push buttons, best.

Bind an newly created TCL command to it or trap the event somehow !


Best regards

Simon
  Reply With Quote
Old 6th January 2005, 12:54 AM   #4
jdybnis is offline jdybnis  United States
diyAudio Member
 
Join Date: Jul 2004
Location: Pasadena, CA
If I recall correctly, one of a button's options is the code it should to execute when it is pressed. You can set that option when you create the button or afterwards. It doesn't have to be just a command either. The code can be anything in {} block. But watch out for scoping if you include variable references in the block.
  Reply With Quote
Old 6th January 2005, 01:20 PM   #5
diyAudio Member
 
Geek's Avatar
 
Join Date: Sep 2004
IIRC from when I programmed that impossible language ( ), TCL/Tk syntax was similar to Python's and the Python docs helped me make an audio signal generator in Tk
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



New To Site? Need Help?

All times are GMT. The time now is 09:25 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2