Re: [Tkinter-discuss] Treeview with a single column header

2011-04-06 Thread craf
-Mensaje original- De: Emiliano Gavilán Para: tkinter-discuss@python.org Asunto: Re: [Tkinter-discuss] Treeview with a single column header Fecha: Wed, 6 Apr 2011 17:49:09 -0300 ... > The problem is that the title puts me in a second column and the data in > the first. >The 'text' option

[Tkinter-discuss] Treeview with a single column header

2011-04-05 Thread craf
I'm testing the treeview widget, and I want to display data in a single column with a header. My code to do this is: --CODE--- import Tkinter import ttk master = Tkinter.Tk() tabla = ttk.Treeview(master, columns=('widgets')) tabla.heading('widgets', text='Item') tabla.pack() tabla

[Tkinter-discuss] [Fwd: Re: justify text in Text widget]

2011-02-16 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] justify text in Text widget > Fecha: Tue, 15 Feb 2011 21:45:04 +0100 > > Thus spoketh "Michael O'Donnell" > unto us on Tue, 15 Feb 2011 21:09:03 +0100: > > > I had a look

[Tkinter-discuss] justify text in Text widget

2011-02-15 Thread craf
Hi. Is there any possibility to justify the text within a Text control?. In my example code, I set the text using the wrap option value 'word' Code:-- import Tkinter master = Tkinter.Tk() master.geometry('150x100') t = Tkinter.Text(mas

[Tkinter-discuss] How to avoid screen flicker when using themes

2011-01-27 Thread craf
Hi everyone. I am currently learning to use themes or skins for ttk controls on a PC with Ubuntu. The code I attached, place a vertical and horizontal panedwindow control. The theme I use is 'clam'. CODE:== #! /usr/bin/env python

[Tkinter-discuss] [Fwd: Problems with hotkeys]

2011-01-07 Thread craf
- Mensaje reenviado > De: craf > Para: Python Tkinter Ingles > Asunto: [Tkinter-discuss] Problems with hotkeys > Fecha: Fri, 07 Jan 2011 20:18:05 -0300 > > Hi. > > I'm trying to use the hotkeys access to control

[Tkinter-discuss] Problems with hotkeys

2011-01-07 Thread craf
Hi. I'm trying to use the hotkeys access to controls. My code is as follows: - import Tkinter class App: def __init__(self, master): self.root = master self.entry = Tkinter.Entry(self.root) self.ent

[Tkinter-discuss] [Fwd: Re: pack and unpack a frame]

2011-01-07 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] pack and unpack a frame > Fecha: Fri, 7 Jan 2011 17:52:46 +0100 > > Hi, > > Thus spoketh > unto us on Fri, 07 Jan 2011 13:44:14 -0300: > > > Hi. > > > > I'm testing the

[Tkinter-discuss] [Fwd: Re: Modify the Tab Order]

2011-01-07 Thread craf
Thanks, Andrei.! Regards. Cristian Abarzua F. > De: Nemes Andrei > Para: craf > Asunto: Re: [Tkinter-discuss] Modify the Tab Order > Fecha: Thu, 6 Jan 2011 21:13:40 -0800 (PST) > > Oh, I forgot, you can still use the pack method too if you want ti. It > just matters the

[Tkinter-discuss] Modify the Tab Order

2011-01-06 Thread craf
Hi. I wonder if you can change the tab order, first, pass the button 'two' and then the button 'one', without changing the pack of buttons. CODE:-- import Tkinter import ttk master = Tkinter.Tk() b1 = Tkinter.Button(master, text='One') b1.pack(side='right')

[Tkinter-discuss] [Fwd: Re: Use underline]

2010-12-29 Thread craf
- Mensaje reenviado > De: pyt...@bdurham.com > Para: craf , Python Tkinter Ingles > > Asunto: Re: [Tkinter-discuss] Use underline > Fecha: Wed, 29 Dec 2010 13:52:08 -0500 > > Cristian, > > You have to bind your Alt key presses separately. The under

[Tkinter-discuss] Use underline

2010-12-29 Thread craf
Hi. I wonder how I can run the code button when you press alt-h. Use underline, but I can not connect. code: import Tkinter class App: def __init__(self, master): self.root = master b = Tkinter.Button(self.root, text='Hello', underline=0) b.pack() b.bind('',

[Tkinter-discuss] how to limit panel size

2010-12-28 Thread craf
Hi. There any way to limit the size of the panels a control ttk.Panedwindow. Regards. Cristian Abarzúa F. ___ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss

[Tkinter-discuss] [Fwd: Re: Change control styles ttk.Scrollbar]

2010-12-23 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] Change control styles ttk.Scrollbar > Fecha: Thu, 23 Dec 2010 18:53:48 +0100 > > Hi, > > Thus spoketh craf > unto us on Thu, 23 Dec 201

