Module Subtle :: Class Subtle
[hide private]
[frames] | no frames]

Class Subtle

source code

Instance Methods [hide private]
 
__init__(self)
In this init we are going to display the main Subtle window
source code
 
cb_onModeChanged(self, widget)
Change from online mode to editing mode and vice versa
source code
 
cb_hideSubPane(self, widget)
Hide the subtitles pane
source code
 
cb_hideStreamsPane(self, widget)
Hide the streams pane
source code
 
cb_showStreamsPane(self, widget)
Hide the streams pane
source code
 
cb_onSubInsB4(self, widget)
Insert new subtitle before current selected
source code
 
cb_onSubInsAfter(self, widget)
Insert new subtitle after current selected
source code
 
reorder_SubsListStore(self)
Reorder the subs listStore when added or deleted
source code
 
cb_subDel(self, widget)
Delete a subtile from the list store and from memory
source code
 
cb_subOut(self, widget)
Set subtitle endtime
source code
 
cb_subIn(self, widget)
Set subtitle start time
source code
 
cb_onSubsWindowDelete(self, widget, event) source code
 
cb_StreamWindowDelete(self, widget, event) source code
 
cb_onSubtitleWindow(self, menu) source code
 
cb_showSubtitlePane(self, menu)
Show subtitle pane
source code
 
getSubtitle(self, source) source code
 
cb_saveStream(self, widget)
Save a stream.
source code
 
cb_modStream(self, widget) source code
 
cb_newStream(self, widget)
Create a new subtitle
source code
 
setSubtitle(self) source code
 
updateStreamWindow(self) source code
 
cb_delStream(self, widget)
Remove a stream from the current project
source code
 
cb_openMediaCancel(self, widget) source code
 
cb_openMediaOpen(self, widget)
Callback to open a file We do not add filters here because we want to make subtle as dynamic as possible and the number of supported files is too big and sometimes not extensions based
source code
 
addMedia(self, mInfo)
This is polled untill a media file discover process has ended.
source code
 
cb_addNewStream(self, widget) source code
 
cb_onNewMenu(self, menu) source code
 
cb_onSubsListSelect(self, widget, event)
Do the proper thing when subtitle is selected 2 clicks seeks de video to its timecode 1 click edits on the TextView
source code
 
cb_onSubTextEdited(self, cell, path, new_text)
Callback to change subtitle when subtitle text was changed
source code
 
cb_onSubtitleEdit(self, widget, event)
Updates the subtile list in realtime
source code
 
setSubtitleEdit(self, sub)
Set the subtitle to be edited
source code
 
subsWindowUpdate(self) source code
 
saveProject(self) source code
 
cb_projectSaveOpen(self, widget) source code
 
cb_projectSaveCancel(self, widget) source code
 
cb_onSaveAsMenu(self, widget) source code
 
cb_onSaveMenu(self, widget) source code
 
cb_setSubStartTime(self, widget) source code
 
cb_setSubEndTime(self, widget) source code
 
setSubStartTime(self, time) source code
 
setSubEndTime(self, time) source code
 
exposeEventVideoOut(self, widget, event) source code
 
changeValueAdjustment(self, widget, t1, t2) source code
 
buttonReleaseAdjustment(self, widget, event) source code
 
buttonPressAdjustment(self, widget, event) source code
 
playerStop(self, widget) source code
 
playerPlay(self, widget) source code
 
playerSlowMotion(self, widget)
Put the current playing video in slow motion
source code
 
playerFastForward(self, widget)
Put the current playing video in FastForward
source code
 
playerSeekForward(self, widget)
Jump some time or frames (depends on the subtitle format we are using) beyond current position
source code
 
playerSeekRewind(self, widget)
Jump back some time or frames (depends on the subtitle format we are using)
source code
 
mainFileOpen(self, widget) source code
 
openFileCancel(self, widget) source code
 
openFileOpen(self, widget) source code
 
play_toggled(self) source code
 
update_scale_cb(self) source code
Method Details [hide private]

cb_saveStream(self, widget)

source code 

Save a stream. This will be renamed to cb_saveSub since we don't offer video editting (yet)

addMedia(self, mInfo)

source code 

This is polled untill a media file discover process has ended. When it has, throw error to the user if not supported.