// native returns a pointer to the underlying GtkAppChooser. func (v *ColorChooser) native() *C.GtkColorChooser { if v == nil || v.GObject == nil { return nil } p := unsafe.Pointer(v.GObject) return C.toGtkColorChooser(p) }
func (v *ColorButton) GetRGBA() *gdk.RGBA { gdkColor := gdk.NewRGBA() C.gtk_color_chooser_get_rgba(C.toGtkColorChooser(unsafe.Pointer(v.native())), (*C.GdkRGBA)(unsafe.Pointer((&gdkColor.RGBA)))) return gdkColor }