-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
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
- 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
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
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
- 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
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
- 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
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
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')
- 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
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('',
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
- 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
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
__
> 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
- 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
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
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
- 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
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
- 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 -
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
- 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
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
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
- 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
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
- 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
- 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
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',
- 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:
>
>
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:
--
- 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
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
- 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
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
||
|
- 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
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
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
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:
41 matches
Mail list logo