Re: Glade & new GTK+ 2.5.x features
- From: Damon Chaplin <damon karuna uklinux net>
- To: Bill Haneman Sun COM
- Cc: gtk-devel-list gnome org
- Subject: Re: Glade & new GTK+ 2.5.x features
- Date: Thu, 02 Dec 2004 21:42:14 +0000
On Thu, 2004-12-02 at 15:45, Bill Haneman wrote:
> 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.
The main concern of the translators is the really common markup, like
the font weights, styles, and sizes. In which case we could use the
known values like above.
If we want to support all possible tags it would start getting ugly
again:
<widget class="GtkLabel" id="label1">
<property name="label" markup="foreground="blue" weight="bold" size="x-large"">label1</property>
</widget>
I'd be OK with that as well. Though it doesn't look like people are going to agree anyway.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]