Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/a/d/advancedcaching-HEAD/advancedcaching/hildon_plugins.py   advancedcaching(Download)
        pick_type.set_title("Select Type")
        selected = cache.upload_as if (cache.upload_as != Null) else 0
        sel_type.select_iter(0, sel_type.get_model(0).get_iter(selected), False)
 
        statuses = [
        for text, status in statuses:
            if cache.logas == status:
                fieldnotes_log_as_selector.select_iter(0, fieldnotes_log_as_selector.get_model(0).get_iter(i), False)
            i += 1
        fieldnotes_log_as = hildon.PickerButton(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL)
        pick_dist_type.set_selector(sel_dist_type)
        pick_dist_type.set_title("Search")
        sel_dist_type.select_iter(0, sel_dist_type.get_model(0).get_iter(1), False)
 
        list_dist_radius = (1, 5, 10, 20, 50, 100, 200)
        pick_dist_radius.set_title("Radius")
        pick_dist_type.connect('value-changed', lambda caller: pick_dist_radius.set_sensitive(sel_dist_type.get_selected_rows(0)[0][0] != 0))
        sel_dist_radius.select_iter(0, sel_dist_radius.get_model(0).get_iter(1), False)
 
        sel_size = hildon.TouchSelector(text=True)
        pick_size.set_title("Select Size(s)")
        for i in xrange(5):
            sel_size.select_iter(0, sel_size.get_model(0).get_iter(i), False)
 
        sel_type = hildon.TouchSelector(text=True)

src/a/d/advancedcaching-HEAD/advancedcaching/hildongui.py   advancedcaching(Download)
            tts_selector.append_text(text)
            if self.settings['tts_interval'] == seconds:
                tts_selector.select_iter(0, tts_selector.get_model(0).get_iter(i), False)
            i += 1
 
            rotate_selector.append_text(text)
            if self.settings['options_rotate_screen'] == status:
                rotate_selector.select_iter(0, rotate_selector.get_model(0).get_iter(i), False)
            i += 1
 

src/z/o/zourite-0.4.0/src/zourite/gui/zouriteGui.py   zourite(Download)
 
            if plugin_id in registered_plugin_id_list:
                selector.select_iter(0, selector.get_model(0).get_iter(rang), False)
 
 
            selector.append_text(label)
            if strategy == currentCacheStrategy :
                selector.select_iter(0,selector.get_model(0).get_iter(rang), False)
 
        # Set selection mode to allow multiple selection
            selector.append_text(label)
            if store == currentCacheStore :
                selector.select_iter(0,selector.get_model(0).get_iter(rang), False)
 
        # Set selection mode to allow multiple selection