Re: [gtk-list] Re: gtk_window_set_title function



Read up on gettext. If it's not already installed on your machine you
can get it from the GNU site (www.gnu.org I think).

Rob Huffstedtler wrote:
> 
> Is this a GTK feature or is it defined in some other header.  Any chance
> you could point me toward some docs for it?
> 
> On Mon, 8 Nov 1999
> leon@udmnet.ru wrote:
> 
> > 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 ###
> >
> > --
> > To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> >
> >
> 
>   +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>   =   Rob Huffstedtler          |     We now return to our regularly     +
>   +   (931) 596-3560            |        scheduled programming           =
>   =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

-- 
Matt Goodall             |  Isotek Electronics Ltd
email: mgg@isotek.co.uk  |  Claro House, Servia Road
Tel: +44 113 2343202     |  Leeds, LS7 1NL
Fax: +44 113 2342918     |  England



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]