[ltk-user] Bold font for label

syll-dev at laposte.net syll-dev at laposte.net
Thu Jan 12 01:09:08 UTC 2012


> Message du 10/01/12 19:23
> De : "cage" 
> A : ltk-user at common-lisp.net
> Copie à : 
> Objet : Re: [ltk-user] Bold font for label
>
> On Sun, Jan 08, 2012 at 01:59:38AM +0100, syll-dev at laposte.net wrote:
> > 
> > Hello
> 
> Hi!
> 
> > I can't set the "bold" style to a label's font :
> > (with-ltk ()
> > (make-instance 'label :text "..."
> > :font '(:weight :bold)
> > :pack '(:side :left)))
> 
> 
> try [...] :font "sans 11 bold" [...]
> 
> please see font(3tk) for explanation about the way tk manage font
> description.

Thank you for your answer :) .
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.

Thank you


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