|
TKE
3.6
Advanced code editor for programmers
|
Functions | |
| save_variable interp pname index name value | |
| load_variable interp pname index name | |
| is_exposed interp pname name | |
| exec_exposed interp pname name args | |
| reload interp pname | |
| get_header_info interp pname attr | |
| api::plugin::exec_exposed | interp pname name args | ||
Executes the exposed procedure (if it exists) and returns the value returned by the procedure. If the procedure does not exist or there is an exception thrown by the procedure, a value of -1 will be returned to the calling method.
Definition at line 887 of file api.tcl.
| api::plugin::get_header_info | interp pname attr | ||
| api::plugin::is_exposed | interp pname name | ||
Returns a value of true if the given procedure has been exposed by another plugin. The value of "name" should be in the form of: <plugin_name>::<procedure_name>
| api::plugin::load_variable | interp pname index name | ||
Retrieves the value of the named variable from non-corruptible memory (from a previous save_variable call.
| index | Unique value that is passed to the on_reload retrieve command. |
| name | Name of the variable to get the value of. If the named variable could not be found), an empty string is returned. |
Definition at line 866 of file api.tcl.
| api::plugin::reload | interp pname | ||
Reloads the plugins. This is useful if the plugin changes its own code at runtime and needs to re-source itself.
| api::plugin::save_variable | interp pname index name value | ||
Saves the value of the given variable name to non-corruptible memory so that it can be later retrieved when the plugin is reloaded.
| index | Unique value that is passed to the on_reload save command. |
| name | Name of the variable to store |
| value | Variable value to store |
Definition at line 853 of file api.tcl.