python bug.py
#!/usr/bin/python # -*- coding: utf-8 -*- import gtk import pygtk import hildon class inventory: def __init__(self): self.main_window = hildon.StackableWindow() self.dep_button = hildon.PickerButton(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL) self.dep_button.set_title("test") self.selector = hildon.TouchSelectorEntry(text=True) self.selector.connect("changed", self.selection_changed) for i in range(5): self.selector.append_text(str(i)) self.main_window.add(self.dep_button) self.dep_button.set_selector(self.selector) self.main_window.show_all() def selection_changed(self, column, user_data): print "Begining the signal event" print "End of the signal event" if __name__ == "__main__": inventory() gtk.main()