gtk/color_chooser.go
func ColorChooserDialogNew(title string, parent *Window) (*ColorChooserDialog, error) {
	cstr := C.CString(title)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_color_chooser_dialog_new((*C.gchar)(cstr), parent.native())
	if c == nil {
		return nil, nilPtrErr
	}
	return wrapColorChooserDialog(glib.Take(unsafe.Pointer(c))), nil
}
func ColorChooserDialogNew(title string, parent *Window) (*ColorChooserDialog, error) {
	cstr := C.CString(title)
	defer C.free(unsafe.Pointer(cstr))
	c := C.gtk_color_chooser_dialog_new((*C.gchar)(cstr), parent.native())
	if c == nil {
		return nil, nilPtrErr
	}
	return wrapColorChooserDialog(glib.Take(unsafe.Pointer(c))), nil
}
func ColorChooserDialogNew ( title string , parent * Window ) ( * ColorChooserDialog , error ) { cstr := C . CString ( title ) defer C . free ( unsafe . Pointer ( cstr ) ) c := C . gtk_color_chooser_dialog_new ( ( * C . gchar ) ( cstr ) , parent . native ( ) ) if c == nil { return nil , nilPtrErr } return wrapColorChooserDialog ( glib . Take ( unsafe . Pointer ( c ) ) ) , nil }
// ColorChooserDialogNew() is a wrapper around gtk_color_chooser_dialog_new().
ColorChooserDialogNew () is a wrapper around gtk_color_chooser_dialog_new () .