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