Import line: | GObject = imports.gi.GObject; |
GIR File: | GObject-2.0.gir |
C documentation: | GTypeClass |
Struct : | TypeClass |
Properties | Defined By | |
---|---|---|
g_type : Number
read only
|
GObject.TypeClass |
Method / Constructor | Defined By | |
---|---|---|
new GObject.TypeClass
()
Create a new GObject.TypeClass
Create a new GObject.TypeClass
|
||
peek_parent
()
:
GObject.TypeClass
This is a convenience function often needed in class initializers.
This is a convenience function often needed in class initializers.
It returns the class structure of the immediate parent type of the class passed in. Since derived classes hold a reference count on their parent classes as long as they are instantiated, the returned class will always exist. This function is essentially equivalent to: g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class))); of g_class.
|
GObject.TypeClass |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GObject
Method |
|
GObject
Method |
This function is essentially the same as g_type_class_ref(), except that
the classes reference count isn't incremented. |
GObject
Method |
A more efficient version of g_type_class_peek() which works only for
static types. |
GObject
Method |
Returns the GTypeInterface structure of an interface to which the
passed in class conforms. |
GObject
Method |
|