gtk/print.go
func (ps *PrintSettings) LoadFile(name string) error {
	cstr := C.CString(name)
	defer C.free(unsafe.Pointer(cstr))
	var err *C.GError = nil
	c := C.gtk_print_settings_load_file(ps.native(), (*C.gchar)(cstr), &err)
	if gobool(c) == false {
		defer C.g_error_free(err)
		return errors.New(C.GoString((*C.char)(err.message)))
	}
	return nil
}
func (ps *PrintSettings) LoadFile(name string) error {
	cstr := C.CString(name)
	defer C.free(unsafe.Pointer(cstr))
	var err *C.GError = nil
	c := C.gtk_print_settings_load_file(ps.native(), (*C.gchar)(cstr), &err)
	if gobool(c) == false {
		defer C.g_error_free(err)
		return errors.New(C.GoString((*C.char)(err.message)))
	}
	return nil
}
func ( ps * PrintSettings ) LoadFile ( name string ) error { cstr := C . CString ( name ) defer C . free ( unsafe . Pointer ( cstr ) ) var err * C . GError = nil c := C . gtk_print_settings_load_file ( ps . native ( ) , ( * C . gchar ) ( cstr ) , & err ) if gobool ( c ) == false { defer C . g_error_free ( err ) return errors . New ( C . GoString ( ( * C . char ) ( err . message ) ) ) } return nil }
// PrintSettingsNewFromKeyFile() is a wrapper around gtk_print_settings_new_from_key_file().
// LoadFile() is a wrapper around gtk_print_settings_load_file().
PrintSettingsNewFromKeyFile () is a wrapper around gtk_print_settings_new_from_key_file () . LoadFile () is a wrapper around gtk_print_settings_load_file () .