Re: call a proc from c
- From: Khamis Abuelkomboz <khamis@xxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 20:36:20 +0200
nicolas wrote:
Tcl_Eval is the correct thing. Before you execute Tcl_Eval, make sure that you have loaded the tk library.hi all soryy for multi posting, but: is it possible to launch a tcl procedure (fire) containing tk command from c. here's a proc i would like to start:
proc fire {x} { pack [label .l -text $x] -side top }
when i try with Tcl_Eval, label is not recognize. very very much thanks for any helps
Just run on the top of your C-Program something like
Tcl_Eval(interp, "package require Tk");
khamis -- Try Code-Navigator on http://www.codenav.com a source code navigating, analysis and developing tool. It supports following languages: * C/C++ * Java * .NET (including CSharp, VB.Net and other .NET components) * Classic Visual Basic * PHP, HTML, XML, ASP, CSS * Tcl/Tk, * Perl * Python * SQL, * m4 Preprocessor * Cobol .
- Follow-Ups:
- Re: call a proc from c
- From: nicolas
- Re: call a proc from c
- References:
- call a proc from c
- From: nicolas
- call a proc from c
- Prev by Date: Re: Algorithm advice needed
- Next by Date: Re: AktiveTcl 8.4.11 and tdom
- Previous by thread: call a proc from c
- Next by thread: Re: call a proc from c
- Index(es):
Relevant Pages
|
|