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::VerticalSeparator - Visually Separates Controls Vertically

SYNOPSIS

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

DESCRIPTION

A LibUI::VerticalSeparator 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::VerticalSeparator->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>