Term::Stool::ChUseroContributed Perl DocuTerm::Stool::CheckBox(x) NAME Term::Stool::CheckBox - check box widget DESCRIPTION This is a check box widget. Term::Stool::Widget is the parent of this class. FIELDS checked Set if the widget is checked. left_side This is the text that appears on the left side of the check box. Default is "[". right_side This is the text that appears on the right side of the check box. Default is "]". check_hook If this contains a sub reference, the subroutine will be called when the checkbox is checked and unchecked. METHODS init Sets default colors and other fields to reasonable defaults. display Display the checkbox. keypress Hitting space or enter causes the check box to toggle. AUTHOR Joey Hess <joey@kitenet.net> 2001-05-23 perl v5.6.1 Term::Stool::CheckBox(x)