def on_vid_icon_press(self, *a): if self["vid"].get_sensitive(): self["vid"].set_text(generate_folder_id())