Pms.OskLayoutPrefs¶
- Subclasses:
None
Methods¶
- Inherited:
Adw.PreferencesGroup (13), Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (18), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (7), Gtk.Buildable (9)
Properties¶
- Inherited:
Adw.PreferencesGroup (4), Gtk.Widget (35), Gtk.Accessible (1)
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Pms.OskLayoutPrefs(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A preferences group managing OSK layouts.
Layouts added via this dialog are automatically added to the list of input sources available to the user.
- classmethod new()¶
- Return type:
- add_for_locale(locale, flavor)¶
- Parameters:
- Returns:
TRUEif a layout was added or the layout is already present.- Return type:
Add a layout based on the given information to the currently active layouts.
- load_osk_layouts()¶
Load the layouts the currently running OSK can handle. This is a blocking sync call. See [MsOskLayouts.load_osk_layouts_async] for an async version.
- load_osk_layouts_async(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone)callback (
Gio.AsyncReadyCallbackorNone)
Load the layouts the currently running OSK can handle. This is an async call. Use
ms_osk_layout_prefs_load_osk_layouts_asyncto retrieve the result.
- load_osk_layouts_finish(res)¶
- Parameters:
res (
Gio.AsyncResult)- Raises:
- Return type: