[ltk-user] Bold font for label

syll-dev at laposte.net syll-dev at laposte.net
Sat Jan 14 22:47:28 UTC 2012




> Message du 12/01/12 20:23
> De : "cage" 
> A : ltk-user at common-lisp.net
> Copie à : 
> Objet : Re: [ltk-user] Bold font for label
>
> On Thu, Jan 12, 2012 at 02:09:08AM +0100, syll-dev at laposte.net wrote:
> 
> [...]
> 
> > > try [...] :font "sans 11 bold" [...]
> > > 
> > > please see font(3tk) for explanation about the way tk manage font
> > > description.
> > 
> > Thank you for your answer :) .
> 
> You're welcome! :)
> 
> > Is it possible to get the font used by a component and just modify
> > it ? I would like to get the same font but in bold style.
> 
> Good question but i have no answer good enough! :)
> 
> I suggest to save the name (and the size if you wish) of the font
> elsewhere and reconfigure the widget with the new weight using the
> configure function.

I know how to create a font and I could use this to modify/reuse it, but I don't know how to get the font (and its properties) used by a component :( .


Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net




More information about the ltk-user mailing list