42. CWMTab

Routines for tab widget handling

42.1. Authors

  • Jiri Srain <jsrain@suse.cz>

42.2. Summary of Module Globals

List of Global Functions

  • CleanUp - Clean up function of the widget

  • CreateWidget - Get the widget description map

  • CurrentTab - Get the ID of the currently displayed tab

  • Handle - Handle function of the widget

  • HandleWrapper - Handle function of the widget

  • Init - Init function of the widget

  • InitWrapper - Init function of the widget

  • LastTab - Get the ID of the last displayed tab (after CWM::Run is done). It is needed because of bnc#134386.

  • Store - Store function of the widget

  • Validate - Validate function of the widget

List of Global Variables

    42.3. Global Functions

    42.3.1. CleanUp

    Clean up function of the widget

    Function parameters

    • string key

    Return value

    • void

    42.3.2. CreateWidget

    Get the widget description map

    Function parameters

    • map settings

    Return value

    • map<string,any> - the widget description map

    42.3.3. CurrentTab

    Get the ID of the currently displayed tab

    Return value

    • string - the ID of the currently displayed tab

    42.3.4. Handle

    Handle function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    42.3.5. HandleWrapper

    Handle function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • symbol - for wizard sequencer or nil

    42.3.6. Init

    Init function of the widget

    Function parameters

    • map<string,any> widget

    • string key

    Return value

    • void

    42.3.7. InitWrapper

    Init function of the widget

    Function parameters

    • string key

    Return value

    • void

    42.3.8. LastTab

    Get the ID of the last displayed tab (after CWM::Run is done). It is needed because of bnc#134386.

    Return value

    • string - the ID of the last displayed tab

    42.3.9. Store

    Store function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • void

    42.3.10. Validate

    Validate function of the widget

    Function parameters

    • string key

    • map event

    Return value

    • boolean

    42.4. Global Variables

    42.5. Module Requirements

    42.5.1. Module Imports

    • CWM
    • Wizard

    42.5.2. Module Includes