MCPcopy Create free account
hub / github.com/GStreamer/gst-python / __init__

Method __init__

old_examples/synchronizer.py:322–333  ·  view source on GitHub ↗
(self, parent, fromname, toname)

Source from the content-addressed store, hash-verified

320
321class RemuxProgressDialog(ProgressDialog):
322 def __init__(self, parent, fromname, toname):
323 ProgressDialog.__init__(self,
324 "Writing to disk",
325 ('Writing the newly synchronized <b>%s</b> '
326 'to <b>%s</b>. This may take some time.'
327 % (fromname, toname)),
328 'Starting media pipeline',
329 parent,
330 gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
331 (gtk.STOCK_CANCEL, CANCELLED,
332 gtk.STOCK_CLOSE, SUCCESS))
333 self.set_completed(False)
334
335 def update_position(self, pos, dur):
336 remaining = dur - pos

Callers

nothing calls this directly

Calls 2

set_completedMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected