class_docstr: Manage a VipsObject.
class_docstr_tok: ["Manage","a","VipsObject","."]
docstr: Set a GObject property.
  
  The value is converted to the property type, if possible.
docstr_tok: ["Set","a","GObject","property",".","The","value","is","converted","to","the","property","type",",","if","possible","."]
code: 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)
  
file_path: pyvips/pyvips/vobject.py
imports: from __future__ import division
  import logging
  import pyvips
  from pyvips import ffi, vips_lib, gobject_lib, Error, _to_bytes, _to_string
label_desc: Use image node_id 7 for calling the VipsObject obj's underlying member method code with example usage: obj.set(name, value) without return types