tcl
C++/TCL how to invoke tk?
So I want to exequte TCL code inside my programm. I want it to be capable of reaching some of my C++ functions and classes. So I use C++/TCL. All general TCL to C++ binding works fine for me. But now[详细]
2023-03-17 23:53 分类:问答Tcl/Tk widgets and FocusOut not working as expected on linux
Do anyone know why FocusOut event is not working on linux? I have 1 enabled textbox and 3 disabled combobox.[详细]
2023-03-17 20:14 分类:问答Emulating execvp - Is There a Better Way To Do This?
I\'m currently wrapping a command line tool (espeak) with Tcl/Tk, and I have figured this out so far:[详细]
2023-03-17 07:48 分类:问答How to tell TCL and TK that default `.tcl` language files should be searched locally?
When you compile TCL/Tk manually from sources or just install it from ActiveState you get the following structure in your TCL/Tk installation folder:[详细]
2023-03-17 06:02 分类:问答How to use C++/TCL and C++/TK at the same time, in the same program?
So it is great of C++/TCL to provide us with easy manageable in TCL C++ functions and classes via APIs like:[详细]
2023-03-17 05:54 分类:问答TCL - find a regular pattern in a file and return the occurrence and number of occurrences
I am writing a code to grep a regular expression pattern from a file, and output that regular expression and the number of times it has occured.[详细]
2023-03-16 18:14 分类:问答Why I can't set the common variable a property to be private or public?
In TCL\'s Itcl package the开发者_如何学Gore is a way to define a class and static members for that class using common keyword. But I have never seen that common variable was declared as private or pub[详细]
2023-03-16 16:31 分类:问答TCL How to have as a class member an array (Itcl)
I want to have an array as a private class member. I use Itcl package. For lists and other 开发者_开发知识库simple variables I was writing:[详细]
2023-03-16 16:17 分类:问答A question about namespace in Tcl
I have two question about namespace in Tcl.开发者_运维技巧 namespace eval ::dai { set a 5 set b 10[详细]
2023-03-16 15:45 分类:问答TCL regexp example
I want to get a word in a stri开发者_如何学JAVAng which starts with abc_ or with xyz_ by writing a regexp.[详细]
2023-03-16 11:25 分类:问答