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

blu_line 5th January 2005 09:12 AM

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



jdybnis 5th January 2005 03:35 PM

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

blu_line 5th January 2005 05: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 6th January 2005 12:54 AM

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 01: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 06:50 AM.

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