diff options
| author | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2002-07-23 11:21:56 +0000 |
| commit | 882ed9f801f347b87e162777b296d5be79b8b7ba (patch) | |
| tree | b3ee4e9e881f5bda8d243626aac2bea772f25e68 /docs/interactive/ask_from | |
| parent | 127a73d935d78af53d3dadd05d4636f6b717976d (diff) | |
| download | drakx-882ed9f801f347b87e162777b296d5be79b8b7ba.tar drakx-882ed9f801f347b87e162777b296d5be79b8b7ba.tar.gz drakx-882ed9f801f347b87e162777b296d5be79b8b7ba.tar.bz2 drakx-882ed9f801f347b87e162777b296d5be79b8b7ba.tar.xz drakx-882ed9f801f347b87e162777b296d5be79b8b7ba.zip | |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_9mdk'.V1_1_8_9mdk
Diffstat (limited to 'docs/interactive/ask_from')
| -rwxr-xr-x | docs/interactive/ask_from | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/interactive/ask_from b/docs/interactive/ask_from deleted file mode 100755 index dad69247e..000000000 --- a/docs/interactive/ask_from +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/perl -# Yves Duret <yduret at mandrakesoft.com> -# 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); |
