// GetCustomTitle is a wrapper around gtk_header_bar_get_custom_title(). func (v *HeaderBar) GetCustomTitle() (*Widget, error) { c := C.gtk_header_bar_get_custom_title(v.native()) if c == nil { return nil, nilPtrErr } return wrapWidget(wrapObject(unsafe.Pointer(c))), nil }
// GetCustomTitle is a wrapper around gtk_header_bar_get_custom_title(). func (v *HeaderBar) GetCustomTitle() (*Widget, error) { c := C.gtk_header_bar_get_custom_title(v.native()) if c == nil { return nil, nilPtrErr } obj := &glib.Object{glib.ToGObject(unsafe.Pointer(c))} w := wrapWidget(obj) obj.RefSink() runtime.SetFinalizer(obj, (*glib.Object).Unref) return w, nil }