Tkinter + Button widget

Adonis Vargas deltapigz at telocity.com
Sat Mar 9 17:33:32 EST 2002


when i start a button widget, it automatically fires the command?

    def HideNewClient(self, frame):
        frame.configure(bd=0, width=0, height=0)
        return

        pdb_btnSearch = Button(pdb_frmCommands,
                               text="Search",
                               relief=GROOVE,
                               font=("Tahoma", 10),
                               width=16,
                               command=self.HideNewClient(pdb_frmNewClient))

any help would greatly be appreciated.

Adonis





More information about the Python-list mailing list