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

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

src/a/d/advancedcaching-HEAD/advancedcaching/hildon_plugins.py   advancedcaching(Download)
            return
 
        sel = hildon.TouchSelector(text=True)
        for x in results:
            sel.append_text(x.name)
            return
 
        sel_type = hildon.TouchSelector(text=True)
        sel_type.append_text('Post as Log')
        sel_type.append_text('Upload as Fieldnote')
 
 
        fieldnotes_log_as_selector = hildon.TouchSelector(text=True)
 
        for text, status in statuses:
        name_hbox = hildon.Caption(None, "Name", name, None, hildon.CAPTION_OPTIONAL)
 
        sel_dist_type = hildon.TouchSelector(text=True)
        sel_dist_type.append_text('anywhere')
        sel_dist_type.append_text('around my position')
 
        list_dist_radius = (1, 5, 10, 20, 50, 100, 200)
        sel_dist_radius = hildon.TouchSelector(text=True)
        for x in list_dist_radius:
            sel_dist_radius.append_text('%d km' % x)

src/m/a/maegen-0.2.0/src/maegen/gui/hildon/maegenGui.py   maegen(Download)
        dialog.set_title("New Family")
        dialog.add_button("Create", gtk.RESPONSE_OK)
        selector = hildon.TouchSelector()
        husband_model = gtk.ListStore(str, object)
        wife_model = gtk.ListStore(str, object)
    def _on_add_child_menu_clicked(self):
        selector = hildon.TouchSelector()
        model = gtk.ListStore(str, object)
        logging.debug("creating list for child selection...")
        for indi in filter(lambda child: child.mother is None and child.father is None, self.zcore.retrieve_all_individuals()):
    def _open_dialog_to_select_parent(self, widget, parent):
        selector = hildon.TouchSelector()
        model = gtk.ListStore(str, object)
        logging.debug("creating list for parent selection...")
        for indi in self.zcore.retrieve_all_individuals():
            self.edit_marriage = hildon.PickerButton(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL)
            self.edit_marriage.set_title("Marriage")
            selector = hildon.TouchSelector(text=True)
            self.edit_marriage.set_selector(selector)
            selector.append_text("no mention")
            self.edit_divorce = hildon.PickerButton(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL)
            self.edit_divorce.set_title("Divorce")
            selector = hildon.TouchSelector(text=True)
            self.edit_divorce.set_selector(selector)
            selector.append_text("not divorced")

src/a/d/advancedcaching-HEAD/advancedcaching/hildongui.py   advancedcaching(Download)
    def _create_main_menu(self):
        menu = hildon.AppMenu()
 
        sel_tiles = hildon.TouchSelector(text=True)
        for name, loader in self.map.tile_loaders:
                        (10 * 60, '10 Minutes'),
                        )
        tts_selector = hildon.TouchSelector(text=True)
 
        i = 0
                           (FremantleRotation.ALWAYS, 'Portrait')
                           )
        rotate_selector = hildon.TouchSelector(text=True)
 
        i = 0
    def build_cache_images(self, cache, notebook):
        selector = hildon.TouchSelector(text=True)
        selector.get_column(0).get_cells()[0].set_property('xalign', 0)
        selector.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_SINGLE)
 
    def _get_coord_selector(self, cache, callback, no_empty=False):
        selector = hildon.TouchSelector(text=True)
        selector.get_column(0).get_cells()[0].set_property('xalign', 0)
        selector.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_SINGLE)
        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))

src/z/o/zourite-0.4.0/src/zourite/gui/zouriteGui.py   zourite(Download)
    def create_plugin_selector_for_configuration(self):
        #Create a HildonTouchSelector with a single text column
        selector = hildon.TouchSelector(text = True)
        # Populate selector    
        pluginPathList = self.pluginSelector.get_selected_rows(0)
    def create_plugin_selector(self):
        #Create a HildonTouchSelector with a single text column
        selector = hildon.TouchSelector(text = True)
        # Set selection mode to allow multiple selection
        selector.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_MULTIPLE)  
    def create_cache_strategy_selector(self):
        #Create a HildonTouchSelector with a single text column
        selector = hildon.TouchSelector(text = True)
 
        currentCacheStrategy = self.zcore.getCurrentCacheStrategy()
    def create_cache_store_selector(self):
        #Create a HildonTouchSelector with a single text column
        selector = hildon.TouchSelector(text = True)
 
        currentCacheStore = self.zcore.getCurrentCacheStorage()

src/s/e/SeriesFinale-HEAD/src/SeriesFinale/gui.py   SeriesFinale(Download)
        lang_button = hildon.PickerButton(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        lang_button.set_title(_('Language'))
        self.lang_selector = hildon.TouchSelector()
        lang_column = self.lang_selector.append_column(self.lang_store, gtk.CellRendererText(), text=1)
        lang_column.set_property("text-column", 1)
        picker_button.set_alignment(0, 0.5, 0, 1)
        picker_button.set_done_button_text(_('Done'))
        selector = hildon.TouchSelector(text = True)
        picker_button.set_title(_('Screen rotation:'))
        modes = [_('Automatic'), _('Portrait'), _('Landscape')]
        picker_button.set_title(_('Episodes check position:'))
        picker_button.set_alignment(0, 0.5, 0, 1)
        selector = hildon.TouchSelector(text = True)
        selector.append_text(_('Left'))
        selector.append_text(_('Right'))

src/m/i/mieru-HEAD/platforms/maemo5.py   mieru(Download)
  def _getHistorySelector(self):
    import hildon
    selector = hildon.TouchSelector()
    selector.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_SINGLE)
    selector.append_text_column(self.historyStore, False)
  def _getFittingSelector(self):
    """load fitting modes to the touch selector,
    also make active the last used fitting mode"""
    import hildon
    touchSelector = hildon.TouchSelector(text=True)
  def getSelector(self, modes, lastUsedValue=None):
    """get a selector"""
    import hildon
    touchSelector = hildon.TouchSelector(text=True)
    touchSelector.set_column_selection_mode(hildon.TOUCH_SELECTOR_SELECTION_MODE_SINGLE)

src/e/r/erminig-ng-HEAD/profile_ui.py   erminig-ng(Download)
def create_type_selector():
	selector = hildon.TouchSelector()
 
	type_list = gtk.ListStore(int, str)
	type_list.append([consts.SYNC_TYPE_CAL, "Calendar"])
def create_direction_selector():
	global direction_selector
 
	direction_selector = hildon.TouchSelector()
 
def create_local_selector(win):
	global local_source_list
	global local_selector
 
	local_selector = hildon.TouchSelector()
	global remote_selector
 
	remote_selector = hildon.TouchSelector()
 
	remote_sources = gtk.ListStore(str, str)
def create_source_selector():
	source_selector = hildon.TouchSelector()
 
	type_list = gtk.ListStore(int, str)
	type_list.append([consts.DATASOURCE_BUILTIN, "Built-in"])

src/z/h/Zhaan-HEAD/zhaan/gui/hildonui.py   Zhaan(Download)
    def __init_top_bar(self):
        self.top_bar = gtk.HBox(True)
 
        liststore = gtk.ListStore(str, str, object)
        self.source_list = hildon.TouchSelector()
 
        liststore = gtk.ListStore(str, str, object)
        self.renderer_list = hildon.TouchSelector()
 
        cellpb = gtk.CellRendererPixbuf()