Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static ›...
Transcript of Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static ›...
![Page 1: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/1.jpg)
IntroducciónMariano Reingart - Javier Castrillo
![Page 2: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/2.jpg)
IntroducciónwxPython es un toolkit GUI para Python. Permite crear interfases robustas, altamente funcionales, de manera simple y fácil. Implementado como un módulo de extensión (código nativo) que envuelve la libreria wxWidgets, escrita en C++.Al igual que wxWidgets, wxPython es de código abierto, se puede usuar en proyectos comerciales propietarios:
LGPLv2 (modificada, se puede liberar solo binarios)wxWidget Free Documentation Licence para docs.
wxPython es multiplataforma y con apariencia nativa y veloz (no reinventa la rueda dibujando los widgets) en:
32-bit Microsoft Windowsla mayoria de los Unix o unix-likeMacintosh OS X.
![Page 3: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/3.jpg)
Elementos soportados
Diálogos, Frames, MDIWindows, MiniFrame, WizardsCommon Dialogs, ImageBrowser y ScrolledMessageDlgControles básicos: BitmapButton, CheckBox, CheckListBox, Choice, ComboBox, Gauge, Grid, ListBox, ListCtrl, Menu, RadioButton, SashWindow, Slider, SpinButton, StaticBitmap, StaticBox, StaticText, StatusBar, TextCtrl, ToggleButton, ToolBar, TreeCtrl, ValidatorControles custom: AnalogClock, Editor, etc.Controles avanzados. Ej. SpeedMeter, HyperLinkCtrl, ActiveX, Calendario, ContextHelp, HtmlWindow, MVCTree, RichTextCtrl, TimeControlDiseño: Sizers, Layout*, XmlResource
![Page 4: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/4.jpg)
Características
Soporte para imágenes (BMP, PNG, JPG, etc.)Alpha DrawingVisualización e impresión de HTML simplePrint Framework, con vista previa y configuraciónCreaciones de interfaces por XMLClipboard y drag and dropAyuda en líneaLibrería de graficación de objetos ("vectoriales"): OGLSoporte para CairoOpenGL (GLCanvas)Texto enriquecido (RTF) y "estilizado" (STC)Programación en red, flujos, multitarea, timers, bases de datos, unicode, gizmos variosAnimaciones y multimedia
![Page 5: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/5.jpg)
Demo
![Page 6: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/6.jpg)
Impresión y Vista Previa
![Page 7: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/7.jpg)
AUI: Interfaz de Usuario Avanzada
![Page 8: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/8.jpg)
wxHTML
Soporte HTML básico (imágenes, títulos, fonts, etc.)Control sobre el comportamiento del HTMLPermite incluir otros controles wx!
![Page 9: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/9.jpg)
Editor XML: xrced
![Page 10: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/10.jpg)
Editor Visual: WxGlade
![Page 11: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/11.jpg)
Stani's Python Editor
![Page 12: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/12.jpg)
Boa Constructor
![Page 13: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/13.jpg)
Interfase simples con PythonCardDiseño Visual simple Drag-n-DropControles simplificadosEditor de Código (eventos)
![Page 14: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/14.jpg)
Instalación y Despliegue
Instalación:En Windows: 1 sólo instalador, sin dependencias externas (salvo que se vaya a usar Cairo, OpenGL, etc.)
Despliegue:Freezable con Py2Exe o similarEmpaquetado con 7Zip (autoinstalable): 5MB (2.5MB wx, 2.5MB python runtime)Es posible compilar solo las funcionalidades necesariasEs posible crear varias librerías (modo multi-lib) en vez de monolítico, para optimizar tamaño y minimizar dependencias
![Page 15: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/15.jpg)
Ejemplo: Sistema Fierro
![Page 16: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/16.jpg)
Ejemplo: Sancabase
![Page 17: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/17.jpg)
Documentación:
On LineDemo !! (200 ejemplos)Lista de correosPublicaciones y blogsEl propio desarrollador (Robin Dunn) participa de la lista
![Page 18: Introducción Mariano Reingart - Javier Castrillo …ralsina.me › static › WxPython.pdfIntroducción wxPython es un toolkit GUI para Python. Permite crear interfases robustas,](https://reader030.fdocuments.net/reader030/viewer/2022041103/5f03227c7e708231d407b5b0/html5/thumbnails/18.jpg)
gracias !
Más información:Sitio oficial: www.wxpython.orgLibro de referencia: wxPython in Action (Manning)Wiki Comunidad: http://wiki.wxpython.org/Listas de correo:
wxPython-userswxPython-macwxPython-devwx-userswx-devwxPython-commits