I'm looking at someone's code in which invar() is used fairly often. Apparently, it's a Tkinter method. Here's a use:
    def body(self,master):
        self.title("Display Settings")

        self.colorVar = IntVar()
        Radiobutton( master, text="Gray Scale",
                     value=1, variable=self.colorVar).grid(row=0, sticky=W)
        Radiobutton( master, text="Pseudo Color",
                     value=2, variable=self.colorVar).grid(row=1, sticky=W)
        ...

What is the need for this use? It looks like some sort of initialization for a widget.

I've scoured the internet with Google, and have yet to find a simple explanation of what it's used for.
--
                               W. eWatson

             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet

                    Web Page: <www.speckledwithstars.net/>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to