func (v *GObject) Ref() { C.g_object_ref(C.gpointer(v.Object)) }
// GdkBitmap* gdk_bitmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height); // GdkPixmap* gdk_pixmap_create_from_data (GdkDrawable *drawable, const gchar *data, gint width, gint height, gint depth, const GdkColor *fg, const GdkColor *bg); // GdkPixmap* gdk_pixmap_create_from_xpm (GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename); // GdkPixmap* gdk_pixmap_colormap_create_from_xpm (GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, const gchar *filename); // GdkPixmap* gdk_pixmap_create_from_xpm_d (GdkDrawable *drawable, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data); // GdkPixmap* gdk_pixmap_colormap_create_from_xpm_d (GdkDrawable *drawable, GdkColormap *colormap, GdkBitmap **mask, const GdkColor *transparent_color, gchar **data); // GdkPixmap* gdk_pixmap_foreign_new (GdkNativeWindow anid); // GdkPixmap* gdk_pixmap_lookup (GdkNativeWindow anid); // GdkPixmap* gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid); // GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display, GdkNativeWindow anid); // GdkPixmap* gdk_pixmap_foreign_new_for_screen (GdkScreen *screen, GdkNativeWindow anid, gint width, gint height, gint depth); func (v *GdkPixmap) Ref() { C.g_object_ref(C.gpointer(v.Pixmap)) }
func Ref(obj ObjectLike) { C.g_object_ref(C.gpointer(obj.ToNative())) }
/* Increases the reference count of @object. */ func (self *TraitObject) Ref() (return__ *Object) { var __cgo__return__ C.gpointer __cgo__return__ = C.g_object_ref((C.gpointer)(unsafe.Pointer(self.CPointer))) return__ = NewObjectFromCPointer(unsafe.Pointer(__cgo__return__)) return }
func g_object_ref(p GObject) { C.g_object_ref(Arg(p)) }
func (o *Object) Ref() *Object { r := new(Object) r.SetPtr(Pointer(C.g_object_ref(o.p))) return r }