[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:

[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

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

2010-12-03 Thread craf
- Mensaje reenviado De: Michael Lange klappn...@web.de 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 p...@vtr.net unto us on Fri, 03 Dec 2010 14:04

[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] 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()

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

2010-12-09 Thread craf
- Mensaje reenviado De: Michael Lange klappn...@web.de 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 p...@vtr.net unto us on Thu, 09 Dec 2010 15:52:43 -0300: I Do

[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: Ttk.Labelframe control label does not change color]

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

[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

[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 tkinter-discuss@python.org 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?

[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)

[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)

[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('Button-1', lambda

[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

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

2010-12-17 Thread craf
- Mensaje reenviado De: Michael Lange klappn...@web.de 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 p...@vtr.net unto us on Fri, 17 Dec

[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.

[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

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

2010-12-20 Thread craf
- Mensaje reenviado De: pyt...@bdurham.com Para: Python-Tkinter tkinter-discuss@python.org 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

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

2010-12-23 Thread craf
- Mensaje reenviado De: Michael Lange klappn...@web.de 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 p...@vtr.net unto us on Thu, 23 Dec 2010 10:49:27

[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()

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

2010-12-29 Thread craf
- Mensaje reenviado De: pyt...@bdurham.com Para: craf p...@vtr.net, Python Tkinter Ingles tkinter-discuss@python.org 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

[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: Modify the Tab Order]

2011-01-07 Thread craf
Thanks, Andrei.! Regards. Cristian Abarzua F. De: Nemes Andrei teh_sh_meis...@yahoo.com Para: craf p...@vtr.net 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

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

2011-01-07 Thread craf
- Mensaje reenviado De: craf p...@vtr.net Para: Python Tkinter Ingles tkinter-discuss@python.org 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 controls. My code is as follows

[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] 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-discuss] [Fwd: Re: justify text in Text widget]

2011-02-16 Thread craf
- Mensaje reenviado De: Michael Lange klappn...@web.de 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 michael.odonn...@uam.es unto us on Tue, 15 Feb 2011

[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()

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

2011-04-06 Thread craf
-Mensaje original- De: Emiliano Gavilán emilianogavi...@gmail.com 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