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

Method combobox_changed

old_examples/switch.py:147–151  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145 self.combobox.set_active(0)
146
147 def combobox_changed(self):
148 model = self.combobox.get_model()
149 row = model[self.combobox.get_active()]
150 padname, = row
151 self.player.switch(padname)
152
153 def create_ui(self):
154 vbox = gtk.VBox()

Callers 1

create_uiMethod · 0.95

Calls 1

switchMethod · 0.80

Tested by

no test coverage detected