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