Did I find the right examples for you? yes no

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

src/b/e/BeginningPythonExercises-HEAD/chapter13/py_chapter13/src/textfield_example.py   BeginningPythonExercises(Download)
def result():
    print( " this sum of 2+2 is : ", 2+2)
    resultVar.set( str(int(resultVar.get())+10) )
    textVar.set("does it work")
 
# Update them with .set in the callback functions  
resultVar = tk.StringVar()
resultVar.set("99")
 
textVar = tk.StringVar()
textVar.set("starting...")

src/t/k/tkRAD-1.5-Sugar-Extra/example/SOS_tkRAD/widgets/rad_statusbar.py   tkRAD(Download)
        self._previous_value = 1 - _value
 
        self.__toggle_var.set(_value)
 
    # end def

src/a/r/Arelle-HEAD/arelle/DialogUserPassword.py   Arelle(Download)
        self.title(title)
        self.urlAddrVar = StringVar()
        self.urlAddrVar.set(urlAddr if urlAddr else "")
        self.urlPortVar = StringVar()
        self.urlPortVar.set(urlPort if urlPort else "")
        self.userVar = StringVar()
        self.userVar.set(user if user else "")
        self.passwordVar = StringVar()
        self.passwordVar.set(password if password else "")
        self.passwordVar.set(password if password else "")
        self.databaseVar = StringVar()
        self.databaseVar.set(database if database else "")
        self.timeoutVar = StringVar()
        self.timeoutVar.set(timeout if timeout else "")

src/m/a/marlowe_ui-0.1.0/marlowe_ui/gui_selectelem.py   marlowe_ui(Download)
 
        if se.how:
            name.set(se.how.name)
            sym.set(se.how.sym)
            z.set(se.how.z)

src/i/d/idlex-1.11.2/idlexlib/extensions/SearchBar.py   idlex(Download)
            if self.engine.isback():
                btn.select()
                self.direction_txt_var.set("Up")
            else:
                btn.deselect()
                self.direction_txt_var.set("Down")

src/p/i/pingo-HEAD/experiments/pinGUIm/digital-analog.py   pingo(Download)
    def __init__(self, root):
        super(GpioFrame, self).__init__(root)
 
        _state = Tkinter.StringVar()
        _state.set("0")
        self.state = _state
 
        _mode = Tkinter.StringVar()
        _mode.set("OUTPUT")

src/t/e/textblob-0.8.4/textblob/nltk/app/concordance_app.py   textblob(Download)
    def _init_corpus_select(self, parent):
        innerframe = Frame(parent, background=self._BACKGROUND_COLOUR)
        self.var = StringVar(innerframe)
        self.var.set(self.model.DEFAULT_CORPUS)
        Label(innerframe, justify=LEFT, text=' Corpus: ',

src/t/e/textblob-0.8.4/textblob/nltk/app/collocations_app.py   textblob(Download)
    def _init_corpus_select(self, parent):
        innerframe = Frame(parent, background=self._BACKGROUND_COLOUR)
        self.var = StringVar(innerframe)
        self.var.set(self.model.DEFAULT_CORPUS)
        Label(innerframe, justify=LEFT, text=' Corpus: ', background=self._BACKGROUND_COLOUR, padx = 2, pady = 1, border = 0).pack(side='left')

src/p/m/Pmw-2.0.0/Pmw/Pmw_2_0_0/demos/OptionMenu.py   Pmw(Download)
    def __init__(self, parent):
        # Create and pack the OptionMenu megawidgets.
        # The first one has a textvariable.
        self.var = tkinter.StringVar()
        self.var.set('steamed')

src/a/r/Arelle-HEAD/arelle/DialogURL.py   Arelle(Download)
        self.title("Enter URL")
        self.urlVar = StringVar()
        self.urlVar.set(url if url is not None else "http://")
 
        frame = Frame(self)

  1 | 2 | 3  Next