49. Confirm

Confirmation routines

49.1. Authors

  • Michal Svec <msvec@suse.cz>

49.2. Summary of Module Globals

List of Global Functions

  • Delete - Opens a popup yes/no confirmation.

  • DeleteSelected - Opens a popup yes/no confirmation.

  • Detection - Confirm hardware detection (only in manual installation)

  • MustBeRoot - If we are running as root, return true. Otherwise ask the user whether we should continue even though things might not work

List of Global Variables

    49.3. Global Functions

    49.3.1. Delete

    Opens a popup yes/no confirmation.

    Function parameters

    • string delete

    Return value

    • boolean - delete selected entry

    49.3.2. DeleteSelected

    Opens a popup yes/no confirmation.

    Return value

    • boolean - delete selected entry

    49.3.3. Detection

    Confirm hardware detection (only in manual installation)

    Function parameters

    • string class

    • string icon_name

    Return value

    • boolean - true on continue

    49.3.4. MustBeRoot

    If we are running as root, return true. Otherwise ask the user whether we should continue even though things might not work

    Return value

    • boolean - true if running as root

    49.4. Global Variables

    49.5. Module Requirements

    49.5.1. Module Imports

    • Arch
    • Icon
    • Label
    • Linuxrc
    • Mode
    • Popup
    • Stage

    49.5.2. Module Includes