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

Method error

old_examples/vumeter.py:64–72  ·  view source on GitHub ↗
(self, message, secondary=None)

Source from the content-addressed store, hash-verified

62 self.vus[1].show()
63
64 def error(self, message, secondary=None):
65 m = gtk.MessageDialog(self,
66 gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT,
67 gtk.MESSAGE_ERROR,
68 gtk.BUTTONS_OK,
69 message)
70 if secondary:
71 m.format_secondary_text(secondary)
72 m.run()
73
74 def on_message(self, bus, message):
75 if message.structure.get_name() == 'level':

Callers 13

runMethod · 0.95
seekMethod · 0.80
seekMethod · 0.80
seekMethod · 0.80
py_audiotestsrc.pyFile · 0.80
do_fillMethod · 0.80
do_transform_ipMethod · 0.80
mixer.pyFile · 0.80
audioplot.pyFile · 0.80

Calls 1

runMethod · 0.45

Tested by 2

do_fillMethod · 0.64
testDebugMethod · 0.64