UI-Dialog

 view release on metacpan or  search on metacpan

lib/UI/Dialog/Backend/XDialog.pod  view on Meta::CPAN


=back

=item DESCRIPTION

=over 6

Present the end user with two (labeled) text input fields.

=back

=item RETURNS

=over 6

an ARRAY of up to two elements if the response is OK and FALSE (0) for
anything else.

=back

=back

=head2 inputsbox3( )

=over 4

=item EXAMPLE

=over 6

 my @strings = $d->inputsbox3( text => 'Enter some text.',
                               label1 => 'first field label',
                               input1 => '1st input field',
                               label2 => 'second field label',
                               input2 => '2nd input field',
                               label3 => 'third field label',
                               input3 => '3rd input field' );


=back

=item DESCRIPTION

=over 6

Present the end user with three (labeled) text input fields.

=back

=item RETURNS

=over 6

an ARRAY of up to three elements if the response is OK and FALSE (0) for
anything else.

=back

=back

=head2 combobox( )

=over 4

=item EXAMPLE

=over 6

 my $string = $d->combobox( text => 'Enter some text.',
                            editable => 1, list => [ 'item1',
                                                     'item2' ] );

=back

=item DESCRIPTION

=over 6

Present the end user with a (possibly editable) dropdown list.

=back

=item RETURNS

=over 6

a SCALAR or TRUE (1) if the response is OK and FALSE (0) for anything else.

=back

=back

=head2 rangebox( )

=over 4

=item EXAMPLE

=over 6

 my $string = $d->rangebox( text => 'Pick a number...',
                            min => 0, max => 100, def => 50 );

=back

=item DESCRIPTION

=over 6

Present the end user with a range slider and a message.

=back

=item RETURNS

=over 6

a SCALAR if the response is OK and FALSE (0) for anything else.

=back

=back

=head2 rangesbox2( )

=over 4

=item EXAMPLE



( run in 0.945 second using v1.01-cache-2.11-cpan-2398b32b56e )