Re: Changing fontsize of a label
- From: Olexiy Avramchenko <olexiy ctech cn ua>
- To: Giuliano Montecarlo <gggiuly googlemail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Changing fontsize of a label
- Date: Thu, 10 Nov 2005 09:54:36 +0200
Giuliano Montecarlo wrote:
Hi,
how can I change the fontsize of a label? And how can I make it bold?
You can do it in several ways, one of the easiest is to use special
markup language:
http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html
There's a function you have to use to apply markup to label:
http://developer.gnome.org/doc/API/2.0/gtk/GtkLabel.html#gtk-label-set-markup
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]