[Tkinter-discuss] Change control styles ttk.Scrollbar

2010-12-23 Thread craf
Hi. Is it possible to change the background color of a control ttk.Scrollbar?. In its standard options is Style, but this seems not to work: Example: s.configure('TScrollbar', background='#cc') no works. Thanks in advance. Regards. Cristian Abarzúa Ubuntu 9.10 - Gnome- Python 2.7 __

[Tkinter-discuss] [Fwd: Anyone using Tkinter for mobile device applications?]

2010-12-20 Thread craf
> De: pyt...@bdurham.com > Para: Python-Tkinter > Asunto: [Tkinter-discuss] Anyone using Tkinter for mobile device > applications? > Fecha: Sun, 19 Dec 2010 12:40:04 -0500 > > Wondering if any of you are using Tkinter for mobile device > applications and if so, what has your experience been like

[Tkinter-discuss] [Fwd: Anyone using Tkinter for mobile device applications?]

2010-12-20 Thread craf
- Mensaje reenviado > De: pyt...@bdurham.com > Para: Python-Tkinter > Asunto: [Tkinter-discuss] Anyone using Tkinter for mobile device > applications? > Fecha: Sun, 19 Dec 2010 12:40:04 -0500 > > Wondering if any of you are using Tkinter for mobile device > applications and if so

[Tkinter-discuss] [Fwd: Off Topic : Tkinter in everyday life]

2010-12-20 Thread craf
Hi. I want to thank everyone for the excellent feedback to my questions. I think we all share the view that Tkinter is a rough diamond. Through all the examples that have selflessly shared, I can see that their limitations are given only by the limits of our imagination. it has been refreshing t

[Tkinter-discuss] Off Topic : Tkinter in everyday life

2010-12-17 Thread craf
Hi everyone.! I apologize in advance, since English is not my native language and some things can not understand and misinterpret. Very recently I found Python and Tkinter. Needless to say, I find a tool Tkinter extremely cool and functional, which I am discovering little by little every day. On

[Tkinter-discuss] [Fwd: Re: Upload control parameter sashpos to load the program.]

2010-12-17 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] Upload control parameter sashpos to load > the program. > Fecha: Sat, 18 Dec 2010 02:41:57 +0100 > > Hi, > > Thus spoketh craf > unto u

[Tkinter-discuss] Upload control parameter sashpos to load the program.

2010-12-17 Thread craf
Hi. I'm trying that opening the window, the position of the handle, is located where you want, using the method "sashpos", in the following code from tkinter import * from tkinter import ttk class App: def __init__(se

[Tkinter-discuss] [Fwd: Re: lambda function to simplify]

2010-12-17 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] lambda function to simplify > Fecha: Fri, 17 Dec 2010 22:30:44 +0100 > > Hi, > > Thus spoketh craf > unto us on Fri, 17 Dec 2010 15:16:22 -

[Tkinter-discuss] lambda function to simplify

