EDataBook.SystemLocaleWatcher¶
| Subclasses: | None | 
|---|
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class EDataBook.SystemLocaleWatcher(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - EDataBook.SystemLocaleWatcherClass- Contains only private data that should be read and manipulated using the functions below. - 
classmethod new()¶
- Returns: - a new - EDataBook.SystemLocaleWatcher- Return type: - EDataBook.SystemLocaleWatcher- Creates a new - EDataBook.SystemLocaleWatcherinstance, which listens for D-Bus notification on locale changes. It uses system bus, unless an environment variable “EDS_TESTING” is defined, in which case it uses the session bus instead.- New in version 3.30. 
 - 
dup_locale()¶
- Returns: - the system locale, as detected by the self - Return type: - stror- None- Returns the current locale, as detected by the self. The string is duplicated for thread safety. It can be - None, when the locale was not detected yet.- Free it with - GLib.free(), when no longer needed.- New in version 3.30. 
 
- 
classmethod