Re: glade patch, minor mnemonics, accessibility tweaks

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Mon Mar 21 2005 - 17:21:51 CET

Robert Staudinger wrote:
> Marc,
> we now have
>
> localizeLabelUnderline() calling gtk_label_set_text_with_mnemonic()
> localizeLabelMarkup() calling gtk_label_set_markup()
>
> we might consider using
>
> gtk_label_set_markup_with_mnemonic() as well as
> gtk_label_set_mnemonic_widget()
>
> in order to use markup and mnemonics in the same label and for being
> able to set the widget focused by the mnemonic automatically.
>
> On a related note what i'd really love to have is being able to "hack"
> dialogs in glade using real strings, not the notorious "%s".
> Gtk/Glade gurus: could you imagine a way to translate the strings in
> the glade files automatically? Maybe using a custom widget loader
> hook?
>

I'm not sure there is an easy way to do that.... The problem is that
these strings are used for all the platform.
That would involve generating .glade file using these strings and
regenerate these string files from .glade... Not counting potential
breaking of the platform.

Note tha XAP_Widget implement mechanism to set the label for translation...

Hub
Received on Mon Mar 21 17:07:07 2005

This archive was generated by hypermail 2.1.8 : Mon Mar 21 2005 - 17:07:09 CET