Excelente, gracias por el dato. Por curiosidad, aun tienes tu Sinclair Spectrum 48k con teclas de goma "operativa" ?
El 04/02/11, Spectrum Cuarenta y ocho k <s_...@yahoo.com> escribió: > He rehecho el ejemplo de Cristian para que funcione con python 3. > > import tkinter > from tkinter import ttk > > master = tkinter.Tk() > > notebook = ttk.Notebook(master) > notebook.pack(fill='both', expand='yes') > frame1 = ttk.Frame(notebook) > frame2 = ttk.Frame(notebook) > > notebook.add(frame1, text='Uno') > notebook.add(frame2, text='Dos') > > > master.geometry('200x200') > master.mainloop() > > Un saludo. > > --- On Thu, 2/3/11, Spectrum Cuarenta y ocho k <s_...@yahoo.com> wrote: > > From: Spectrum Cuarenta y ocho k <s_...@yahoo.com> > Subject: Re: [Python-es] pestañas en interfaz gráfica con tkinter > To: "La lista de python en castellano" <python-es@python.org> > Date: Thursday, February 3, 2011, 8:13 PM > > Muchas gracias Cristian, me pongo a ello. > > Un saludo. > > --- On Thu, 2/3/11, craf <p...@vtr.net> wrote: > > From: craf <p...@vtr.net> > Subject: Re: [Python-es] pestañas en interfaz gráfica con tkinter > To: "La lista de python en castellano" <python-es@python.org> > Date: Thursday, February 3, 2011, 3:30 PM > >>-----Mensaje original----- >>De: Spectrum Cuarenta y ocho k <s_...@yahoo.com> >>Reply-to: La lista de python en castellano <python-es@python.org> >>Para: python-es@python.org >>Asunto: [Python-es] pestañas en interfaz gráfica con tkinter >>Fecha: Thu, 3 Feb 2011 02:53:07 -0800 (PST) > >>http://www.java2s.com/Code/PythonImages/TkinterCheckbuttoninPmwGroup.PNG > > Si se puede pero tienes que trabajar con el modulo ttk que viene con la > distribucion de Pyhton 2.7 en adelante. > Active Python viene con un instalador para Windows y Linux. > > Aquí un ejemplo: > > import Tkinter > import ttk > > master = Tkinter.Tk() > > notebook = ttk.Notebook(master) > notebook.pack(fill='both', expand='yes') > frame1 = ttk.Frame(notebook) > frame2 = ttk.Frame(notebook) > > notebook.add(frame1, text='Uno') > notebook.add(frame2, > text='Uno') > > > master.geometry('200x200') > master.mainloop() > > > Saludos. > > Cristian Abarzúa F > > _______________________________________________ > Python-es mailing list > Python-es@python.org > http://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ > > > > > -----Inline Attachment Follows----- > > _______________________________________________ > Python-es mailing list > Python-es@python.org > http://mail.python.org/mailman/listinfo/python-es > FAQ: http://python-es-faq.wikidot.com/ > > > > -- Enviado desde mi dispositivo móvil _______________________________________________ Python-es mailing list Python-es@python.org http://mail.python.org/mailman/listinfo/python-es FAQ: http://python-es-faq.wikidot.com/