// GetStack is a wrapper around gtk_stack_switcher_get_stack(). func (v *StackSwitcher) GetStack() *Stack { c := C.gtk_stack_switcher_get_stack(v.native()) if c == nil { return nil } return wrapStack(wrapObject(unsafe.Pointer(c))) }
// GetStack is a wrapper around gtk_stack_switcher_get_stack(). func (v *StackSwitcher) GetStack() *Stack { c := C.gtk_stack_switcher_get_stack(v.native()) if c == nil { return nil } obj := &glib.Object{glib.ToGObject(unsafe.Pointer(c))} s := wrapStack(obj) obj.RefSink() runtime.SetFinalizer(obj, (*glib.Object).Unref) return s }