yeh, you won't find it in a lot of tkinter references...at least my initial
queries for such a feature turned up squat months ago. The "end" word should
work as well, but I've always used "last".
Bobby
-Original Message-
From: Fuzzyman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 11,
Tk font sizes are independent of Windows so looking for a win32com means
of querying the system font sizes may be required. As to your combobox
question, I don't use pmw but the combobox should be fairly simple to
create. To refresh my mem on it I looked up examples of the two types,
simple & dro
Jeff Epler wrote:
>If you want to find the default font used for a particular item, create
>one and interrogate it:
>>>> b = Tkinter.Button(app)
>>>> b.cget("font")
>'-monotype-arial-medium-r-normal-*-12-*-*-*-p-*-iso8859-15'
>
>
Wow, on windows I get :
'{MS Sans Serif} 8'
That
If you want to find the default font used for a particular item, create
one and interrogate it:
>>> b = Tkinter.Button(app)
>>> b.cget("font")
'-monotype-arial-medium-r-normal-*-12-*-*-*-p-*-iso8859-15'
(in this case, it's a Linux system with the fonts coming from the X
resource databas
Hello all,
I'm creating a windows application, with a Tkinter GUI.
I currently happily set the font sizes using tuples ``font=("name",
"size", "weight")``. (or something like that.)
I use a couple of different sizes for titles, subtitles, body text and
buttons.
I would like to detect the system
Metz, Bobby W, WWCS wrote:
>Deleting is easiest using the index feature. In your case:
>
>if menu.index("last") is not None:
> menu.delete(0, menu.index("last") - 2)
>
>
Cool, I didn't know you could do that.
Thanks
Fuzzyman
http://www.voidspace.org.uk/python/index.shtml
>Bobby
>
>---