Term::Stool::TiUseraContributed Perl DocuTerm::Stool::TitleBar(r) NAME Term::Stool::TitleBar - title bar widget DESCRIPTION This is a colored horizontal bar that can hold text -- it's useful as a title bar at the top of the whole screen. The text is displayed centered. The bar itself is always as long as the container it is inside, and it is displayed at the top of the container. Term::Stool::Widget is the parent of this class. FIELDS text The text to put on the bar. center Whether the text should be centered. Defaults to true. METHODS init Sets the color. Also, this type of widget cannot be focused. height Always 1. width Always the width of the container. xoffset Always 0. yoffset Always 0. display Draws the widget. AUTHOR Joey Hess <joey@kitenet.net> 2001-05-23 perl v5.6.1 Term::Stool::TitleBar(r)