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

Method time_to_text

old_examples/synchronizer.py:157–158  ·  view source on GitHub ↗
(column, cell, method, iter, i)

Source from the content-addressed store, hash-verified

155 renderer = gtk.CellRendererText()
156 column = gtk.TreeViewColumn("Audio time", renderer)
157 def time_to_text(column, cell, method, iter, i):
158 cell.set_property('text', self.get_time_as_str(iter, i))
159 column.set_cell_data_func(renderer, time_to_text, 0)
160 column.set_expand(True)
161 column.set_clickable(True)

Callers

nothing calls this directly

Calls 2

get_time_as_strMethod · 0.95
set_propertyMethod · 0.80

Tested by

no test coverage detected