Property

IpuzPuzzle:locale

Declaration

property locale: utf8 [ read, write ]

Description [src]

Locale of the puzzle.

The can be used for filtering by the language of the puzzle for users in applications. It also changes the default IpuzPuzzle:charset type. It should not affect the parsing of the puzzle at all — any encoding information included is ignored.

Puzzle that don’t have a language tag explicitly set default to the “C” Locale.

Example locale strings:

"en_NZ"
"C"

This is a libipuz-only extension to the ipuz spec.

Type: gchar*
Default valueC
Getter methodipuz_puzzle_get_locale()
Setter methodipuz_puzzle_set_locale()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno