Re: [gtk-list] gtk_window_set_title function
- From: leon udmnet ru
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_window_set_title function
- Date: Mon, 08 Nov 1999 10:34:09 +0400
Rob Huffstedtler wrote:
>
> Looking through the Freeciv source, I came across the following:
>
> gtk_window_set_title (GTK_WINDOW (toplevel), _("Freeciv"));
>
> What is the purpose of the underbar? I checked the tutorial, the RDP, and
> Harlow and no one seems to mention this. I tried it in a small test app
> and it throws an error.
Usually it is a macro that substitutes char* with a function call
which returns localized version of the string. It is a matter of
localization, in short.
--
Leon.
### Born in USSR ###
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]