#!/usr/bin/perl # Yves Duret # license: GPL use lib qw(/usr/lib/libDrakX); use interactive; my $irq=1; my $login; my $login2="editable"; my $check; my $range=57; my $in = 'interactive'->vnew(undef, 'default'); $in->ask_from("window title - ask_from", "message\nexamples of utilisation of ask_from", [ { label => "enter scalar", val => \$irq }, { label => "combo (type=>combo optionnal)", val => \$login, list => ['Netherlands', 'France', 'Belgium', 'Italy', 'UK'], type => 'combo'}, { label => "choose from list editable and sorted", val => \$login2, list => ['Netherlands', 'France', 'Belgium', 'Italy', 'UK'], not_edit => 0, sort => 1}, { label => "check box", val => \$check, type => "bool", text => "text" }, { label => "range", val => \$range, type => 'range', min => 0, max => 100 }, ], complete => sub { print "complete\n";print "$irq\n$login\n$range\n"; }, # focus_out => sub { print "focus_out\n"}, # changed => sub { print "changed\n"; }, ) or $in->exit(0); $in->exit(0); distro/mdv2007.1 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2005-09-16 15:45:45 +0000
committerPablo Saratxaga <pablo@mandriva.com>2005-09-16 15:45:45 +0000
commit838763833c8ab5108500d91821ea033d67eb9589 (patch)
tree5aa2c1f6479fa0f44cf7c2bc93da56a4ab9b5631 /perl-install
parent7b478019c9d95bd56507635883195cede150f7b6 (diff)
downloaddrakx-backup-do-not-use-838763833c8ab5108500d91821ea033d67eb9589.tar
drakx-backup-do-not-use-838763833c8ab5108500d91821ea033d67eb9589.tar.gz
drakx-backup-do-not-use-838763833c8ab5108500d91821ea033d67eb9589.tar.bz2
drakx-backup-do-not-use-838763833c8ab5108500d91821ea033d67eb9589.tar.xz
drakx-backup-do-not-use-838763833c8ab5108500d91821ea033d67eb9589.zip
updated pot file
Diffstat (limited to 'perl-install')