func setAll(v gtki.TreeStore, iter gtki.TreeIter, values ...interface{}) { for i, val := range values { if val != nil { v.SetValue(iter, i, val) } } }
func getFromModelIter(m gtki.TreeStore, iter gtki.TreeIter, index int) string { val, _ := m.GetValue(iter, index) v, _ := val.GetString() return v }