Prev: Canvas font size question
Next: Set Search Gone Wrong
From: Óscar Fuentes on 29 Apr 2010 10:21 I can change some options (like the background) of a ttk::entry without problem just creating a style and assigning it to the widget. But so far failed to do likewise for the font. What's the trick? I'm working on Windows XP, with the default theme.
From: Jeff Godfrey on 29 Apr 2010 10:40 On 4/29/2010 9:21 AM, �scar Fuentes wrote: > I can change some options (like the background) of a ttk::entry without > problem just creating a style and assigning it to the widget. But so far > failed to do likewise for the font. What's the trick? ttk::entry .e1 -font Courier .... works for me. Jeff
From: Óscar Fuentes on 29 Apr 2010 15:23 Jeff Godfrey <jeff_godfrey(a)pobox.com> writes: > On 4/29/2010 9:21 AM, Óscar Fuentes wrote: >> I can change some options (like the background) of a ttk::entry without >> problem just creating a style and assigning it to the widget. But so far >> failed to do likewise for the font. What's the trick? > > ttk::entry .e1 -font Courier > > ... works for me. Thanks Jeff. I was expecting to configure that option through an style. Tile is surprising at times. BTW, it is not documented on http://tktable.sourceforge.net/tile/doc/entry.html is there a more up to date documentation site?
From: Óscar Fuentes on 30 Apr 2010 09:35 Hello George. George Petasis <petasisg(a)yahoo.gr> writes: > Oh, I am sorry. Yes, a wrong paste :-) > Here is the correct link: > > http://www.tkdocs.com/tutorial/styles.html > > A tutorial in the tkdocs website. That was what I thoroughly read before asking here :-) It does a great job explaining styles, but falls short (as the document recognizes) due to incomplete Tile core documentation and introspection capabilities.
|
Pages: 1 Prev: Canvas font size question Next: Set Search Gone Wrong |