summaryrefslogtreecommitdiffstats
path: root/docs/interactive/ask_from
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2005-08-20 21:09:11 +0000
committerMystery Man <unknown@mandriva.org>2005-08-20 21:09:11 +0000
commit132ca0305e567b13a0bdf65455e7f04d3d8c33a8 (patch)
treeb6d9f55e281d5d8f037ca88ef643ed483587fb2e /docs/interactive/ask_from
parentb569006d83d0e3c836e9f5eacae81b485015b6c3 (diff)
downloaddrakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.gz
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.bz2
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.tar.xz
drakx-backup-do-not-use-132ca0305e567b13a0bdf65455e7f04d3d8c33a8.zip
This commit was manufactured by cvs2svn to create tagV10_3_0_47mdk
'V10_3_0_47mdk'.
Diffstat (limited to 'docs/interactive/ask_from')
-rwxr-xr-xdocs/interactive/ask_from29
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);