gtk/print_since_3_16.go
func PaperSizeNewFromIPP(name string, width, height float64) (*PaperSize, error) {
	cstr := C.CString(name)
	defer C.free(unsafe.Pointer(cstr))

	c := C.gtk_paper_size_new_from_ipp((*C.gchar)(cstr), C.gdouble(width), C.gdouble(height))
	if c == nil {
		return nil, nilPtrErr
	}

	t := &PaperSize{c}
	runtime.SetFinalizer(t, (*PaperSize).free)
	return t, nil
}
func PaperSizeNewFromIPP(name string, width, height float64) (*PaperSize, error) {
	cstr := C.CString(name)
	defer C.free(unsafe.Pointer(cstr))

	c := C.gtk_paper_size_new_from_ipp((*C.gchar)(cstr), C.gdouble(width), C.gdouble(height))
	if c == nil {
		return nil, nilPtrErr
	}

	t := &PaperSize{c}
	runtime.SetFinalizer(t, (*PaperSize).free)
	return t, nil
}
func PaperSizeNewFromIPP ( name string , width , height float64 ) ( * PaperSize , error ) { cstr := C . CString ( name ) defer C . free ( unsafe . Pointer ( cstr ) ) c := C . gtk_paper_size_new_from_ipp ( ( * C . gchar ) ( cstr ) , C . gdouble ( width ) , C . gdouble ( height ) ) if c == nil { return nil , nilPtrErr } t := & PaperSize { c } runtime . SetFinalizer ( t , ( * PaperSize ) . free ) return t , nil }
// PaperSizeNewFromIpp is a wrapper around gtk_paper_size_new_from_ipp().
PaperSizeNewFromIpp is a wrapper around gtk_paper_size_new_from_ipp () .