GObject.Object
Clutter.Script
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterScript |
Class : | Script |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
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 : Boolean
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 | |
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 function allows to control how the signal handlers are going to be connected to their respective signals. It is meant primarily for language bindings to allow resolving the function names using the native API. Applications should use clutter_script_connect_signals().
|
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.
|
Clutter.Script | |
Looks up a type by name, using the virtual function that ClutterScript has for that purpose.
|
Clutter.Script | |
list_objects
()
:
Array
Retrieves all the objects created by script.
Retrieves all the objects created by script. objects it returns.
|
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.
|
Clutter.Script | |
Loads the definitions from filename into script and merges with the currently loaded ones, if any.
|
Clutter.Script | |
Clutter.Script | ||
unmerge_objects
(Number 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.
|