/ . / Demo / DemoEditor.py / DemoEditor
Methods
|
|
|
loadDemo
|
loadDemo ( self, src_path )
|
|
checkIfDirty
|
checkIfDirty ( self )
|
|
activateListItem
|
activateListItem ( self, id )
|
|
populateTextFrame
|
populateTextFrame ( self )
|
|
refreshPanelCB
|
refreshPanelCB ( self )
|
|
updatePanelList
|
updatePanelList ( self )
|
|
setSavePath
|
setSavePath ( self, path )
|
|
makeTextPreview
|
makeTextPreview ( self )
|
|
deletePanel
|
deletePanel ( self )
|
|
keyReleaseCB
|
keyReleaseCB ( self, evt )
|
|
populateListFrame
|
populateListFrame ( self )
|
|
refreshPanelInfo
|
refreshPanelInfo ( self, refresh_idx )
if you're gonna refresh to your current panel, don't
do anything
if self.getCurrentPanelId() == refresh_idx:
print "RETURNING AT TOP!"
return
|
|
__init__
|
__init__ ( self, src_path=None )
|
|
panelCount
|
panelCount ( self )
|
|
populateInfoFrame
|
populateInfoFrame ( self )
|
|
setCurrentPanelId
|
setCurrentPanelId ( self, id )
|
|
populateButtonFrame
|
populateButtonFrame ( self )
|
|
getCurrentPanelId
|
getCurrentPanelId ( self )
|
|
refreshTextBox
|
refreshTextBox (
self,
text,
mode='normal',
)
|
|
processPanelName
|
processPanelName ( self, event=None )
|
|
markDirty
|
markDirty ( self )
|
|
getCurrentText
|
getCurrentText ( self )
|
|
fillInUI
|
fillInUI ( self, parent )
|
|
writeDemo
|
writeDemo (
self,
save_path,
tempMode=False,
)
|
|
panelDown
|
panelDown ( self )
|
|
newPanelCB
|
newPanelCB ( self )
|
|
getPanel
|
getPanel ( self, id )
|
|
getNewPanelId
|
getNewPanelId ( self )
|
|
configureUpDown
|
configureUpDown ( self, idx )
|
|
doScroll
|
doScroll ( self, event )
|
|
populateGlobalFrame
|
populateGlobalFrame ( self )
|
|
makeMenus
|
makeMenus ( self, parent )
|
|
getCurrentPanel
|
getCurrentPanel ( self )
|
|
updateWindowTitle
|
updateWindowTitle ( self, data=None )
|
|
makeTextNormal
|
makeTextNormal ( self )
|
|
updatePanelName
|
updatePanelName (
self,
id,
name,
)
|
|
makeNewPanel
|
makeNewPanel (
self,
insert_idx=None,
name=None,
)
|
|
previewCB
|
previewCB ( self )
|
|
configurePanelInput
|
configurePanelInput ( self, mode )
|
|
duplicatePanel
|
duplicatePanel ( self )
|
|
markClean
|
markClean ( self )
|
|
writeOutCurrentText
|
writeOutCurrentText ( self, f )
|
|
populateCmdsFrame
|
populateCmdsFrame ( self )
|
|
getTruncPath
|
getTruncPath ( self, path )
|
|
|