YaST2 Developers Documentation: yast2

yast2

modules/Confirm.ycp
Confirmation routines

This module has an unstable interface.

Imports

  • Label
  • Linuxrc
  • Mode
  • Popup

Global Functions

global Detection (string class) -> boolean

Confirm hardware detection (only in manual installation)

Parameters:
class hardware class (network cards)
Return value:
true on continue
global MustBeRoot () -> boolean

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

Return value:
true if running as root
global DeleteSelected () -> boolean

Opens a popup yes/no confirmation.

If users confirms deleting, return true, else return false

Return value:
delete selected entry
global Delete (string delete) -> boolean

Opens a popup yes/no confirmation.

If users confirms deleting of named entry/file/etc., return true, else return false

Parameters:
delete
Return value:
delete selected entry