(self, name, value)
Set a GObject property.

        The value is converted to the property type, if possible.
Set a GObject property.
Set a GObject property .
def set(self, name, value):
        """Set a GObject property.

        The value is converted to the property type, if possible.

        """

        logger.debug('VipsObject.set: name = %s, value = %s', name, value)

        gtype = self.get_typeof(name)

        gv = pyvips.GValue()
        gv.set_type(gtype)
        gv.set(value)
        go = ffi.cast('GObject *', self.pointer)
        gobject_lib.g_object_set_property(go, _to_bytes(name), gv.pointer)
def set ( self , name , value ) : logger . debug ( 'VipsObject.set: name = %s, value = %s' , name , value ) gtype = self . get_typeof ( name ) gv = pyvips . GValue ( ) gv . set_type ( gtype ) gv . set ( value ) go = ffi . cast ( 'GObject *' , self . pointer ) gobject_lib . g_object_set_property ( go , _to_bytes ( name ) , gv . pointer )