- public GenericArray<PreferencesPage> preferences_pages_list ()
The preferences as the pages they are made of, for a caller with a
window of its own to put them in -- the GNOME Shell extension, whose preferences window has a view switcher already and would
otherwise show ours nested inside one of its own rows.
- public bool util_can_host_dialog (Window? window)
Whether libadwaita puts a dialog presented over window
inside it: an Window or
ApplicationWindow that can be resized.
- public void util_confirm_dialog (Window? parent, string heading, string body, string action, ResponseAppearance appearance, ConfirmDialogCallback on_confirmation)
Ask the user for confirmation.
- public void util_empty_history (Window? parent_window, Client client, Settings settings, string history)
Empty history after prompting user for confirmation
- public unowned Dialog util_form_dialog (string heading, string confirm_label, Widget content, int width, int height, out unowned Widget confirm)
The shell every composer puts up: content under a
header bar offering to cancel or to confirm, cancelling being all it handles by itself.
- public Texture? util_get_image_finish (Client client, AsyncResult result) throws Error
Finish a
get_image call as a ready-to-display texture.
- public unowned Widget util_password_strength_row_new (string title, string? unavailable)
The row rating a password as it is typed: a colour-graded meter, and
the rating word or libpwquality's own advice as the subtitle.
- public void util_password_strength_row_rate (Widget row, Editable source)
Show how what source holds rates, in the meter and in
the subtitle.
- public void util_show_window (Application application)
Present the application's window to user
- public unowned Widget util_spin_row_new (double min, double max, double step)
A row for a number in that range which commits only a value the
range takes: anything else puts the row's own value back.
- public void util_text_dialog (Window parent, string heading, string confirm_label, string? text, TextDialogCallback callback)
The dialog for composing an item: a wrapping, scrollable text view
in the shell g_paste_gtk_util_form_dialog () puts up.
- public void util_toast (Widget origin, string message)
Say something to the user, in the window origin is in.