gothic
gothic copied to clipboard
Tcl/Tk Go bindings
Any time I try to get information from tcl/tk I do an Eval like this: ` i := ir.Eval("[winfo screenheight .]") fmt.Println(i) ` and it produces a response like this:...
# command-line-arguments /usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_de3ebbb702ba_Cfunc__gotk_c_new_async_event': /tmp/go-build/cgo-gcc-prolog:500: undefined reference to `_gotk_c_new_async_event' /usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_de3ebbb702ba_Cfunc__gotk_c_add_command': /tmp/go-build/cgo-gcc-prolog:467: undefined reference to `_gotk_c_add_command' /usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_de3ebbb702ba_Cfunc__gotk_c_add_method': /tmp/go-build/cgo-gcc-prolog:484: undefined reference...
This PR implements variadic functions & return values.
Implement Tcl_CommandComplete. This is helpfui for building a TCL shell.
func setn() int { return 12 } ir.RegisterCommand("go_setn", setn) run "puts [go_setn]" in tcl, got a null value?
package main import "github.com/nsf/gothic" const init_script = ` wm title . "text wiget sample" wm geometry . 600x300+100+100 text .t -relief raised -bd 2 -yscrollcommand {.scroll set} scrollbar .scroll -command...
Hi, I have been using nsf "gothic" (tcl/tk go binding) libary under Linux for a while now : it works very well and is very convenient for adding a tcl/tk-based...
Hi, I have now been able to use your "gothic" library successfully under Linux, however when attempting to install it on a Mac, I got the error message: "interpreter.go: bad...
I want to use this without tk. I need to load other tcl packege when running . Is there anyone known how to do this?