SlideShare una empresa de Scribd logo
PROYECTO FINAL
TKINTER
Mg. Richard E. Mendoza G.
John Ousterhout
https://www.youtube.com/watch?v=ajFq31OV9Bk
Creating Great Programmers with
a Software Design Studio
- John Ousterhout (Stanford)
https://docs.python.org/es/3/library/tk.html
• Tkinter ("Tk Interface") es una librería para la la creación de
GUI(Interfaces gráficas de usuario) en Python
multiplataforma(Windows, GNU/Linux y Mac).Además es un
conjunto de herramientas GUI de Tcl/Tk (Tcl: Tool Command
Language), proporcionando una amplia gama de usos, incluyendo
aplicaciones web, de escritorio, redes, administración, pruebas y
muchos más.
¿Qué es TKINTER?
• Entre los puntos fuertes que caracterizan a Tkinter es que viene
instalado con python en casi todas las plataformas, su sintaxis es
clara, fácil de aprender y documentación completa. Tkinter no es
solo la única librería para python especializada en la creación de
interfaces gráficas, entre las más empleadas están wxPython, PyQt y
PyGtk, todas con ventajas y desventajas.
¿Por qué usar TKINTER?
Importar
modulo
tkinter
Crear la
aplicación
GUI de la
ventana
principal
Adicionar
Widgets
Entrar al ciclo
del evento
principal
Primera Ventana
#tkinter - Componente Raiz
#importar la libreria
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa de la libreria
tkinter")
raiz.mainloop()
Label Button Entry
ComboBox CheckButton Radio
ScrollText SpinBox MessageBox
Adicionando Widgets
FRAME
Frame Widget
Los Frames son
marcos contenedores de
otros widgets.
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa del Marco(Frame) en
tkinter")
#instrucciones
#Creamos el componente Frame()
marco=Frame(raiz)
marco.config(bg="red", width=400,height=300)
marco.pack()
#creamos el componente label
#etiqueta
raiz.mainloop()
LABEL
Label Widget
Etiqueta dónde podemos
mostrar algún texto
estático.
#tkinter - Componente Raiz
#importar la libreria
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
ventana=Tk()
#parametros
ventana.title("Programa componente Label
tkinter")
#variable tipo texto
texto="La reina del Flow"
etiqueta=Label(ventana,text=texto)
etiqueta.config(fg="Silver",
bg="yellow",font=("Calibri",30))
etiqueta.pack()
ventana.mainloop()
BUTTON
Button Widget
Botón con un texto sobre
el cual el usuario puede
hacer clic.
#tkinter - Componente Raiz
#importar la libreria
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa del componente buttom
tkinter")
#Creamos el componente button
def accion():
print("Café con aroma de Mujer")
boton=Button(raiz, text="Destacar",
command=accion)
boton.pack()
raiz.mainloop()
ENTRY
Entry Widget
Campo de texto sencillo
para escribir texto corto.
Nombres, apellidos,
números…
#tkinter - Componente Raiz
#importar la libreria
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa del componente Entry tkinter")
#declarar el componente entry
entrada=Entry(raiz)
#parametros
entrada.config(justify="center")#show="*"
entrada.pack()
raiz.mainloop()
from tkinter import *
from tkinter.ttk import *
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa componente combobox
tkinter")
#Geometry
raiz.geometry('350x200')
combo=Combobox(raiz)
combo['values']=(1,2,3,4,5, "Texto")
combo.current(0)
#Grid
combo.grid(column=0, row=0)
raiz.mainloop()
COMBOBOX
Combobox Widget
Es la lista desplegable
para que el usuario pueda
elegir.
CHECKBUTTON
Checkbutton Widget
Botón cuadrado que se
puede marcar con un tic.
from tkinter import * #Tkinter 2.x
raiz=Tk()
raiz.title("Programa checkbutton tkinter")
def verificar():
valor=checkeo.get()
if(valor ==1):
print("Netflix Activado")
else:
print("Netflix Desactivado")
checkeo=IntVar()
botoncheckeo=Checkbutton(raiz,text="Neflix",
variable=checkeo, onvalue=1,
offvalue=0,command=verificar)
botoncheckeo.pack()
raiz.mainloop()
RADIOBUTTON
Radio Button Widget
Botón radial que se usa
en conjunto donde es
posible marcar una
opción.
from tkinter import * #Tkinter 2.x
raiz=Tk()
raiz.title("Programa RadioButton tkinter")
def seleccionar():
print("El lenguaje que ud habla es {}".format(opcion.get()))
opcion=IntVar()
radio1=Radiobutton(raiz, text="Nortesantandereano",
variable=opcion, value=1,command=seleccionar)
radio1.pack()
radio2=Radiobutton(raiz, text="Paisa",variable=opcion,
value=2,command=seleccionar)
radio2.pack()
radio3=Radiobutton(raiz, text="Rolo",variable=opcion,
value=3,command=seleccionar)
radio3.pack() #raiz.mainloop()
SCROLLEDTEXT
#tkinter - Componente Raiz
#importar la libreria
from tkinter import * #Tkinter 2.x
#from tkinter import * #Tkinter 2.x y 3.x
#importar el widget scrolltext
from tkinter import scrolledtext
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa de componente scrolltext
tkinter")
texto=scrolledtext.ScrolledText(raiz,width=40,
height="10")
texto.grid(column=0, row=0)
raiz.mainloop()
Scrolled Text Widget
Es similar al Widget Entry
con la salvedad que nos
permite ingresar
múltiples líneas.
SPINBOX from tkinter import *
#declarar una variable raiz
raiz=Tk()
#parametros
raiz.title("Programa componente Spinbox
tkinter")
raiz.geometry("350x200")
spin=Spinbox(raiz, from_=0, to=2, width=5)
spin.grid(column=0, row=0)
spin=Spinbox(raiz, from_=0, to=3, width=5)
spin.grid(column=1, row=1)
spin=Spinbox(raiz, from_=0, to=4, width=5)
spin.grid(column=2, row=3)
raiz.mainloop()
Spinbox Widget
Este control visual es
muy utilizado para
seleccionar un valor de
una lista
MESSAGEBOX
Messagebox Widget
Los Frames son
marcos contenedores de
otros widgets.
from tkinter import * #Tkinter 2.x
from tkinter import messagebox
raiz=Tk()
raiz.title("Programa messagebox tkinter")
def avisar():
messagebox.showinfo("Ventana Emergente","SPAM")
def preguntar():
messagebox.askquestion("Quiere mas
publicidad","¿Quieres hackear Facebook?")
botonpop=Button(raiz, text="Abrir
Rappy",command=avisar)
botonpop.pack()
botonpop2=Button(raiz, text="Abrir
Facebook",command=preguntar)
botonpop2.pack()#raiz.mainloop()
Clase de widget Descripción Prefijo de nombre de variable Ejemplo
Label Un widget utilizado para
mostrar texto en la pantalla
lbl lbl_nombre
Button Un botón que puede contener
texto y puede realizar una
acción al hacer clic
btn btn_enviar
Entry Un widget de entrada de texto
que permite solo una línea de
texto
ent ent_edad
Text Un widget de entrada de texto
que permite la entrada de texto
multilínea
txt txt_notas
Frame Una región rectangular utilizada
para agrupar widgets
relacionados o proporcionar
relleno entre widgets
frm frm_direccion
Combobox Un widget de opciones
seleccionables
cmb cmb_ciudad
RESUMEN
Tipos Inmutables -> Tipos Mutables en Tkinter
int IntVar
string StringVar
bool BooleanVar
double DoubleVar
Tipos Tkinter
from tkinter import * #Tkinter 2.x
#declarar una variable raiz
raiz=Tk()
datos = StringVar()
datos.set("Mostrando la Datos")
lblMostrar = Label(raiz,
textvariable=datos)
lblMostrar.pack()
raiz.mainloop()
"La mayor mejora de todas en
términos de desempeño es
cuando un sistema pasa de no
funcionar a funcionar.”
John Ousterhout

Más contenido relacionado

La actualidad más candente

Semana 6 Módulos en Python Entrega 1
Semana 6   Módulos en Python Entrega 1Semana 6   Módulos en Python Entrega 1
Semana 6 Módulos en Python Entrega 1
Richard Eliseo Mendoza Gafaro
 
01 el lenguaje Python
01 el lenguaje Python01 el lenguaje Python
01 el lenguaje Python
Juan Rodríguez
 
Tutorial C++
Tutorial C++Tutorial C++
Tutorial C++
Idalia Tristan
 
Introduccion a python 3
Introduccion a python 3Introduccion a python 3
Introduccion a python 3
Diego Camilo Peña Ramirez
 
2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby
Jose Emilio Labra Gayo
 
Reporte unidad4
Reporte unidad4Reporte unidad4
Reporte unidad4
Adrián Vega Segura
 
IntroduccióN A Visual C
IntroduccióN A Visual CIntroduccióN A Visual C
IntroduccióN A Visual Coswchavez
 
Semana 3 Herencia en Java
Semana 3   Herencia en JavaSemana 3   Herencia en Java
Semana 3 Herencia en Java
Richard Eliseo Mendoza Gafaro
 
Practica 1 html_basico
Practica 1 html_basicoPractica 1 html_basico
Practica 1 html_basico
fanny casadiego
 
Python (ejercicios)
Python (ejercicios)Python (ejercicios)
Python (ejercicios)
Fernando Salamero
 
Desarrollo web ágil con Python y Django
Desarrollo web ágil con Python y DjangoDesarrollo web ágil con Python y Django
Desarrollo web ágil con Python y Django
Jaime Irurzun
 
Comandos java
Comandos javaComandos java
Comandos java
Diuxy Martinez
 
Compilador divisor de cantidades con Jflex y Cup
Compilador divisor de cantidades con Jflex y CupCompilador divisor de cantidades con Jflex y Cup
Compilador divisor de cantidades con Jflex y Cup
Soraya Lara
 
Bibliotecas o librerias_para_c_
Bibliotecas o librerias_para_c_Bibliotecas o librerias_para_c_
Bibliotecas o librerias_para_c_
Oziel Solis Juarez
 
Fun consola guia_01
Fun consola guia_01Fun consola guia_01
Proyecto de compiladores Sentencia While con Java CUP y JFLEX
Proyecto de compiladores Sentencia While con Java CUP y JFLEXProyecto de compiladores Sentencia While con Java CUP y JFLEX
Proyecto de compiladores Sentencia While con Java CUP y JFLEX
Ivan Luis Jimenez
 
Personalizar gui guia_3
Personalizar gui guia_3Personalizar gui guia_3
5 c iterative
5 c iterative5 c iterative
5 c iterative
Yulisa Reyes Custodio
 

La actualidad más candente (20)

Semana 6 Módulos en Python Entrega 1
Semana 6   Módulos en Python Entrega 1Semana 6   Módulos en Python Entrega 1
Semana 6 Módulos en Python Entrega 1
 
01 el lenguaje Python
01 el lenguaje Python01 el lenguaje Python
01 el lenguaje Python
 
Tutorial C++
Tutorial C++Tutorial C++
Tutorial C++
 
Introduccion a python 3
Introduccion a python 3Introduccion a python 3
Introduccion a python 3
 
2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby2 Introducción al lenguaje Ruby
2 Introducción al lenguaje Ruby
 
Reporte unidad4
Reporte unidad4Reporte unidad4
Reporte unidad4
 
IntroduccióN A Visual C
IntroduccióN A Visual CIntroduccióN A Visual C
IntroduccióN A Visual C
 
Semana 3 Herencia en Java
Semana 3   Herencia en JavaSemana 3   Herencia en Java
Semana 3 Herencia en Java
 
Practica 1 html_basico
Practica 1 html_basicoPractica 1 html_basico
Practica 1 html_basico
 
Python (ejercicios)
Python (ejercicios)Python (ejercicios)
Python (ejercicios)
 
Desarrollo web ágil con Python y Django
Desarrollo web ágil con Python y DjangoDesarrollo web ágil con Python y Django
Desarrollo web ágil con Python y Django
 
Modelo Persistente
Modelo PersistenteModelo Persistente
Modelo Persistente
 
Comandos java
Comandos javaComandos java
Comandos java
 
Compilador divisor de cantidades con Jflex y Cup
Compilador divisor de cantidades con Jflex y CupCompilador divisor de cantidades con Jflex y Cup
Compilador divisor de cantidades con Jflex y Cup
 
Lenguaje c ++ guía para programadores
Lenguaje c ++  guía para programadoresLenguaje c ++  guía para programadores
Lenguaje c ++ guía para programadores
 
Bibliotecas o librerias_para_c_
Bibliotecas o librerias_para_c_Bibliotecas o librerias_para_c_
Bibliotecas o librerias_para_c_
 
Fun consola guia_01
Fun consola guia_01Fun consola guia_01
Fun consola guia_01
 
Proyecto de compiladores Sentencia While con Java CUP y JFLEX
Proyecto de compiladores Sentencia While con Java CUP y JFLEXProyecto de compiladores Sentencia While con Java CUP y JFLEX
Proyecto de compiladores Sentencia While con Java CUP y JFLEX
 
Personalizar gui guia_3
Personalizar gui guia_3Personalizar gui guia_3
Personalizar gui guia_3
 
5 c iterative
5 c iterative5 c iterative
5 c iterative
 

Similar a Semana 7 Proyecto Misión TIC 2022

Taller PyGTK
Taller PyGTKTaller PyGTK
Taller PyGTK
Tomás Vírseda
 
Interfaces de usuario con PyGTK
Interfaces de usuario con PyGTKInterfaces de usuario con PyGTK
Interfaces de usuario con PyGTK
Fco Javier Lucena
 
Visual
VisualVisual
Visual Basic
Visual BasicVisual Basic
Visual Basic
Victor Zapata
 
Python101
Python101Python101
Python101
pedro_sanhueza
 
Algoritmos - Funciones C++
Algoritmos - Funciones C++ Algoritmos - Funciones C++
Algoritmos - Funciones C++ Ronal Palomino
 
Code Igniter + Ext JS
Code Igniter + Ext JSCode Igniter + Ext JS
Code Igniter + Ext JS
Crysfel Villa
 
FUNDAMENTOS PYTHON.ppsx
FUNDAMENTOS PYTHON.ppsxFUNDAMENTOS PYTHON.ppsx
FUNDAMENTOS PYTHON.ppsx
Fernando Solis
 
widgets.pdf
widgets.pdfwidgets.pdf
widgets.pdf
FreddyGuzman19
 
Manual latex 2008
Manual latex 2008Manual latex 2008
Manual latex 2008
AlejandraCarolina6
 
Introduccion a Ppython
Introduccion a PpythonIntroduccion a Ppython
Introduccion a Ppython
Hugo Alberto Rivera Diaz
 
Taller de programación clase #2
Taller de programación   clase #2Taller de programación   clase #2
Taller de programación clase #2Juan Cardona
 
Taller de programación clase #2
Taller de programación   clase #2Taller de programación   clase #2
Taller de programación clase #2Carlos Posada
 
Tarea_Investigacion programacion .pdf
Tarea_Investigacion programacion .pdfTarea_Investigacion programacion .pdf
Tarea_Investigacion programacion .pdf
BrimmerRamrez
 
Informe de informatica 16 17
Informe de informatica 16 17Informe de informatica 16 17
Informe de informatica 16 17zambranojuarez90
 
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdfSesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
Marxx4
 
Gestión y Análisis de Datos para las Ciencias Económicas con Python y R
Gestión y Análisis de Datos para las Ciencias Económicas con Python y RGestión y Análisis de Datos para las Ciencias Económicas con Python y R
Gestión y Análisis de Datos para las Ciencias Económicas con Python y R
Francisco Palm
 
Analizador de una matriz utilizando compiladores
Analizador de una matriz utilizando compiladoresAnalizador de una matriz utilizando compiladores
Analizador de una matriz utilizando compiladores
Christian Lara
 

Similar a Semana 7 Proyecto Misión TIC 2022 (20)

Taller PyGTK
Taller PyGTKTaller PyGTK
Taller PyGTK
 
Interfaces de usuario con PyGTK
Interfaces de usuario con PyGTKInterfaces de usuario con PyGTK
Interfaces de usuario con PyGTK
 
Visual
VisualVisual
Visual
 
Visual Basic
Visual BasicVisual Basic
Visual Basic
 
Proyecto programacion 2.
Proyecto programacion 2.Proyecto programacion 2.
Proyecto programacion 2.
 
Python101
Python101Python101
Python101
 
Algoritmos - Funciones C++
Algoritmos - Funciones C++ Algoritmos - Funciones C++
Algoritmos - Funciones C++
 
Code Igniter + Ext JS
Code Igniter + Ext JSCode Igniter + Ext JS
Code Igniter + Ext JS
 
FUNDAMENTOS PYTHON.ppsx
FUNDAMENTOS PYTHON.ppsxFUNDAMENTOS PYTHON.ppsx
FUNDAMENTOS PYTHON.ppsx
 
Viernes Tecnicos DTrace
Viernes Tecnicos DTraceViernes Tecnicos DTrace
Viernes Tecnicos DTrace
 
widgets.pdf
widgets.pdfwidgets.pdf
widgets.pdf
 
Manual latex 2008
Manual latex 2008Manual latex 2008
Manual latex 2008
 
Introduccion a Ppython
Introduccion a PpythonIntroduccion a Ppython
Introduccion a Ppython
 
Taller de programación clase #2
Taller de programación   clase #2Taller de programación   clase #2
Taller de programación clase #2
 
Taller de programación clase #2
Taller de programación   clase #2Taller de programación   clase #2
Taller de programación clase #2
 
Tarea_Investigacion programacion .pdf
Tarea_Investigacion programacion .pdfTarea_Investigacion programacion .pdf
Tarea_Investigacion programacion .pdf
 
Informe de informatica 16 17
Informe de informatica 16 17Informe de informatica 16 17
Informe de informatica 16 17
 
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdfSesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
Sesion1_Ciencia_de_Datos-Introduccion a Pithon.pdf
 
Gestión y Análisis de Datos para las Ciencias Económicas con Python y R
Gestión y Análisis de Datos para las Ciencias Económicas con Python y RGestión y Análisis de Datos para las Ciencias Económicas con Python y R
Gestión y Análisis de Datos para las Ciencias Económicas con Python y R
 
Analizador de una matriz utilizando compiladores
Analizador de una matriz utilizando compiladoresAnalizador de una matriz utilizando compiladores
Analizador de una matriz utilizando compiladores
 

Más de Richard Eliseo Mendoza Gafaro

CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEICUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
Richard Eliseo Mendoza Gafaro
 
Material_para_Estudiante_DMPC_V012022A_SP_1
Material_para_Estudiante_DMPC_V012022A_SP_1Material_para_Estudiante_DMPC_V012022A_SP_1
Material_para_Estudiante_DMPC_V012022A_SP_1
Richard Eliseo Mendoza Gafaro
 
MANUAL DE ORACLE AUTONOMOUS DATABASE
MANUAL DE ORACLE AUTONOMOUS DATABASEMANUAL DE ORACLE AUTONOMOUS DATABASE
MANUAL DE ORACLE AUTONOMOUS DATABASE
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCIPARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
Richard Eliseo Mendoza Gafaro
 
PARCIAL 2 DESARROLLO DE INTERFACES UI UX
PARCIAL 2 DESARROLLO DE INTERFACES UI UXPARCIAL 2 DESARROLLO DE INTERFACES UI UX
PARCIAL 2 DESARROLLO DE INTERFACES UI UX
Richard Eliseo Mendoza Gafaro
 
Explicación cadena de valor
Explicación cadena de valorExplicación cadena de valor
Explicación cadena de valor
Richard Eliseo Mendoza Gafaro
 
MANUAL DESPLIEGUE SERVIDOR WEB
MANUAL DESPLIEGUE SERVIDOR WEBMANUAL DESPLIEGUE SERVIDOR WEB
MANUAL DESPLIEGUE SERVIDOR WEB
Richard Eliseo Mendoza Gafaro
 
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCHMANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
Richard Eliseo Mendoza Gafaro
 
CUESTIONARIO INTRODUCCION A UNITY 3D v2
CUESTIONARIO INTRODUCCION A UNITY 3D v2CUESTIONARIO INTRODUCCION A UNITY 3D v2
CUESTIONARIO INTRODUCCION A UNITY 3D v2
Richard Eliseo Mendoza Gafaro
 
CUESTIONARIO INTRODUCCION A UNITY 3D
CUESTIONARIO INTRODUCCION A UNITY 3DCUESTIONARIO INTRODUCCION A UNITY 3D
CUESTIONARIO INTRODUCCION A UNITY 3D
Richard Eliseo Mendoza Gafaro
 
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOSMANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
Richard Eliseo Mendoza Gafaro
 
INTRODUCCION A SISTEMAS OPERATIVOS
INTRODUCCION A SISTEMAS OPERATIVOSINTRODUCCION A SISTEMAS OPERATIVOS
INTRODUCCION A SISTEMAS OPERATIVOS
Richard Eliseo Mendoza Gafaro
 
CLASE 2 ORACLE CLOUD
CLASE 2 ORACLE CLOUDCLASE 2 ORACLE CLOUD
CLASE 2 ORACLE CLOUD
Richard Eliseo Mendoza Gafaro
 
CASOS DE ESTUDIO MODELADO DEL NEGOCIO
CASOS DE ESTUDIO MODELADO DEL NEGOCIOCASOS DE ESTUDIO MODELADO DEL NEGOCIO
CASOS DE ESTUDIO MODELADO DEL NEGOCIO
Richard Eliseo Mendoza Gafaro
 
MATERIAL DE ESTUDIO CCNA
MATERIAL DE ESTUDIO CCNAMATERIAL DE ESTUDIO CCNA
MATERIAL DE ESTUDIO CCNA
Richard Eliseo Mendoza Gafaro
 
PREGUNTAS TOGAF 9.2 RESPUESTAS
PREGUNTAS TOGAF 9.2 RESPUESTASPREGUNTAS TOGAF 9.2 RESPUESTAS
PREGUNTAS TOGAF 9.2 RESPUESTAS
Richard Eliseo Mendoza Gafaro
 

Más de Richard Eliseo Mendoza Gafaro (20)

CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEICUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
CUESTIONARIO REDES TELEMATICAS CISCO, HPE Y HUAWEI
 
Material_para_Estudiante_DMPC_V012022A_SP_1
Material_para_Estudiante_DMPC_V012022A_SP_1Material_para_Estudiante_DMPC_V012022A_SP_1
Material_para_Estudiante_DMPC_V012022A_SP_1
 
MANUAL DE ORACLE AUTONOMOUS DATABASE
MANUAL DE ORACLE AUTONOMOUS DATABASEMANUAL DE ORACLE AUTONOMOUS DATABASE
MANUAL DE ORACLE AUTONOMOUS DATABASE
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 3
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 2
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 4
 
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
PARCIAL 2 PLATAFORMAS Y SOPORTES MULTIMEDIA 2023-2-VARIANTE 1
 
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCIPARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
PARCIAL 2 SISTEMAS OPERATIVOS - BD MYSQL EN ORACLE OCI
 
PARCIAL 2 DESARROLLO DE INTERFACES UI UX
PARCIAL 2 DESARROLLO DE INTERFACES UI UXPARCIAL 2 DESARROLLO DE INTERFACES UI UX
PARCIAL 2 DESARROLLO DE INTERFACES UI UX
 
Explicación cadena de valor
Explicación cadena de valorExplicación cadena de valor
Explicación cadena de valor
 
MANUAL DESPLIEGUE SERVIDOR WEB
MANUAL DESPLIEGUE SERVIDOR WEBMANUAL DESPLIEGUE SERVIDOR WEB
MANUAL DESPLIEGUE SERVIDOR WEB
 
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCHMANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
MANUAL DE DESPLIEGUE BASE DE DATOS CON WORKBENCH
 
CUESTIONARIO INTRODUCCION A UNITY 3D v2
CUESTIONARIO INTRODUCCION A UNITY 3D v2CUESTIONARIO INTRODUCCION A UNITY 3D v2
CUESTIONARIO INTRODUCCION A UNITY 3D v2
 
CUESTIONARIO INTRODUCCION A UNITY 3D
CUESTIONARIO INTRODUCCION A UNITY 3DCUESTIONARIO INTRODUCCION A UNITY 3D
CUESTIONARIO INTRODUCCION A UNITY 3D
 
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOSMANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
MANUAL DESPLIEGUE SERVIDOR BASE DE DATOS
 
INTRODUCCION A SISTEMAS OPERATIVOS
INTRODUCCION A SISTEMAS OPERATIVOSINTRODUCCION A SISTEMAS OPERATIVOS
INTRODUCCION A SISTEMAS OPERATIVOS
 
CLASE 2 ORACLE CLOUD
CLASE 2 ORACLE CLOUDCLASE 2 ORACLE CLOUD
CLASE 2 ORACLE CLOUD
 
CASOS DE ESTUDIO MODELADO DEL NEGOCIO
CASOS DE ESTUDIO MODELADO DEL NEGOCIOCASOS DE ESTUDIO MODELADO DEL NEGOCIO
CASOS DE ESTUDIO MODELADO DEL NEGOCIO
 
MATERIAL DE ESTUDIO CCNA
MATERIAL DE ESTUDIO CCNAMATERIAL DE ESTUDIO CCNA
MATERIAL DE ESTUDIO CCNA
 
PREGUNTAS TOGAF 9.2 RESPUESTAS
PREGUNTAS TOGAF 9.2 RESPUESTASPREGUNTAS TOGAF 9.2 RESPUESTAS
PREGUNTAS TOGAF 9.2 RESPUESTAS
 

Último

Infografía operaciones básicas construcción .pdf
Infografía operaciones básicas construcción .pdfInfografía operaciones básicas construcción .pdf
Infografía operaciones básicas construcción .pdf
Carlos Pulido
 
sistemas fijos de extincion de incendio hidrantes
sistemas fijos de extincion de incendio  hidrantessistemas fijos de extincion de incendio  hidrantes
sistemas fijos de extincion de incendio hidrantes
luisalbertotorrespri1
 
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdfHITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
GROVER MORENO
 
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdfINFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
GROVER MORENO
 
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdfDialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
fernanroq11702
 
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdfOPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
AlejandroContreras470286
 
libro conabilidad financiera, 5ta edicion.pdf
libro conabilidad financiera, 5ta edicion.pdflibro conabilidad financiera, 5ta edicion.pdf
libro conabilidad financiera, 5ta edicion.pdf
MiriamAquino27
 
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docxPLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
Victor Manuel Rivera Guevara
 
Sesiones 3 y 4 Estructuras Ingenieria.pdf
Sesiones 3 y 4 Estructuras Ingenieria.pdfSesiones 3 y 4 Estructuras Ingenieria.pdf
Sesiones 3 y 4 Estructuras Ingenieria.pdf
DeyvisPalomino2
 
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptxCENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
SoyJulia1
 
Becas de UOC _ Caja Ingenieros 2024-25.pdf
Becas de UOC _ Caja Ingenieros 2024-25.pdfBecas de UOC _ Caja Ingenieros 2024-25.pdf
Becas de UOC _ Caja Ingenieros 2024-25.pdf
UOC Estudios de Informática, Multimedia y Telecomunicación
 
Distribución Muestral de Diferencia de Medias
Distribución Muestral de Diferencia de MediasDistribución Muestral de Diferencia de Medias
Distribución Muestral de Diferencia de Medias
arielemelec005
 
Voladura de mineria subterránea pppt.ppt
Voladura de mineria subterránea pppt.pptVoladura de mineria subterránea pppt.ppt
Voladura de mineria subterránea pppt.ppt
AldithoPomatay2
 
1º Caso Practico Lubricacion Rodamiento Motor 10CV
1º Caso Practico Lubricacion Rodamiento Motor 10CV1º Caso Practico Lubricacion Rodamiento Motor 10CV
1º Caso Practico Lubricacion Rodamiento Motor 10CV
CarlosAroeira1
 
kupdf.net_copia-de-manual-agroislentildea.pdf
kupdf.net_copia-de-manual-agroislentildea.pdfkupdf.net_copia-de-manual-agroislentildea.pdf
kupdf.net_copia-de-manual-agroislentildea.pdf
nachososa8
 
Vehiculo para niños con paralisis cerebral
Vehiculo para niños con paralisis cerebralVehiculo para niños con paralisis cerebral
Vehiculo para niños con paralisis cerebral
everchanging2020
 
Edafología - Presentacion Orden Histosoles
Edafología - Presentacion Orden HistosolesEdafología - Presentacion Orden Histosoles
Edafología - Presentacion Orden Histosoles
FacundoPortela1
 
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
LUISDAMIANSAMARRONCA
 
Bash Script Programacion en la consola.pptx
Bash Script Programacion en la consola.pptxBash Script Programacion en la consola.pptx
Bash Script Programacion en la consola.pptx
SantosCatalinoOrozco
 
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
FRANCISCOJUSTOSIERRA
 

Último (20)

Infografía operaciones básicas construcción .pdf
Infografía operaciones básicas construcción .pdfInfografía operaciones básicas construcción .pdf
Infografía operaciones básicas construcción .pdf
 
sistemas fijos de extincion de incendio hidrantes
sistemas fijos de extincion de incendio  hidrantessistemas fijos de extincion de incendio  hidrantes
sistemas fijos de extincion de incendio hidrantes
 
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdfHITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
HITO DE CONTROL N° 011-2024-OCI5344-SCC SAN PATRICIO.pdf
 
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdfINFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
INFORME DE DE CONTROL N° 009-2024-OCI5344-SCC LEBERTADOR SAN MARTIN OYON.pdf
 
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdfDialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
Dialnet-EnsenanzaDeLaModelacionMedianteEcuacionesDiferenci-9304821.pdf
 
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdfOPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
OPERACIONPLANTA_CLASE14_CLASE15_BOMBAS_FLOTACIONSELECTIVA.pdf
 
libro conabilidad financiera, 5ta edicion.pdf
libro conabilidad financiera, 5ta edicion.pdflibro conabilidad financiera, 5ta edicion.pdf
libro conabilidad financiera, 5ta edicion.pdf
 
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docxPLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
PLANIFICACION INDUSTRIAL ( Gantt-Pert-CPM ).docx
 
Sesiones 3 y 4 Estructuras Ingenieria.pdf
Sesiones 3 y 4 Estructuras Ingenieria.pdfSesiones 3 y 4 Estructuras Ingenieria.pdf
Sesiones 3 y 4 Estructuras Ingenieria.pdf
 
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptxCENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
CENTROIDES DE ÁREAS Y LÍNEAS_SISTEMAS ESTRUCTURALES III.pptx
 
Becas de UOC _ Caja Ingenieros 2024-25.pdf
Becas de UOC _ Caja Ingenieros 2024-25.pdfBecas de UOC _ Caja Ingenieros 2024-25.pdf
Becas de UOC _ Caja Ingenieros 2024-25.pdf
 
Distribución Muestral de Diferencia de Medias
Distribución Muestral de Diferencia de MediasDistribución Muestral de Diferencia de Medias
Distribución Muestral de Diferencia de Medias
 
Voladura de mineria subterránea pppt.ppt
Voladura de mineria subterránea pppt.pptVoladura de mineria subterránea pppt.ppt
Voladura de mineria subterránea pppt.ppt
 
1º Caso Practico Lubricacion Rodamiento Motor 10CV
1º Caso Practico Lubricacion Rodamiento Motor 10CV1º Caso Practico Lubricacion Rodamiento Motor 10CV
1º Caso Practico Lubricacion Rodamiento Motor 10CV
 
kupdf.net_copia-de-manual-agroislentildea.pdf
kupdf.net_copia-de-manual-agroislentildea.pdfkupdf.net_copia-de-manual-agroislentildea.pdf
kupdf.net_copia-de-manual-agroislentildea.pdf
 
Vehiculo para niños con paralisis cerebral
Vehiculo para niños con paralisis cerebralVehiculo para niños con paralisis cerebral
Vehiculo para niños con paralisis cerebral
 
Edafología - Presentacion Orden Histosoles
Edafología - Presentacion Orden HistosolesEdafología - Presentacion Orden Histosoles
Edafología - Presentacion Orden Histosoles
 
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
Expo sobre los tipos de transistores, su polaridad, y sus respectivas configu...
 
Bash Script Programacion en la consola.pptx
Bash Script Programacion en la consola.pptxBash Script Programacion en la consola.pptx
Bash Script Programacion en la consola.pptx
 
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
TR-514 (3) - BIS copia seguridad DOS COLUMNAS 2024 1.6.24 PREFERIDO.wbk.wbk S...
 

Semana 7 Proyecto Misión TIC 2022

  • 2.
  • 4. https://www.youtube.com/watch?v=ajFq31OV9Bk Creating Great Programmers with a Software Design Studio - John Ousterhout (Stanford)
  • 6. • Tkinter ("Tk Interface") es una librería para la la creación de GUI(Interfaces gráficas de usuario) en Python multiplataforma(Windows, GNU/Linux y Mac).Además es un conjunto de herramientas GUI de Tcl/Tk (Tcl: Tool Command Language), proporcionando una amplia gama de usos, incluyendo aplicaciones web, de escritorio, redes, administración, pruebas y muchos más. ¿Qué es TKINTER?
  • 7. • Entre los puntos fuertes que caracterizan a Tkinter es que viene instalado con python en casi todas las plataformas, su sintaxis es clara, fácil de aprender y documentación completa. Tkinter no es solo la única librería para python especializada en la creación de interfaces gráficas, entre las más empleadas están wxPython, PyQt y PyGtk, todas con ventajas y desventajas. ¿Por qué usar TKINTER?
  • 8. Importar modulo tkinter Crear la aplicación GUI de la ventana principal Adicionar Widgets Entrar al ciclo del evento principal Primera Ventana #tkinter - Componente Raiz #importar la libreria from tkinter import * #Tkinter 2.x #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa de la libreria tkinter") raiz.mainloop()
  • 9. Label Button Entry ComboBox CheckButton Radio ScrollText SpinBox MessageBox Adicionando Widgets
  • 10. FRAME Frame Widget Los Frames son marcos contenedores de otros widgets. from tkinter import * #Tkinter 2.x #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa del Marco(Frame) en tkinter") #instrucciones #Creamos el componente Frame() marco=Frame(raiz) marco.config(bg="red", width=400,height=300) marco.pack() #creamos el componente label #etiqueta raiz.mainloop()
  • 11. LABEL Label Widget Etiqueta dónde podemos mostrar algún texto estático. #tkinter - Componente Raiz #importar la libreria from tkinter import * #Tkinter 2.x #declarar una variable raiz ventana=Tk() #parametros ventana.title("Programa componente Label tkinter") #variable tipo texto texto="La reina del Flow" etiqueta=Label(ventana,text=texto) etiqueta.config(fg="Silver", bg="yellow",font=("Calibri",30)) etiqueta.pack() ventana.mainloop()
  • 12. BUTTON Button Widget Botón con un texto sobre el cual el usuario puede hacer clic. #tkinter - Componente Raiz #importar la libreria from tkinter import * #Tkinter 2.x #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa del componente buttom tkinter") #Creamos el componente button def accion(): print("Café con aroma de Mujer") boton=Button(raiz, text="Destacar", command=accion) boton.pack() raiz.mainloop()
  • 13. ENTRY Entry Widget Campo de texto sencillo para escribir texto corto. Nombres, apellidos, números… #tkinter - Componente Raiz #importar la libreria from tkinter import * #Tkinter 2.x #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa del componente Entry tkinter") #declarar el componente entry entrada=Entry(raiz) #parametros entrada.config(justify="center")#show="*" entrada.pack() raiz.mainloop()
  • 14. from tkinter import * from tkinter.ttk import * #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa componente combobox tkinter") #Geometry raiz.geometry('350x200') combo=Combobox(raiz) combo['values']=(1,2,3,4,5, "Texto") combo.current(0) #Grid combo.grid(column=0, row=0) raiz.mainloop() COMBOBOX Combobox Widget Es la lista desplegable para que el usuario pueda elegir.
  • 15. CHECKBUTTON Checkbutton Widget Botón cuadrado que se puede marcar con un tic. from tkinter import * #Tkinter 2.x raiz=Tk() raiz.title("Programa checkbutton tkinter") def verificar(): valor=checkeo.get() if(valor ==1): print("Netflix Activado") else: print("Netflix Desactivado") checkeo=IntVar() botoncheckeo=Checkbutton(raiz,text="Neflix", variable=checkeo, onvalue=1, offvalue=0,command=verificar) botoncheckeo.pack() raiz.mainloop()
  • 16. RADIOBUTTON Radio Button Widget Botón radial que se usa en conjunto donde es posible marcar una opción. from tkinter import * #Tkinter 2.x raiz=Tk() raiz.title("Programa RadioButton tkinter") def seleccionar(): print("El lenguaje que ud habla es {}".format(opcion.get())) opcion=IntVar() radio1=Radiobutton(raiz, text="Nortesantandereano", variable=opcion, value=1,command=seleccionar) radio1.pack() radio2=Radiobutton(raiz, text="Paisa",variable=opcion, value=2,command=seleccionar) radio2.pack() radio3=Radiobutton(raiz, text="Rolo",variable=opcion, value=3,command=seleccionar) radio3.pack() #raiz.mainloop()
  • 17. SCROLLEDTEXT #tkinter - Componente Raiz #importar la libreria from tkinter import * #Tkinter 2.x #from tkinter import * #Tkinter 2.x y 3.x #importar el widget scrolltext from tkinter import scrolledtext #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa de componente scrolltext tkinter") texto=scrolledtext.ScrolledText(raiz,width=40, height="10") texto.grid(column=0, row=0) raiz.mainloop() Scrolled Text Widget Es similar al Widget Entry con la salvedad que nos permite ingresar múltiples líneas.
  • 18. SPINBOX from tkinter import * #declarar una variable raiz raiz=Tk() #parametros raiz.title("Programa componente Spinbox tkinter") raiz.geometry("350x200") spin=Spinbox(raiz, from_=0, to=2, width=5) spin.grid(column=0, row=0) spin=Spinbox(raiz, from_=0, to=3, width=5) spin.grid(column=1, row=1) spin=Spinbox(raiz, from_=0, to=4, width=5) spin.grid(column=2, row=3) raiz.mainloop() Spinbox Widget Este control visual es muy utilizado para seleccionar un valor de una lista
  • 19. MESSAGEBOX Messagebox Widget Los Frames son marcos contenedores de otros widgets. from tkinter import * #Tkinter 2.x from tkinter import messagebox raiz=Tk() raiz.title("Programa messagebox tkinter") def avisar(): messagebox.showinfo("Ventana Emergente","SPAM") def preguntar(): messagebox.askquestion("Quiere mas publicidad","¿Quieres hackear Facebook?") botonpop=Button(raiz, text="Abrir Rappy",command=avisar) botonpop.pack() botonpop2=Button(raiz, text="Abrir Facebook",command=preguntar) botonpop2.pack()#raiz.mainloop()
  • 20. Clase de widget Descripción Prefijo de nombre de variable Ejemplo Label Un widget utilizado para mostrar texto en la pantalla lbl lbl_nombre Button Un botón que puede contener texto y puede realizar una acción al hacer clic btn btn_enviar Entry Un widget de entrada de texto que permite solo una línea de texto ent ent_edad Text Un widget de entrada de texto que permite la entrada de texto multilínea txt txt_notas Frame Una región rectangular utilizada para agrupar widgets relacionados o proporcionar relleno entre widgets frm frm_direccion Combobox Un widget de opciones seleccionables cmb cmb_ciudad RESUMEN
  • 21. Tipos Inmutables -> Tipos Mutables en Tkinter int IntVar string StringVar bool BooleanVar double DoubleVar Tipos Tkinter from tkinter import * #Tkinter 2.x #declarar una variable raiz raiz=Tk() datos = StringVar() datos.set("Mostrando la Datos") lblMostrar = Label(raiz, textvariable=datos) lblMostrar.pack() raiz.mainloop()
  • 22. "La mayor mejora de todas en términos de desempeño es cuando un sistema pasa de no funcionar a funcionar.” John Ousterhout