gtk/gtk.go
func (v *TreePath) GetIndices() []int {
	var depth C.gint
	var goindices []int
	var ginthelp C.gint
	indices := uintptr(unsafe.Pointer(C.gtk_tree_path_get_indices_with_depth(v.native(), &depth)))
	size := unsafe.Sizeof(ginthelp)
	for i := 0; i < int(depth); i++ {
		goind := int(*((*C.gint)(unsafe.Pointer(indices))))
		goindices = append(goindices, goind)
		indices += size
	}
	return goindices
}
func (v *TreePath) GetIndices() []int {
	var depth C.gint
	var goindices []int
	var ginthelp C.gint
	indices := uintptr(unsafe.Pointer(C.gtk_tree_path_get_indices_with_depth(v.native(), &depth)))
	size := unsafe.Sizeof(ginthelp)
	for i := 0; i < int(depth); i++ {
		goind := int(*((*C.gint)(unsafe.Pointer(indices))))
		goindices = append(goindices, goind)
		indices += size
	}
	return goindices
}
func ( v * TreePath ) GetIndices ( ) [ ] int { var depth C . gint var goindices [ ] int var ginthelp C . gint indices := uintptr ( unsafe . Pointer ( C . gtk_tree_path_get_indices_with_depth ( v . native ( ) , & depth ) ) ) size := unsafe . Sizeof ( ginthelp ) for i := 0 ; i < int ( depth ) ; i ++ { goind := int ( * ( ( * C . gint ) ( unsafe . Pointer ( indices ) ) ) ) goindices = append ( goindices , goind ) indices += size } return goindices }
// GetIndices is a wrapper around gtk_tree_path_get_indices_with_depth
GetIndices is a wrapper around gtk_tree_path_get_indices_with_depth