Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is that an issues about text wiget? #9

Open
aa1214808834 opened this issue Apr 18, 2015 · 2 comments
Open

is that an issues about text wiget? #9

aa1214808834 opened this issue Apr 18, 2015 · 2 comments

Comments

@aa1214808834
Copy link

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 {.t yview} grid .t -row 0 -column 0 -sticky nsew grid .scroll -row 0 -column 1 -sticky ns set t .t $t insert end "I wanna to change the input method for typeing something \r\n " $t insert end "the program window SOMETIMES disappear and Exit without any message \r\n " $t insert end "when I press Ctrl+Space (or Ctrl+Shift) ."

func main() {
ir := gothic.NewInterpreter(init_script)
<-ir.Done
}
/*
win7 32bit
4g ram
e3 1230v2
liteide x26
tdm-gcc32
*/

@nsf
Copy link
Owner

nsf commented Apr 18, 2015

Maybe it's a tcl/tk issue, I don't know. Works fine for me.

@aa1214808834
Copy link
Author

OK,Thanks for your reply
Your Tcl/Tk Go binding is Cool !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants