Skip to content
This repository has been 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