GObject utilities and addons
Function list_properties Return a list of all properties for GType gtype, excluding properties in parent classes
Function type_register Register the type, but only if it's not already registered @param gtype: the class to register
Class PropertyMeta No summary
Class PropertyObject I am an object which maps GObject properties to attributes To be able to use me, you must also inherit from a gobject.GObject subclass.
Function gsignal No summary
Function gproperty No summary
Function quote Similar to urllib.quote but for glibs GMarkup @param msg: string to quote @returns: quoted string
Class _GObjectClassInittableMetaType Undocumented
Class _GobjectClassInittableObject Undocumented
Function _max Undocumented
def list_properties(gtype, parent=True):
Return a list of all properties for GType gtype, excluding
properties in parent classes
def type_register(gtype):
Register the type, but only if it's not already registered
@param gtype: the class to register
def gsignal(name, *args, **kwargs):
Add a GObject signal to the current object.
It current supports the following types:
    - str, int, float, long, object, enum
@param name: name of the signal
@type name: string
@param args: types for signal parameters,
    if the first one is a string 'override', the signal will be
    overridden and must therefor exists in the parent GObject.
@note: flags: A combination of;
  - gobject.SIGNAL_RUN_FIRST
  - gobject.SIGNAL_RUN_LAST
  - gobject.SIGNAL_RUN_CLEANUP
  - gobject.SIGNAL_NO_RECURSE
  - gobject.SIGNAL_DETAILED
  - gobject.SIGNAL_ACTION
  - gobject.SIGNAL_NO_HOOKS
@note: retval: return value in signal callback
def _max(c):
Undocumented
def gproperty(name, ptype, default=None, nick='', blurb='', flags=gobject.PARAM_READWRITE, **kwargs):
Add a GObject property to the current object.
@param name:   name of property
@type name:    string
@param ptype:   type of property
@type ptype:    type
@param default:  default value
@param nick:     short description
@param blurb:    long description
@param flags:    parameter flags, a combination of:
  - PARAM_READABLE
  - PARAM_READWRITE
  - PARAM_WRITABLE
  - PARAM_CONSTRUCT
  - PARAM_CONSTRUCT_ONLY
  - PARAM_LAX_VALIDATION
Optional, only for int, float, long types:
@note: minimum: minimum allowed value
@note: maximum: maximum allowed value
def quote(msg):
Similar to urllib.quote but for glibs GMarkup
@param msg: string to quote
@returns: quoted string
API Documentation for Kiwi, generated by pydoctor at 2019-08-08 02:24:42.