Update Manager API: Newt Frontend module
Newt/snack text interface
-
class UpdateManager.Frontend.Newt.NewtFrontend(*args, **kwargs)
Newt/Snack text frontend
-
get_cache_handler()
-
handle_unprivileged_invocation(app_args)
Newt unprivileged user handler.
-
init_frontend()
Early frontend initialization
-
main(application)
Main loop
-
class UpdateManager.Frontend.Newt.NewtUI(frontend)
Newt UI implementation
-
cache_reload_callback(percent, operation)
Cache reloading callback
Parameters: |
- percent – Percentage done
- operation – Current operation
|
-
checkbox_changed()
Handler for checkbox state-changes
-
create_ui()
Creates/Draws the UI
-
get_updates()
-
main(application)
UI main loop
Parameters: | application – class:UpdateManager.Application.Application
object |
-
update_ui()
Redraws the UI
-
class UpdateManager.Frontend.Newt.NewtCacheProgressHandler(ui)
-
cache_begin()
-
cache_finished()
-
cache_operation(operation)
-
cache_update(progress)