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

Class Wizard


Method Summary
  __init__(self, distro)
  __reboot(self, *args)
reboot the system after installing process.
  get_default_partition_selection(self, size)
return a dictionary with a skeleton { mountpoint : device } as a default partition selection.
  get_sizes(self)
return a dictionary with skeleton { partition : size } from /proc/partitions .
  gparted_loop(self)
call gparted and embed it into glade interface.
  images_loop(self)
looping images and text on installing screen about the install process.
  info_loop(self, widget)
check if all entries from Identification screen are filled.
  on_abort_ok_button_clicked(self, widget)
Close this dialog.
  on_back_clicked(self, widget)
Callback to set previous screen.
  on_cancel_clicked(self, widget)
  on_cancelbutton_clicked(self, widget)
  on_confirmation_checkbutton_toggled(self, widget)
Change "active" property of "next" button when this check box is changed.
  on_drives_changed(self, foo)
When a different drive is selected, it is necessary to update the chekboxes to reflect the set of permited operations on the new drive.
  on_exitbutton_clicked(self, widget)
  on_freespace_toggled(self, widget)
Update help message when this radio button is selected.
  on_help_clicked(self, widget)
show help message when help button is clicked.
  on_key_press(self, widget, event)
capture return key on live installer to go to next screen only if Next button has the focus.
  on_list_changed(self, widget)
check if partition/mountpoint par is filled and show the next par on mountpoint screen.
  on_manually_toggled(self, widget)
Update help message when this radio button is selected.
  on_next_clicked(self, widget)
Callback to control the installation process between steps.
  on_recycle_toggled(self, widget)
Update help message when this radio button is selected.
  on_steps_switch_page(self, foo, bar, current)
Only to populate the drives combo box the first time that page #2 is shown.
  on_warning_dialog_close(self, widget)
  progress_loop(self)
prepare, format, copy and config the system in the core install process.
  quit(self)
quit installer cleanly.
  read_stdout(self, source, condition)
read msgs from queues to set progress on progress bar label.
  run(self)
run the interface.
  set_locales(self)
internationalization config.
  set_progress(self, msg)
set values on progress bar widget.
  set_size_msg(self, widget)
return a string message with size value about the partition target by widget argument.
  set_vars_file(self)
writing vars crypted file to get theses vars accessible from Format, Copy and Config classes.
  show_browser(self)
Embed Mozilla widget into a vbox.
  show_error(self, msg)
show warning message on Identification screen where validation doesn't work properly.
  show_partitions(self, widget)
write all values in this widget (GtkComboBox) from local partitions values.

Method Details

__reboot(self, *args)

reboot the system after installing process.

get_default_partition_selection(self, size)

return a dictionary with a skeleton { mountpoint : device } as a default partition selection. The first partition with max size and ext3 fs will be root, the second partition with max size and ext3 fs will be selected as /home, and the first partition it finds as swap will be marked as the swap selection.

get_sizes(self)

return a dictionary with skeleton { partition : size } from /proc/partitions .

gparted_loop(self)

call gparted and embed it into glade interface.

images_loop(self)

looping images and text on installing screen about the install process.

info_loop(self, widget)

check if all entries from Identification screen are filled. Callback defined in glade file.

on_abort_ok_button_clicked(self, widget)

Close this dialog.

on_back_clicked(self, widget)

Callback to set previous screen.

on_confirmation_checkbutton_toggled(self, widget)

Change "active" property of "next" button when this check box is changed.

on_drives_changed(self, foo)

When a different drive is selected, it is necessary to update the chekboxes to reflect the set of permited operations on the new drive.

on_freespace_toggled(self, widget)

Update help message when this radio button is selected.

on_help_clicked(self, widget)

show help message when help button is clicked.

on_key_press(self, widget, event)

capture return key on live installer to go to next screen only if Next button has the focus.

on_list_changed(self, widget)

check if partition/mountpoint par is filled and show the next par on mountpoint screen. Also size label associated to partition combobox is changed dinamically to shows the size partition.

on_manually_toggled(self, widget)

Update help message when this radio button is selected.

on_next_clicked(self, widget)

Callback to control the installation process between steps.

on_recycle_toggled(self, widget)

Update help message when this radio button is selected.

on_steps_switch_page(self, foo, bar, current)

Only to populate the drives combo box the first time that page #2 is shown.

progress_loop(self)

prepare, format, copy and config the system in the core install process.

quit(self)

quit installer cleanly.

read_stdout(self, source, condition)

read msgs from queues to set progress on progress bar label. '101' message finishes this process returning False.

run(self)

run the interface.

set_locales(self)

internationalization config. Use only once.

set_progress(self, msg)

set values on progress bar widget.

set_size_msg(self, widget)

return a string message with size value about the partition target by widget argument.

set_vars_file(self)

writing vars crypted file to get theses vars accessible from Format, Copy and Config classes.

show_browser(self)

Embed Mozilla widget into a vbox.

show_error(self, msg)

show warning message on Identification screen where validation doesn't work properly.

show_partitions(self, widget)

write all values in this widget (GtkComboBox) from local partitions values.

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