openalea.oalab.applets package

Submodules

openalea.oalab.applets.container module

class openalea.oalab.applets.container.AppletContainer(session, controller, parent=None)[source]

Bases: PyQt4.QtGui.QTabWidget

Contains applets. Each tab is an applet.

actions()[source]
Returns:list of actions to set in the menu.
addCreateFileTab()[source]

Display a tab to select type of file that you can create

addDefaultTab()[source]

Display a welcome tab if nothing is opened

animate()[source]
autoClose(n_tab)[source]
closeAll()[source]
closeTab()[source]

Close current tab

comment()[source]
focusChange()[source]
goto()[source]
identifier = 'WidgetEditorContainer'
mainMenu()[source]
Returns:Name of menu tab to automatically set current when current widget

begin current.

name = 'Editor Container'
newTab(applet_type, tab_name='', script='')[source]

Open a tab with the widget ‘applet_type’

# TODO : automatize with plugin system

openTab(applet_type, tab_name, script)[source]

Open a tab with the widget ‘applet_type’

redo()[source]
reinit()[source]
reset()[source]

Delete all tabs

rmTab(tabname='Welcome')[source]

Remove the tab named “tabname”

Parameters:tabname – name of the tab to remove. Default: “Welcome”
run()[source]
run_selected_part()[source]
save(name=None)[source]

Save current script

save_all()[source]

Save all opened src

search()[source]
setAllTabBlack()[source]
setTabBlack(index=None)[source]
setTabRed(index=None)[source]
step()[source]
stop()[source]
uncomment()[source]
undo()[source]

Module contents