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

Method add_and_select

old_examples/synchronizer.py:179–182  ·  view source on GitHub ↗
(*x)

Source from the content-addressed store, hash-verified

177 add = gtk.Button(stock=gtk.STOCK_ADD)
178 add.show()
179 def add_and_select(*x):
180 iter = model.append()
181 self.view.get_selection().select_iter(iter)
182 self.changed()
183 add.connect("clicked", add_and_select)
184 hbox.pack_end(add, False, False, 0)
185

Callers

nothing calls this directly

Calls 1

changedMethod · 0.95

Tested by

no test coverage detected