I'm trying to set the locale format of a spin button. The decimal mark on my system is a comma ,
and I would like it to become a dot .
.
Is there a function in GTK or Glib to set the locale formatting globally or locally on a widget.
I looked in hackage functions named local
, format
, decimal
, ... in GTK and Glib but I didn't find the appropriate function.
I have read it is possible to set the output manually with the function entrySetText
but I'm looking for a global setting.
Do you know how to change locale format globally in a Gtk program? The correct function?