From 822c8c7c5236785c644d2037bc62e5f9ac7b1dc3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 22 Jan 2003 13:56:25 +0000 Subject: add some documentation about the various possible fields --- perl-install/interactive.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'perl-install') 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 -- cgit v1.2.1