Re: Glade & new GTK+ 2.5.x features
- From: Bill Haneman <Bill Haneman Sun COM>
- To: Damon Chaplin <damon karuna uklinux net>
- Cc: gtk-devel-list gnome org
- Subject: Re: Glade & new GTK+ 2.5.x features
- Date: Thu, 02 Dec 2004 15:45:19 +0000
On Wed, 2004-12-01 at 20:36, Damon Chaplin wrote:
...
> OK, scratch that idea. I've thought of a better way:
>
> <widget class="GtkLabel" id="label1">
> <property name="label" font="bold,italic,x-large">label1</property>
> </widget>
>
> I think that is fairly clean.
Yeah, nice. I assume the comma-delimited list could in theory include
any markup tags, i.e. not restricted to a particular set of known
values...
Howabout 'style' instead of 'font'? Since possible global markup could
affect something not entirely "font"-specific.
- Bill
> Though I also like Owen's idea of a GtkWidget "font" property. But I
> think a PangoFontDescription only supports absolute sizes so we'd have a
> problem with the sizes like "x-large".
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]