Re: Changing the font size of anOptionMenu widget

2013-01-25 Thread Angel
Den fredagen den 25:e januari 2013 kl. 06:57:00 UTC+1 skrev Rick Johnson: > > menu = optMenu.nametowidget(optMenu.menuname) > That was what I was missing, the '.nametowidget'. It worked like a charm: o1=Tkinter.OptionMenu(t,v3, "€", "$") o1.config(font=self.font) o1.nametowidget(o1.menuname).con

Re: Changing the font size of anOptionMenu widget

2013-01-24 Thread Rick Johnson
Ignoring the fact that the Tkinter.Optionmenu is by far the worst widget in the toolkit, not to mention that the whole idea of "Tkinter X_Variables" was a poor attempt to reuse code at the expense destroying the simple and intuitive interface of "get" and "set"; here is your answer: ## START

Changing the font size of anOptionMenu widget

2013-01-24 Thread Angel
I am changing the font of an OptionMenu widget: w = OptionMenu(master, variable, "one", "two", "three") with w.configure() That changes the font of the widget but how can I change also the font (size) of the menu that appears when the mouse clicks it? Tha

Re: MacPython 2.5 IDLE font size

2009-02-09 Thread Scott David Daniels
I (Scott David Daniels) wrote: choha...@gmail.com wrote: Is there a way to adjust the default font size in IDLE, in MacPython 2.5? The default now is too tiny. I have to use this version of MacPython. As far as I searched, I can't find how I do this. If you can read what you have at all

Re: MacPython 2.5 IDLE font size

2009-02-08 Thread Scott David Daniels
choha...@gmail.com wrote: Hi, Is there a way to adjust the default font size in IDLE, in MacPython 2.5? The default now is too tiny. I have to use this version of MacPython. As far as I searched, I can't find how I do this. Thanks. If you can read what you have at all, try to go toHelp (o

Re: MacPython 2.5 IDLE font size

2009-02-08 Thread Brian Blais
Hello, On Sat, Feb 7, 2009 at 4:03 PM, wrote: Hi, Is there a way to adjust the default font size in IDLE, in MacPython 2.5? The default now is too tiny. I have to use this version of MacPython. As far as I searched, I can't find how I do this. It is indeed a bug that the options menu do

Re: MacPython 2.5 IDLE font size

2009-02-07 Thread Vincent Davis
. Vincent Davis On Sat, Feb 7, 2009 at 4:03 PM, wrote: > Hi, > Is there a way to adjust the default font size in IDLE, in MacPython > 2.5? The default now is too tiny. > I have to use this version of MacPython. As far as I searched, I can't > find how I do this. &

MacPython 2.5 IDLE font size

2009-02-07 Thread chohazel
Hi, Is there a way to adjust the default font size in IDLE, in MacPython 2.5? The default now is too tiny. I have to use this version of MacPython. As far as I searched, I can't find how I do this. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I adjust the font size on IDLE when running on Mac OS 10.5.4? TIA.

2008-09-02 Thread Chris Rebert
Same as on all the other platforms. 1. Open IDLE 2. Go Options -> Configure IDLE... 3. Choose the Fonts/Tabs section 4. Use the Size pulldown box - Chris On Tue, Sep 2, 2008 at 6:26 AM, Malcolm Lewis <[EMAIL PROTECTED]> wrote: > > > -- > http://mail.python.org/mailman/listinfo/python-list > -

How do I adjust the font size on IDLE when running on Mac OS 10.5.4? TIA.

2008-09-02 Thread Malcolm Lewis
-- http://mail.python.org/mailman/listinfo/python-list

Re: How do I change the font size for the default coordinates in matplotlib?

2008-03-21 Thread Carl
On Mar 20, 10:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Mar 20, 8:20 pm, Carl <[EMAIL PROTECTED]> wrote: > > > I've searched the user manual (and this forum) but I don't see > > anything that helps. > > Did you mean the

Re: How do I change the font size for the default coordinates in matplotlib?

2008-03-20 Thread [EMAIL PROTECTED]
On Mar 20, 8:20 pm, Carl <[EMAIL PROTECTED]> wrote: > I've searched the user manual (and this forum) but I don't see > anything that helps. Did you mean the font size for the ticks or for the labels? Here's an example: from pylab import * x = arange(0,

How do I change the font size for the default coordinates in matplotlib?

2008-03-20 Thread Carl
I've searched the user manual (and this forum) but I don't see anything that helps. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython - wxtoolbar font size

2006-11-14 Thread Ghido
Thanks for your reply but i can't change the font of 'New' label. but it is a linux problem or is a wxpython problem? Ghido -- http://mail.python.org/mailman/listinfo/python-list

Re: wxpython - wxtoolbar font size

2006-11-14 Thread Frank Niessink
Ghido: Hi all i want to set wx.toolbar font size and i use this code: self.tb1 = wx.ToolBar(self, -1, style=wx.TB_HORIZONTAL| wx.TB_TEXT) self.tb1.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL,0)) self.SetToolBar(self.tb1) but i obtain nothing. Is possibile

