gui.createDesktopPane
Creates a new editor window and optionally fill it with a module.
Prototype
gui.createDesktopPane ( [sModuleIdentifier] )
Description
Useful to show more complex popup-style information, like a log window when there is no log module on the current ShiVa desktop.
Sample
-- new empty editor window function onCreateEmptyPanel ( ) gui.createDesktopPane ( ) end ------------------------------------ -- somewhere in another function, create a log window if ( gui.getMainModuleViewDesktopPane ( "com.shiva.editor.log" ) == nil ) then gui.createDesktopPane ( "com.shiva.editor.log" ) end
Available since ShiVa 2.0