Button Background and foreground : Back Fore ground : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Back Fore ground »

 

Button Background and foreground


Button Background and foreground


from Tkinter import *

class Java2sButton(Frame):
    def __init__(self):              
        Frame.__init__(self)
        self.pack()
        stopper = Button(self, text='Text', command=self.quit)
        stopper.pack()
        stopper.config(bg='navy', fg='white', bd=8

if __name__ == '__main__': 
    Java2sButton().mainloop()

           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Back Fore ground


Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0