diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-08 19:52:50 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-08 19:52:50 +0000 |
commit | 0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9 (patch) | |
tree | d1fd0d679786c3e49558b1a5ac56bb69dd52cc88 /perl-install/interactive.pm | |
parent | e9b32bc364ba8b593d367d6edc33ae8204b16d2a (diff) | |
download | drakx-0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9.tar drakx-0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9.tar.gz drakx-0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9.tar.bz2 drakx-0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9.tar.xz drakx-0c412c059463c9fc1cdc56813d7bc8d8f0ea68c9.zip |
add possibility to display images in tree-lists and bool-lists
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index c32553a88..df28cc27b 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -42,14 +42,15 @@ use common; #- (type defaults to button if clicked or clicked_may_quit is there) #- (val need not be a reference) (if clicked_may_quit return true, it's as if "Ok" was pressed) #- label => (val need not be a reference) (type defaults to label if val is not a reference) -#- bool (with text) +#- bool (with "text" or "image" (which overrides text) giving an image filename) #- range (with min, max) #- combo (with list, not_edit, format) #- list (with list, icon2f (aka icon), separator (aka tree), format (aka pre_format function), #- help can be a hash or a function, #- tree_expanded boolean telling wether the tree should be wide open by default #- quit_if_double_click boolean -#- allow_empty_list disables the special cases for 0 and 1 element lists) +#- allow_empty_list disables the special cases for 0 and 1 element lists +#- image2f is a subroutine which takes a value of the list as parameter, and returns an array (text, image_file_name)) #- entry (the default) (with hidden) # #- heritate from this class and you'll get all made interactivity for same steps. |