GObject.Object
Clutter.Script
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterScript |
Class : | Script |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
filename : String
read only
The path of the currently parsed file.
The path of the currently parsed file. If ClutterScript:filename-set
is FALSE then the value of this property is undefined. |
Clutter.Script | |
filename_set : gboolean
read only
Whether the ClutterScript:filename property is set.
Whether the ClutterScript:filename property is set. If this property
is TRUE then the currently parsed data comes from a file, and the file name is stored inside the ClutterScript:filename property. |
Clutter.Script | |
parent_instance : GObject.Object
read only
|
Clutter.Script | |
priv : Clutter.ScriptPrivate
read only
|
Clutter.Script |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.Script
(Object properties)
Create a new Clutter.Script
Create a new Clutter.Script
|
||
Adds paths to the list of search paths held by script.
Adds paths to the list of search paths held by script.
The search paths are used by clutter_script_lookup_filename(), which can be used to define search paths for the textures source file name or other custom, file-based properties.
|
Clutter.Script | |
connect_signals
(void* user_data)
:
none
Connects all the signals defined into a UI definition file to their
handlers.
Connects all the signals defined into a UI definition file to their
handlers. This method invokes clutter_script_connect_signals_full() internally and uses GModule's introspective features (by opening the current module's scope) to look at the application's symbol table. Note that this function will not work if GModule is not supported by the platform Clutter is running on.
|
Clutter.Script | |
ensure_objects
()
:
none
Ensure that every object defined inside script is correctly
constructed.
Ensure that every object defined inside script is correctly
constructed. You should rarely need to use this function.
|
Clutter.Script | |
get_object
(String name)
:
GObject.Object
Retrieves the object bound to name.
Retrieves the object bound to name. This function does not increment
the reference count of the returned object. with the given name was available
|
Clutter.Script | |
Looks up a type by name, using the virtual function that
ClutterScript has for that purpose.
Looks up a type by name, using the virtual function that
ClutterScript has for that purpose. This function should rarely be used. G_TYPE_INVALID if not corresponding type was found.
|
Clutter.Script | |
list_objects
()
:
Array
Retrieves all the objects created by script.
Retrieves all the objects created by script.
objects it returns. or NULL. The objects are owned by the ClutterScript instance. Use g_list_free() on the returned value when done.
|
Clutter.Script | |
Loads the definitions from data into script and merges with
the currently loaded ones, if any.
Loads the definitions from data into script and merges with
the currently loaded ones, if any. accordingly. On success, the merge id for the UI definitions is returned. You can use the merge id with clutter_script_unmerge().
|
Clutter.Script | |
Loads the definitions from filename into script and merges with
the currently loaded ones, if any.
Loads the definitions from filename into script and merges with
the currently loaded ones, if any. accordingly. On success, the merge id for the UI definitions is returned. You can use the merge id with clutter_script_unmerge().
|
Clutter.Script | |
Looks up filename inside the search paths of script.
|
Clutter.Script | |
unmerge_objects
(guint32 merge_id)
:
none
Unmerges the objects identified by merge_id.
Unmerges the objects identified by merge_id.
|
Clutter.Script |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Scriptable
Method |
Parses the passed JSON node.
|
Clutter.Scriptable
Method |
Overrides the common properties setting.
|