[Glade-users] fonts in glade



On Mon, 2011-01-31 at 15:49 -0500, Joy Bee wrote:
Sorry for such a naive question.
 
Can I set the fonts for the widgets in glade interface? If so, how to
do it? 
 

Hi,
   Any widget that allows you to use markup to set the text is a place
you can use pango markup to describe the appearance of the text.

GtkLabel specifically has support for setting text attributes directly
(you can use the "Edit Attributes" button found in the editor for
a GtkLabel)... however I only just added the font selector to that
dialog now (so things like strikethrough, color, boldness etc can
be edited in it but not the actual font), the font selector will
be available also for GtkLabel attributes in Glade 3.10 (for GTK+ 3.0).

Pango Markup documentation:
   http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html

Cheers,
       -Tristan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]