Package lib :: Package frontend :: Module noui :: Class Wizard
[show private | hide private]
[frames | no frames]

Class Wizard


This is a wizard interface to interact with the user and the main program. It has some basic methods:
Method Summary
  __init__(self)
  get_info(self)
get_info() -> [hostname, fullname, name, password]
  get_partitions(self)
get_partitions() -> dict {'mount point' : 'dev'}
  set_progress(self, num, msg)
set_progress(num, msg='') -> none

Method Details

get_info(self)

get_info() -> [hostname, fullname, name, password]

Get from the Debconf database the information about hostname and user. Return a list with those values.

get_partitions(self)

get_partitions() -> dict {'mount point' : 'dev'}

Get the information to be able to partitioning the disk. Partitioning the disk and return a dict with the pairs mount point and device. At least, there must be 2 partitions: / and swap.

set_progress(self, num, msg='')

set_progress(num, msg='') -> none

Put the progress bar in the 'num' percent and if there is any value in 'msg', this method print it.

Generated by Epydoc 2.1 on Wed Nov 9 13:46:23 2005 http://epydoc.sf.net