wxpython - wxtoolbar font size

2006-11-14 Thread Ghido
Hi all i want to set wx.toolbar font size and i use this code: self.tb1 = wx.ToolBar(self, -1, style=wx.TB_HORIZONTAL| wx.TB_TEXT) self.tb1.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL,0)) self.SetToolBar(self.tb1) but i obtain nothing. Is possibile? where i wrong

win32 and System Font Size

2006-07-11 Thread Fuzzyman
Hello all, I'm writing a windows application with a Tkinter GUI. Tkinter ignores the Windows user setting for system default font size - which can be 'normal', 'large' or 'extra large'. Does anyone know how to retrieve this information from the win32api

Re: Tkinter, Menu(bar) font size

2005-08-02 Thread Bob Greschke
Yeah. It works on a Sun and Linux, but not Windows. That stinks. We got a bunch of 1400x1050 display laptops in and now I have to run around changing a bunch of programs that looked fine on 1024x768 displays. Thanks! <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Tk tries to u

Re: Tkinter, Menu(bar) font size

2005-08-01 Thread jepler
Tk tries to use the "native" menu control on Windows (and, I think, MacOS). One result seems to be that for the application's menu bar you can't change the font. Of course, Windows provides a way for users to select a uniform font for menu bars in all applications, in the Display control panel. J

Tkinter, Menu(bar) font size

2005-08-01 Thread Bob Greschke
Option adding "Menu*font" changes the font size of the _commands, _radiobuttons, etc., but not the "File", "Edit", etc. labels on the menubar itself. What is the name for those labels? If I go Top.add_cascade(Label = "File", menu = Fi, font = "

Re: Font size

2005-02-24 Thread Tobiah
from random import randint rand = randint(0,36) print rand Don't forget about the double zero slot. Tobiah -- http://mail.python.org/mailman/listinfo/python-list

Re: Font size

2005-02-18 Thread Adam
Thanks Fredrik, I got your program running (with a couple of tweaks) with just a quarter of an hour to spare before using it at our happy hour yesterday. The old ladies loved it. I can now adapt it for bingo. Thanking you Adam. -- http://mail.python.org/mailman/listinfo/python-list

Re: Font size

2005-02-17 Thread Adam
=None): > for i in range(10): >label.config(text=str(randint(0,36))) >label.update() >sleep(0.05) > > # create a maximized window > root = Tk() > root.wm_state("zoomed") > root.title("my roulette wheel") > > # 80% of the screen height

Re: Font size

2005-02-16 Thread Fredrik Lundh
wm_state("zoomed") root.title("my roulette wheel") # 80% of the screen height height = int(root.winfo_screenheight() * 0.8) # create label (use negative font size for size in pixels) label = Label(root, font="Arial " + str(-height), bg="gold") label.pack(fill=BO

Re: Font size

2005-02-16 Thread [EMAIL PROTECTED]
> >>> Please help me. > >>> How do you clear the screen and then display a number with an enlarged > >>> font > >>> size (about 300). > >>> Adam. > >> > >> To clear screen in windows : > >> > >> #at the

Re: Font size

2005-02-16 Thread Peter Hansen
Adam wrote: We are running a numbers game at our retirement village and using a roulette wheel to generate the numbers. but this wheel is only about 12 in diameter and is little more than a toy. So we came up with the idea of using a random number generator to generate numbers from 0 to 36 and d

Re: Font size

2005-02-16 Thread Jeff Shannon
Adam wrote: Here's what I'm trying to do. We are running a numbers game at our retirement village and using a roulette wheel to generate the numbers. but this wheel is only about 12 in diameter and is little more than a toy. So we came up with the idea of using a random number generator to gener

Re: Font size

2005-02-16 Thread Adam
How do you clear the screen and then display a number with an enlarged >>> font >>> size (about 300). >>> Adam. >> >> To clear screen in windows : >> >> #at the beggining of the program >> import os >> >> #when you want to cle

Re: Font size

2005-02-15 Thread Adam
"BOOGIEMAN" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote: > >> Please help me. >> How do you clear the screen and then display a number with an enlarged >> font >> size (about 300). >

Re: Font size

2005-02-15 Thread BOOGIEMAN
On Tue, 15 Feb 2005 21:22:43 GMT, Adam wrote: > Please help me. > How do you clear the screen and then display a number with an enlarged font > size (about 300). > Adam. To clear screen in windows : #at the beggining of the program import os #when you want to clear the screen os

Re: Font size

2005-02-15 Thread Fredrik Lundh
"Adam" <[EMAIL PROTECTED]> wrote: > How do you clear the screen and then display a number with an enlarged font > size (about 300). what platform? what screen? 300 what? -- http://mail.python.org/mailman/listinfo/python-list

Font size

2005-02-15 Thread Adam
Please help me. How do you clear the screen and then display a number with an enlarged font size (about 300). Adam. -- http://mail.python.org/mailman/listinfo/python-list