Vips.Argument¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
pspec |
r/w |
Methods¶
class |
|
Details¶
- class Vips.Argument¶
libvips has a simple mechanism for automating at least some aspects of [class`GObject`.Object] properties. You add a set of macros to your
_class_init()which describe the arguments, and set the get and set functions to the libvips ones.See extending for a complete example.
- classmethod map(object, fn, a, b)¶
- Parameters:
object (
Vips.Object) – object whose args should be enumeratedfn (
Vips.ArgumentMapFn) – call this function for every argument
- Returns:
NULLif fn returnsNULLfor all arguments, otherwise the first non-NULLvalue from fn.- Return type:
Loop over the [struct`Argument`] of an object. Stop when fn returns non-
NULLand return that value.