GValue
¶
This module defines the pyvips GValue
class. You can use instances of this class to get and set GObject
properties.
Wrap GValue in a Python class.
This class wraps GValue
in a convenient interface. You can use instances of this class to get and set GObject
properties.
On construction, GValue
is all zero (empty). You can pass it to a get function to have it filled by GObject
, or use init to set a type, set to set a value, then use it to set an object property.
GValue lifetime is managed automatically.
Map a gtype to the name of the Python type we use to represent it.
Turn a string into an enum value ready to be passed into libvips.
Turn an int back into an enum string.
Set the type of a GValue.
GValues have a set type, fixed at creation time. Use set_type to set the type of a GValue before assigning to it.
GTypes are 32 or 64-bit integers (depending on the platform). See type_find.
Set a GValue.
The value is converted to the type of the GValue, if possible, and assigned.
Get the contents of a GValue.
The contents of the GValue are read out as a Python type.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4