The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

LibUI::VSeparator - Visually Separates Controls Vertically

SYNOPSIS

    use LibUI ':all';
    use LibUI::VBox;
    use LibUI::Window;
    use LibUI::MultilineEntry;
    use LibUI::VSeparator;
    Init && die;
    my $window = LibUI::Window->new( 'Top and Bottom', 320, 100, 0 );
    $window->setMargined( 1 );
    my $box    = LibUI::VBox->new();
    my $top    = LibUI::MultilineEntry->new();
    my $bot    = LibUI::MultilineEntry->new();
    $box->append( $top,                            1 );
    $box->append( LibUI::VSeparator->new(), 0 );
    $box->append( $bot,                            1 );
    $window->setChild($box);
    $window->onClosing(
        sub {
            Quit();
            return 1;
        },
        undef
    );
    $window->show;
    Main();

DESCRIPTION

A LibUI::VSeparator object represents a control to visually separate controls vertically.

Functions

Not a lot here but... well, it's just a line.

new( )

    my $sep = LibUI::VSeparator->new( );

Creates a new vertical separator.

See Also

LibUI::HorizontalSeparator

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Sanko Robinson <sanko@cpan.org>