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

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

src/z/o/zourite-0.4.0/src/zourite/gui/zouriteGui.py   zourite(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)
        centerview.add(cacheSettings)         
 
        resetCacheBtn = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, "clear cache", None)
        resetCacheBtn.connect("clicked", self.on_reset_cache_clicked_event, None)
        centerview.pack_start(resetCacheBtn, False, False, 0)
        centerview.add(pluginPickerBtn)       
 
        plugigConfButton = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, "configure", None)
        plugigConfButton.connect("clicked", self.on_configure_plugin_clicked_event, None)
        centerview.pack_start(plugigConfButton, False, False, 0)
 
 
        nameButton = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT| gtk.HILDON_SIZE_AUTO_WIDTH , hildon.BUTTON_ARRANGEMENT_VERTICAL,shortProfile.firstname, shortProfile.lastname)
        nameButton.connect("clicked",on_detail_profil_request, shortProfile) 
        nameAlign = gtk.Alignment(0.5,0,0,0)
 
 
        nameButton = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT| gtk.HILDON_SIZE_AUTO_WIDTH , hildon.BUTTON_ARRANGEMENT_VERTICAL,shortProfile.firstname, shortProfile.lastname)
        nameButton.connect("clicked",on_detail_profil_request, shortProfile) 
        nameAlign = gtk.Alignment(0.5,0,0,0)

src/a/d/advancedcaching-HEAD/advancedcaching/hildon_plugins.py   advancedcaching(Download)
    def _get_search_place_button(self):
        button = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_title("Search Place")
        button.set_value('requires internet')
        button.connect('clicked', self._on_show_search_place)
        logger.info("Using Fieldnotes plugin")
 
        button = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_title("Upload Logs/Fieldnotes")
        button.set_value("You have not created any logs/fieldnotes.")
    def _get_write_fieldnote_button(self):
        button = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_label("Write Log/Fieldnote")
        button.connect("clicked", self._on_show_log_fieldnote_dialog, None)
        return button
    def _get_search_button(self):
        button1 = hildon.Button(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button1.set_title("Search Geocaches")
        button1.set_value("in local database")
        button1.connect("clicked", self._on_show_search, None)
 
 
        button = hildon.Button(gtk.HILDON_SIZE_AUTO, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_title("Download Details")
        button.set_value("for all Geocaches")

src/a/d/advancedcaching-HEAD/advancedcaching/hildongui.py   advancedcaching(Download)
        self.label_quality.set_alignment(0, 0)
 
        button = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_title("Target")
        button.set_value('none set')
        #buttons = gtk.HBox()
 
        button_details = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button_details.set_title("Details")
        button_details.set_sensitive(False)
        self.button_show_details_small = button_details
 
        button_map = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button_map.set_label("Map")
        button_map.connect("clicked", self._on_set_active_page, False)
 
 
        button = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button.set_title("Show Details")
        button.set_value('No Cache selected')
        self.button_show_details = button
 
        button_replace = hildon.Button(gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        button_replace.set_image(self.image_info)
        button_replace.connect("clicked", self._on_show_cache_details, None)

src/m/a/maegen-0.2.0/src/maegen/gui/hildon/utils.py   maegen(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)

src/g/n/gnatirac-0.1.0dev-r153/src/gnatirac/gui/hildon/utils.py   gnatirac(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)

src/z/h/Zhaan-HEAD/zhaan/gui/hildonui.py   Zhaan(Download)
        self.vbox.show()
 
        clear_button = hildon.Button(0, 0, "Clear Playlist")
        clear_button.connect("clicked", self.playlist.clear)
 
        controller_button = hildon.Button(0, 0, "Play Control")
        controller_button.connect("clicked", self.change_to_controller)
 
        search_button = hildon.Button(0, 0, "Search Current Directory")
        search_button.connect("clicked", self.__search_dialog)
 
        options_button = hildon.Button(0, 0, "Options")
        options_button.connect("clicked", self.__options)
 
        add_folder_button = hildon.Button(0, 0, "Add Current Folder to Playlist")

src/m/o/mougeon-0.1.0dev-r48/src/mougeon/gui/hildon/utils.py   mougeon(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)

src/p/y/pyjama-0.1.0dev-r23/src/pyjama/gui/hildon/utils.py   pyjama(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)

src/m/a/maegen-0.2.0/src/maegen/gui/hildon/maegenGui.py   maegen(Download)
    def init_center_view(self, centerview):
       button = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL)
       button.set_title("Individual")
       button.set_value(str(self.zcore.individuals_count()))
       button.connect("clicked", self.on_btn_individual_clicked_event, None)
       centerview.pack_start(button, expand=False)
 
       self.individual_count_label = button
 
       button = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL)
       self.family_count_label= button
 
       button = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL)
       button.set_title("Branch")
       button.set_value(str(self.zcore.branches_count()))        
       self.branche_count_label = button
 
       button = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL)
       button.set_title("Name")
       button.set_value(str(self.zcore.names_count()))            
    def _create_parent_widget(self, individual):
        widget = gtk.HBox()
        button = hildon.Button(gtk.HILDON_SIZE_AUTO_WIDTH | gtk.HILDON_SIZE_FINGER_HEIGHT, hildon.BUTTON_ARRANGEMENT_VERTICAL)
        # Set labels value
        datestr = get_life_date_str(individual)

src/c/a/caritang-0.4.0/src/caritang/gui/caritangGui.py   caritang(Download)
    def create_button(self, name, value=None):
        '''
        goodies to create a button for this view
        ''' 
        return hildon.Button(gtk.HILDON_SIZE_THUMB_HEIGHT, hildon.BUTTON_ARRANGEMENT_HORIZONTAL, name, value)

  1 | 2  Next