debug-viewer: add a few doc strings

This commit is contained in:
Stefan Sauer 2016-09-30 22:31:24 +02:00
parent b84d4490f7
commit 0e4d6664d4
2 changed files with 18 additions and 0 deletions

View file

@ -268,6 +268,10 @@ class SortHelper (object):
class LineCache (Producer):
"""
offsets: file position for each line
levels: the debug level for each line
"""
_lines_per_iteration = 50000

View file

@ -59,18 +59,32 @@ class FeatureBase (object):
pass
def handle_attach_window(self, window):
"""
window: GstDebugViewer.GUI.window.Window
"""
pass
def handle_attach_log_file(self, window, log_file):
"""
window: GstDebugViewer.GUI.window.Window
log_file: GstDebugViewer.Data.LogFile
"""
pass
def handle_detach_log_file(self, window, log_file):
"""
window: GstDebugViewer.GUI.window.Window
log_file: GstDebugViewer.Data.LogFile
"""
pass
def handle_detach_window(self, window):
"""
window: GstDebugViewer.GUI.window.Window
"""
pass