GObject.Object
GObject.InitiallyUnowned
Properties | Defined By | |
---|---|---|
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned |
Method / Constructor | Defined By | |
---|---|---|
new GObject.InitiallyUnowned
(Object properties)
Create a new GObject.InitiallyUnowned
Create a new GObject.InitiallyUnowned
|
||
GObject.InitiallyUnowned.bind_property
(void* source, String source_property, void* target, String target_property, BindingFlags flags)
:
GObject.Binding
Creates a binding between source_property on source and target_property
on target.
Creates a binding between source_property on source and target_property
on target. Whenever the source_property is changed the target_property is updated using the same value. For instance: |[ g_object_bind_property (action, "active", widget, "sensitive", 0); ]| Will result in the "sensitive" property of the widget GObject instance to be updated with the same value of the "active" property of the action GObject instance. If flags contains G_BINDING_BIDIRECTIONAL then the binding will be mutual: if target_property on target changes then the source_property on source will be updated as well. The binding will automatically be removed when either the source or the GBinding instance. A GObject can have multiple bindings. binding between the two GObject instances. The binding is released whenever the GBinding reference count reaches zero.
|
GObject.InitiallyUnowned | |
GObject.InitiallyUnowned.bind_property_full
(void* source, String source_property, void* target, String target_property, BindingFlags flags, Closure transform_to, Closure transform_from)
:
GObject.Binding
Complete version of g_object_bind_property().
Complete version of g_object_bind_property().
Creates a binding between source_property on source and target_property on target, allowing you to set the transformation functions to be used by the binding. If flags contains G_BINDING_BIDIRECTIONAL then the binding will be mutual: if target_property on target changes then the source_property on source will be updated as well. The transform_from function is only used in case of bidirectional bindings, otherwise it will be ignored The binding will automatically be removed when either the source or the GBinding instance. A GObject can have multiple bindings. and transform_from transformation functions; the notify function will be called once, when the binding is removed. If you need different data for each transformation function, please use g_object_bind_property_with_closures() instead. binding between the two GObject instances. The binding is released whenever the GBinding reference count reaches zero.
|
GObject.InitiallyUnowned | |
GObject.InitiallyUnowned.c_new
(Number object_type, guint32 n_parameters, Array parameters)
:
GObject.Object
Creates a new instance of a GObject subtype and sets its properties.
Creates a new instance of a GObject subtype and sets its properties.
Construction parameters (see G_PARAM_CONSTRUCT, G_PARAM_CONSTRUCT_ONLY) which are not explicitly specified are set to their default values.
|
GObject.InitiallyUnowned | |
GObject.InitiallyUnowned | ||
GObject.InitiallyUnowned.interface_find_property
(void* g_iface, String property_name)
:
GObject.ParamSpec
Find the GParamSpec with the given name for an
interface.
Find the GParamSpec with the given name for an
interface. Generally, the interface vtable passed in as g_iface will be the default vtable from g_type_default_interface_ref(), or, if you know the interface has already been loaded, g_type_default_interface_peek(). interface with the name property_name, or NULL if no such property exists.
|
GObject.InitiallyUnowned | |
Add a property to an interface; this is only useful for interfaces
that are added to GObject-derived types.
Add a property to an interface; this is only useful for interfaces
that are added to GObject-derived types. Adding a property to an interface forces all objects classes with that interface to have a compatible property. The compatible property could be a newly created GParamSpec, but normally g_object_class_override_property() will be used so that the object class only needs to provide an implementation and inherits the property description, default value, bounds, and so forth from the interface property. This function is meant to be called from the interface's default vtable initialization function (the class_init member of GTypeInfo.) It must not be called after after class_init has been called for any object types implementing this interface.
|
GObject.InitiallyUnowned | |
Lists the properties of an interface.Generally, the interface
vtable passed in as g_iface will be the default vtable from g_type_default_interface_ref(), or, if you know the interface has already been loaded, g_type_default_interface_peek().
Lists the properties of an interface.Generally, the interface
vtable passed in as g_iface will be the default vtable from g_type_default_interface_ref(), or, if you know the interface has already been loaded, g_type_default_interface_peek(). pointer to an array of pointers to GParamSpec structures. The paramspecs are owned by GLib, but the array should be freed with g_free() when you are done with it.
|
GObject.InitiallyUnowned | |
GObject.InitiallyUnowned.type_init
()
:
none
|
GObject.InitiallyUnowned |
None |