gtk/gtk.go
func (v *TreeSelection) GetSelected() (model ITreeModel, iter *TreeIter, ok bool) {
	var cmodel *C.GtkTreeModel
	var citer C.GtkTreeIter
	c := C.gtk_tree_selection_get_selected(v.native(),
		&cmodel, &citer)
	model = wrapTreeModel(glib.Take(unsafe.Pointer(cmodel)))
	iter = &TreeIter{citer}
	ok = gobool(c)
	return
}
func (v *TreeSelection) GetSelected() (model ITreeModel, iter *TreeIter, ok bool) {
	var cmodel *C.GtkTreeModel
	var citer C.GtkTreeIter
	c := C.gtk_tree_selection_get_selected(v.native(),
		&cmodel, &citer)
	model = wrapTreeModel(glib.Take(unsafe.Pointer(cmodel)))
	iter = &TreeIter{citer}
	ok = gobool(c)
	return
}
func ( v * TreeSelection ) GetSelected ( ) ( model ITreeModel , iter * TreeIter , ok bool ) { var cmodel * C . GtkTreeModel var citer C . GtkTreeIter c := C . gtk_tree_selection_get_selected ( v . native ( ) , & cmodel , & citer ) model = wrapTreeModel ( glib . Take ( unsafe . Pointer ( cmodel ) ) ) iter = & TreeIter { citer } ok = gobool ( c ) return }
// GetSelected() is a wrapper around gtk_tree_selection_get_selected().
GetSelected () is a wrapper around gtk_tree_selection_get_selected () .