2010-12-17 Thread craf
Hi. According to this code -- import Tkinter class App: def __init__(self, master): self.root = master self.b1 = Tkinter.Button(master) self.b1.pack() self.b1.bind('', lambda e,widget=self:gr

[Tkinter-discuss] [Fwd: Re: Calling functions outside the class]

2010-12-17 Thread craf
- Mensaje reenviado > De: Michael O'Donnell > Para: craf > Cc: Python Tkinter Ingles > Asunto: Re: [Tkinter-discuss] Calling functions outside the class > Fecha: Fri, 17 Dec 2010 09:03:28 +0100 > > Hi Cristian, > > The problem is, self

[Tkinter-discuss] Calling functions outside the class

2010-12-16 Thread craf
Hi. I'm testing this code: --- from Tkinter import * class MyApp: def __init__(self, parent): self.myParent = parent ### (7) remember my parent, the root self.myContainer1 = Frame(parent) self.myContaine

[Tkinter-discuss] as close windows by separate modules

2010-12-15 Thread craf
Hi. I have two modules: main.py- from tkinter import * from tkinter import ttk from code import Option class App: def __init__(self, master): master.protocol("WM_DELETE_WINDOW",Option.quit) master = Tk() master.geometry('640x480') app = App(master) master.mai

[Tkinter-discuss] [Fwd: Change ttk.Notebook tab's font or font height?]

2010-12-15 Thread craf
- Mensaje reenviado > De: pyt...@bdurham.com > Para: Python-Tkinter > Asunto: [Tkinter-discuss] Change ttk.Notebook tab's font or font > height? > Fecha: Wed, 15 Dec 2010 00:54:37 -0500 > > Is there a way to change the ttk.Notebook tab's font or font height? > > Use case: I wou

[Tkinter-discuss] Border color ttk.Entry

2010-12-13 Thread craf
Hi. There any way to change the border color of a control ttk.Entry through options or style? Regards. Cristian Ubuntu 9.10 - Tkinter 8.5 ___ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-dis

[Tkinter-discuss] [Fwd: Re: Ttk.Labelframe control label does not change color]

2010-12-13 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] Ttk.Labelframe control label does not > change color > Fecha: Mon, 13 Dec 2010 13:45:49 +0100 > > Hi, > > Thus spoketh craf > unto us on S

[Tkinter-discuss] [Fwd: Re: Ttk.Labelframe control label does not change color]

2010-12-12 Thread craf
- Mensaje reenviado > De: pyt...@bdurham.com > Para: craf , Python Tkinter Ingles > > Asunto: Re: [Tkinter-discuss] Ttk.Labelframe control label does not > change color > Fecha: Sun, 12 Dec 2010 19:46:13 -0500 > > Craf, > > > Changing the backgr

[Tkinter-discuss] Ttk.Labelframe control label does not change color

2010-12-12 Thread craf
Hi. Changing the background color ttk.Labelframe control, label does not change color. CODE: from tkinter import * from tkinter import ttk master = Tk() master.geometry('200x200') s = ttk.Style() s.configure('TLabelframe', background='blue') labelframe = ttk.Labelframe(master, text='Options',

[Tkinter-discuss] [Fwd: Re: methods of control PanedWindow]

2010-12-09 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] methods of control PanedWindow > Fecha: Thu, 9 Dec 2010 20:38:41 +0100 > > Thus spoketh craf > unto us on Thu, 09 Dec 2010 15:52:43 -0300: > >

[Tkinter-discuss] methods of control PanedWindow

2010-12-09 Thread craf
I Do learn to work with methods of control PanedWindow.The only that I failed to understand how they are used are: PanedWindow.proxy_coord() PanedWindow.proxy_forget() PanedWindow.proxy_place(x, y) Does anyone know what they are good? Annex code test: --

[Tkinter-discuss] [Fwd: Change font and size in control ttk.Entry]

2010-12-07 Thread craf
- Mensaje reenviado > De: craf > Para: Python Tkinter Ingles > Asunto: [Tkinter-discuss] Change font and size in control ttk.Entry > Fecha: Tue, 07 Dec 2010 16:44:20 -0300 > > Hi. > > I'm trying to change the font type and size of a ttk.Entry con

[Tkinter-discuss] Change font and size in control ttk.Entry

2010-12-07 Thread craf
Hi. I'm trying to change the font type and size of a ttk.Entry control. Example: from tkinter import * from tkinter import ttk master=Tk() s = ttk.Style() s.theme_use('clam') s.configure('TEntry', font='Monaco') entrada = ttk.Entry(master, style='TEntry') entrada.pack() master.mainloop() Un

[Tkinter-discuss] [Fwd: Re: Create Grips for modificated size controls]

2010-12-06 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] Create Grips for modificated size > controls > Fecha: Mon, 6 Dec 2010 17:59:45 +0100 > > Hi, > > Thus spoketh craf > unto us on M

[Tkinter-discuss] Create Grips for modificated size controls

2010-12-06 Thread craf
Hi. Is it possible to create pinch points(grips) to resize a control, as is done in visual basic.? Example. x---xx || || x Button x > Grip || |

[Tkinter-discuss] [Fwd: Re: Using a window style in a Toplevel window]

2010-12-03 Thread craf
- Mensaje reenviado > De: Michael Lange > Para: tkinter-discuss@python.org > Asunto: Re: [Tkinter-discuss] Using a window style in a Toplevel > window > Fecha: Fri, 3 Dec 2010 18:21:24 +0100 > > Hi, > > Thus spoketh craf > unto us on F

[Tkinter-discuss] Using a window style in a Toplevel window

2010-12-03 Thread craf
Hi. I use Python 3.1 and Tkinter.ttk 8.5 on Ubuntu 9.10. CODE: module:FMain.py from tkinter import ttk from FSecondWindow import * class App: def __init__(self,master): button1 = ttk.Button(master,text='Show TopLevel',command=lam

[Tkinter-discuss] Using a window style in a Toplevel window

2010-12-03 Thread craf
Hi. I use Python 3.1 and Tkinter.ttk 8.5 on Ubuntu 9.10. CODE: module:FMain.py from tkinter import ttk from FSecondWindow import * class App: def __init__(self,master): button1 = ttk.Button(master,text='Show TopLevel',command=lam

[Tkinter-discuss] Decorate un Frame with window managers title bar, etc en Tkinter 8.5

2010-12-01 Thread craf
Hi. I use python 3.1 and Tkinter 8.5 in Ubuntu 9.10 I would like to turn a frame into a toolbox, ,and for that I read that you can use the command wm manage (window) The information can be found at: http://www.tcl.tk/man/tcl8.5/TkCmd/wm.htm#M39 the explanation says: wm manage widget: