Re: gtk_message_dialog_new_with_markup() revisited
- From: Matthias Clasen <maclas gmx de>
- To: gtk-devel-list gnome org
- Subject: Re: gtk_message_dialog_new_with_markup() revisited
- Date: Wed, 13 Aug 2003 11:01:37 +0200 (MEST)
> What do people think?
I think I'd prefer to have a new format conversion for that. Something like
..._with_markup ("<i>%m</i> %s", "this gets escaped", "this
<b>doesn't</b>");
But this wouldn't be any easier to implement, unless we want to rely on
glibc features.
I think it addresses
> - Perhaps a bit too magic
> - You might sometimes actually want markup in string
> arguments.
> - If you have a preexisting string with markup, you can't
> set it as the text of a message dialog by doing:
Although it doesn't completely eliminate the trap. People still have to
remember to use %m instead of %s.
Matthias
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]