From: Damon C. <da...@tc...> - 2008-07-22 15:23:26
|
font create System {*}[font actual System] font configure System -size 16 -weight bold Tk uses System as a symbolic name for a font only if it doesn't already exist as a named font, so by creating a named font of the same name, we're effectively overriding that. We just create a new named font with the same attributes as the actual System font and then start doing whatever we like. 0-] Damon On Jul 22, 2008, at 9:21 AM, David Zolli wrote: > Hi all, > > I'm trying ttk::style and font command with aqua theme and I got > something weird: > > % ::ttk::style lookup TButton -font > System > % font configure System > named font "System" doesn't exist > > I know changing aqua default font is bad, but if I want to do it > anyway, what should I do ? > > -- > David Zolli > kr...@kr... > http://www.kroc.tk > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |