Diferencia entre revisiones de «Curso de Programación en Python/Input-4»
								
								Ir a la navegación
				Ir a la búsqueda
				
			
		
					
								
							
		|  (→Input-4.py) | 
| (Sin diferencias) | 
Revisión actual del 17:29 8 ene 2015
Input-4.py
 1 #!/usr/bin/python3
 2 #-*-coding: utf-8 -*-
 3 
 4 from tkinter import ttk
 5 import tkinter
 6 
 7 root = tkinter.Tk()
 8 
 9 ttk.Style().configure( "TButton", padding=6, relief="flat",
10    background="#c2c" )
11 
12 btn = ttk.Button( text="Ejemplo" )
13 btn.pack()
14 
15 root.mainloop()


