diyAudio (
-   Everything Else (
-   -   TCL/TK and C (

blu_line 5th January 2005 08:12 AM

TCL/TK and C
any one familiar with TCL/TK and C here ?



jdybnis 5th January 2005 02:35 PM

I've done some work with it in the past. What do you want to know?

blu_line 5th January 2005 04:17 PM

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


jdybnis 5th January 2005 11:54 PM

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.

Geek 6th January 2005 12:20 PM

IIRC from when I programmed that impossible language ( :p ), TCL/Tk syntax was similar to Python's and the Python docs helped me make an audio signal generator in Tk :)

All times are GMT. The time now is 11:59 PM.

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

Content Relevant URLs by vBSEO 3.3.2