Re: format number on gtklabel


Paul Davis <paul linuxaudiosystems com> writes:

>>  #include <locale.h>
>>  setlocale(LC_ALL, "");
> as noted by someone else, this is a very very unfriendly thing to do
> unless it is restricted to places where you are doing
> "serialization" (ie. saving state to disk)

If you are doing serialization, you wouldn't change the locale but use
the locale-independent functions provided by glib (g_ascii_strtod and


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