On Mon, 2004-02-02 at 20:14, Zane Gilmore wrote:
> One of the things that irritated me about GTK was I could find no way of
> changing the font on buttons and labels.
As Timothy said, you can change the font quite easily in GTK-2.x.  I'll
use Python-GTK as an example, as it is probably more readable than other
languages.  [That statement won't get me flamed.]
        
        # First create your widget
        nameLabel = gtk.Label()
        
        # Then add some text, using the Pango markup syntax. The text 
        # "Name:" will be bold, while the rest of the string will be in
        # the standard desktop font.
        nameLabel.set_markup("<b>Name:</b> Michael JasonSmith")

There are quite a few tags, but most of the time I only make text bold,
or bold and large.
-- 
Michael JasonSmith                                   http://www.ldots.org/

Reply via email to