Part of kiwi
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 |
Return a list of all properties for GType gtype, excluding properties in parent classes
Register the type, but only if it's not already registered
Parameters | gtype | the class to register |
Add a GObject signal to the current object. It current supports the following types:
Parameters | name | name of the signal (type: string) |
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. | |
Notes | flags: A combination of;
| |
retval: return value in signal callback |
Add a GObject property to the current object.
Parameters | name | name of property (type: string) |
ptype | type of property (type: type) | |
default | default value | |
nick | short description | |
blurb | long description | |
flags | parameter flags, a combination of:
Optional, only for int, float, long types: | |
Notes | minimum: minimum allowed value | |
maximum: maximum allowed value |