8000 How create combobox? · Issue #106 · conformal/gotk3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

How create combobox? #106

Open
xlin opened this issue May 17, 2015 · 0 comments
Open

How create combobox? #106

xlin opened this issue May 17, 2015 · 0 comments

Comments

@xlin
Copy link
xlin commented May 17, 2015

example
combobox := gtk.NewComboBoxNewText()
combobox.AppendText("Peach")
combobox.AppendText("Banana")
combobox.AppendText("Apple")
combobox.SetActive(1)
combobox.Connect("changed", func() {
println("value:", combobox.GetActiveText())
})
combos.Add(combobox)

how on gotk?

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

No branches or pull requests

1 participant
0