This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
__author__ = "Nicanor Romero Venier" | |
__copyright__ = "Copyright 2016, Programar Fácil" | |
import tkinter | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
__author__ = "Nicanor Romero Venier" | |
__copyright__ = "Copyright 2016, Programar Fácil" | |
import tkinter | |
mi_ventana_sin_valor = tkinter.Tk() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
__author__ = "Nicanor Romero Venier" | |
__copyright__ = "Copyright 2016, Programar Fácil" | |
import tkinter | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
__author__ = "Nicanor Romero Venier" | |
__copyright__ = "Copyright 2016, Programar Fácil" | |
import tkinter | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
def accion_de_mi_boton(): | |
print("Mi boton ha sido presionado!") | |
mi_ventana = tkinter.Tk() | |
mi_ventana.geometry("640x480") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
def accion_de_mi_boton(): | |
print("Mi boton ha sido presionado!") | |
mi_ventana = tkinter.Tk() | |
mi_ventana.geometry("640x480") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
def accion_de_mi_boton(): | |
print("Mi boton ha sido presionado!") | |
def accion_de_mi_boton_3(): | |
print("Mi boton 3 ha sido presionado!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
from tkinter import messagebox | |
def accion_de_mi_boton(): | |
messagebox.showinfo("Mi diálogo emergente", "Mi botón ha sido presionado!") | |
mi_ventana = tkinter.Tk() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
from tkinter import messagebox | |
def accion_de_mi_boton(): | |
messagebox.showinfo("Mi diálogo emergente", "Mi botón ha sido presionado!") | |
def accion_de_mi_boton_2(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import tkinter | |
from tkinter import messagebox | |
def accion_de_mi_boton(): | |
respuesta = messagebox.askquestion("Mi diálogo emergente", "¿Te gusta mi programa?") | |
print("La respuesta es:", respuesta) |
OlderNewer