cfecbc912b
I'm now introducing a couple of goodies to make externals more useful, they are: * add: extra parameter with the part name. This may be used by external objects to emit signals in the name of that part. * param_set/param_get: set parameters at runtime, given their names and types. This avoids requiring users to get the actual object and call methods. This abstraction is also good because it let one uses Elementary without even linking to it ;-) (this have limits, like complex types are not supported). Right now this is just exposed to C, but goal is to have it exposed in Embryo and Lua as well. * translate: new method to translate previously strings that are specified statically, such as the parameters names. Four new functions got added to the Edje API: * edje_object_part_external_object_get() so we don't have to abuse edje_object_part_swallow_get() * edje_object_part_external_param_set() and edje_object_part_external_param_get() that call the external type's functions. * edje_external_param_type_str() to convert types to string and provide nicer debugs :-) TODO: * expose external_param_set()/external_param_get() to Embryo and Lua. SVN revision: 47456 |
||
---|---|---|
legacy |