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

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

src/a/d/advancedcaching-HEAD/advancedcaching/hildon_plugins.py   advancedcaching(Download)
        sel = hildon.TouchSelector(text=True)
        for x in results:
            sel.append_text(x.name)
 
        dlg = hildon.PickerDialog(self.window)
 
        sel_type = hildon.TouchSelector(text=True)
        sel_type.append_text('Post as Log')
        sel_type.append_text('Upload as Fieldnote')
        #sel_type.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_MULTIPLE)
 
        for text, status in statuses:
            fieldnotes_log_as_selector.append_text(text)
        i = 0
        for text, status in statuses:
 
        sel_dist_type = hildon.TouchSelector(text=True)
        sel_dist_type.append_text('anywhere')
        sel_dist_type.append_text('around my position')
        sel_dist_type.append_text('around the current map center')

src/a/d/advancedcaching-HEAD/advancedcaching/hildongui.py   advancedcaching(Download)
        sel_tiles = hildon.TouchSelector(text=True)
        for name, loader in self.map.tile_loaders:
            sel_tiles.append_text(name)
        pick_tiles = hildon.PickerButton(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        pick_tiles.set_selector(sel_tiles)
        i = 0
        for seconds, text in tts_settings:
            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 = 0
        for status, text in rotate_settings:
            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)
            text = "#%d: %s" % (i, caption)
            i += 1
            selector.append_text(text)
 
 
        clist = cache.get_collected_coordinates(include_unknown=not no_empty, format=self.format, htmlcallback=self._strip_html, shorten_callback=lambda text: self.shorten_name(text, 65))
        for number, c in clist.items():
            selector.append_text(c.display_text)
        selector.connect('changed', callback, clist)
        return selector, clist

src/m/a/maegen-0.2.0/src/maegen/gui/hildon/maegenGui.py   maegen(Download)
            selector = hildon.TouchSelector(text=True)
            self.edit_marriage.set_selector(selector)
            selector.append_text("no mention")
            selector.append_text("married")                   
            if self.family.married:               
            selector = hildon.TouchSelector(text=True)
            self.edit_divorce.set_selector(selector)
            selector.append_text("not divorced")
            selector.append_text("divorced")                   
            if self.family.divorced:               
        selector = hildon.TouchSelector(text=True)
        picker_button.set_selector(selector)
        selector.append_text("unknown")
        selector.append_text("male")
        selector.append_text("female")

src/z/o/zourite-0.4.0/src/zourite/gui/zouriteGui.py   zourite(Download)
            pluginIter = pluginModel.get_iter(path)
            pluginId, = pluginModel.get(pluginIter,0)            
            selector.append_text(pluginId)
 
        return selector
            label = plugin.get_plugin_id() # TODO replace by a user friendly label
            # Add item to the column
            selector.append_text(label)
            # must this be selected ?
            plugin_id = plugin.get_plugin_id()
            label = strategy # TODO replace by a user friendly label
            # Add item to the column
            selector.append_text(label)
            if strategy == currentCacheStrategy :
                selector.select_iter(0,selector.get_model(0).get_iter(rang), False)
            label = store  # TODO replace by a user friendly label
            # Add item to the column
            selector.append_text(label)
            if store == currentCacheStore :
                selector.select_iter(0,selector.get_model(0).get_iter(rang), False)

src/m/i/mieru-HEAD/platforms/maemo5.py   mieru(Download)
    id = 0
    for mode in modes:
      touchSelector.append_text(mode[1])
      if lastUsedValue == mode[0]:
        lastUsedValueId = id
    id = 0
    for mode in modes:
      touchSelector.append_text(mode)
      if lastUsedValue == mode:
        lastUsedValueId = id

src/s/e/SeriesFinale-HEAD/src/SeriesFinale/gui.py   SeriesFinale(Download)
        modes = [_('Automatic'), _('Portrait'), _('Landscape')]
        for mode in modes:
            selector.append_text(mode)
        picker_button.set_selector(selector)
        picker_button.set_active(self.settings.getConf(Settings.SCREEN_ROTATION))
        picker_button.set_alignment(0, 0.5, 0, 1)
        selector = hildon.TouchSelector(text = True)
        selector.append_text(_('Left'))
        selector.append_text(_('Right'))
        picker_button.set_selector(selector)