Scroll to navigation

TFrame(3pm) User Contributed Perl Documentation TFrame(3pm)

NAME

Tk::TFrame - A Titled Frame widget

SYNOPSIS

    use Tk::TFrame;
    
    $frame1 = $parent->TFrame(
        -label => [ -text => 'Title' ],
        -borderwidth => 2,
        -relief => 'groove',
    );
    # or simply
    $frame2 = $parent->TFrame(
       -label => 'Title'
    );
    $frame1->pack;
    $frame2->pack;

DESCRIPTION

Tk::TFrame provides a frame but with a title which overlaps the border by half of it's height.

SEE ALSO

Tk::LabFrame

AUTHOR

Graham Barr <gbarr@pobox.com>

COPYRIGHT

Copyright (c) 1997-1998 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2021-11-06 perl v5.32.1