5.9. GUI Add-on basic features


Similarly to Kickstart support in add-ons, GUI support requires that every part of the add-on must contain at least one module with a definition of a class inherited from a particular class defined by the API. For the graphical add-on support, the only class you should add is the NormalSpoke class, defined in pyanaconda.ui.gui.spokes, as a class for the normal spoke type of screen. To learn more about it, see Anaconda user interface.

To implement a new class inherited from NormalSpoke, you must define the following class attributes that the API requires:

  • builderObjects - lists all top-level objects from the spoke’s .glade file that should be exposed to the spoke with their children objects (recursively). In case everything should be exposed to the spoke, the list should be empty.
  • mainWidgetName - contains the id of the main window widget (Add Link) as defined in the .glade file.
  • uiFile - contains the name of the .glade file.
  • category - contains the class of the category the spoke belongs to.
  • icon - contains the identifier of the icon that will be used for the spoke on the hub.
  • title - defines the title that will be used for the spoke on the hub.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部