summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-22 13:56:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-22 13:56:25 +0000
commit822c8c7c5236785c644d2037bc62e5f9ac7b1dc3 (patch)
tree0fd8aeb69944609e0f95a7a2dbabdb4cfc545901 /perl-install
parent1d922c8c7778f4fd5f0b7d592d102109e20835c1 (diff)
downloaddrakx-822c8c7c5236785c644d2037bc62e5f9ac7b1dc3.tar
drakx-822c8c7c5236785c644d2037bc62e5f9ac7b1dc3.tar.gz
drakx-822c8c7c5236785c644d2037bc62e5f9ac7b1dc3.tar.bz2
drakx-822c8c7c5236785c644d2037bc62e5f9ac7b1dc3.tar.xz
drakx-822c8c7c5236785c644d2037bc62e5f9ac7b1dc3.zip
add some documentation about the various possible fields
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm14
1 files changed, 13 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 4f5ab4c44..58b019a37 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -17,7 +17,19 @@ use common;
#- > $in->ask_okcancel('title', 'question');
#- > $in->exit;
-#- ask_from_entries takes:
+#- ask_from_ takes global options ($common):
+#- title => window title
+#- messages => message displayed in the upper part of the window
+#- advanced_messages => message displayed when "Advanced" is pressed
+#- ok => force the name of the "Ok"/"Next" button
+#- cancel => force the name of the "Cancel"/"Previous" button
+#- advanced_label => force the name of the "Advanced" button
+#- advanced_label_close => force the name of the "Basic" button
+#- focus_cancel => force focus on the "Cancel" button
+#- focus_first => force focus on the first entry
+#- callbacks => functions called when something happen: complete canceled advanced changed focus_out ok_disabled
+
+#- ask_from_ takes a list of entries with fields:
#- val => reference to the value
#- label => description
#- icon => icon to put before the description