gui.getComponent
Returns a handle to an editor GUI component.
Prototype
hComponent = gui.getComponent ( sComponentIdentifier )
Parameters
sComponentIdentifier - identifier string, possibly from the ModuleXML
Return values
hComponent - component handle if successful, otherwise nil
Sample
function onScriptEditorUndo ( hView, hComponent ) commonAPI.undoScriptEditorModification ( gui.getParentComponent ( gui.getComponent ( "editor" ) ) ) end
Available since ShiVa 2.0