pyanaconda.ui.tui.hubs package

Submodules

pyanaconda.ui.tui.hubs.summary module

class pyanaconda.ui.tui.hubs.summary.SummaryHub(app, data, storage, payload, instclass)

Bases: pyanaconda.ui.tui.hubs.TUIHub

input(args, key)

Handle user input. Numbers are used to show a spoke, the rest is passed to the higher level for processing.

prompt(args=None)
setup(environment='anaconda')
title = 'Installation'

Module contents

class pyanaconda.ui.tui.hubs.TUIHub(app, data, storage, payload, instclass)

Bases: pyanaconda.ui.tui.tuiobject.TUIObject, pyanaconda.ui.common.Hub

Base Hub class implementing the pyanaconda.ui.common.Hub interface. It uses text based categories to look for relevant Spokes and manages all the spokes it finds to have the proper category.

Parameters:
  • categories (list of strings) – list all the spoke categories to be displayed in this Hub
  • title (str) – title for this Hub
categories = []
input(args, key)

Handle user input. Numbers are used to show a spoke, the rest is passed to the higher level for processing.

refresh(args=None)

This methods fills the self._window list by all the objects we want shown on this screen. Title and Spokes mostly.

setup(environment='anaconda')
title = 'Default HUB title'