Hello everyone: I've finished studying https://github.com/lxn/walk/tree/master/examples. However, there are some problems that I'm encountering: 1. I want to print the message after clicking the "Confirm" button, but I have no idea how to implement it. Here is the incompleted code: https://play.golang.org/p/ENxFtzd_FBr. 2. Is there any examples about tree diagram with buttons for references? (Ex: When we install software, there are multiple choices for users to choose, and then click "Next" buttons, until the installation is finished.)
Any help is appreciated. Thank you very much! Max 洪嘉鴻於 2019年10月9日星期三 UTC+8下午10時25分06秒寫道: > > Hello everyone: > I'm a beginner for golang with Win10. Now I'm trying to write an > user interface. The version of the golang which I am using is 1.12.9. Here > are some problems that I'm encountering: > > 1. How to append text with a new line? > 2. How to output variables as the "fmt.Println" function? (Ex: > fmt.Println("The initial number is:", input)) > 3. How to implement text edit as the "fmt.Scanf" function? > 4. How to implement with bottoms? (Ex: There are 3 bottoms, if the third > bottom is clicked, the three bottoms will disappear and then appear 4 new > bottoms to let the user choose.) > > Here is the code for the problems above, where the code is with lots of > errors > Any help is appreciated. > Thank you very much! > Max > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b1847597-0ab8-4569-a942-16f1aa3b17c7%40googlegroups.com.