Copyright (C) 2000-2012 |
Manpages SCROLLEDSection: User Contributed Perl Documentation (1)Updated: 2001-09-10 Index Return to Main Contents NAMETk::Scrolled - Create a widget with attached scrollbar(s)SYNOPSIS$whatever = $parent->Scrolled(Whatever ?,-scrollbars=>where? ?,...?);DESCRIPTIONTo stop a flood of ScrlWhatever widgets Perl/Tk introduced the special constructor Scrolled. Scrolled creates a widget of the given Class Whatever with attached scrollbar(s).OPTIONSAll options beside -scrollbars explained below are passed to the Whatever widget constructor.
ADVERTISED SUBWIDGETSSee ``Subwidget'' in Tk::mega how to use advertised widgets.
BUGSIf a widget does not support -{x,y}scrollcommand options, Scrolled does not complain if the specified widget class does not support them. E.g.,$parent->Scrolled('Button', ...) One does not get an error message or warning when one tries to configure scrollbars after the widget construction: $ascrolled->configure(-scrollbars => 'e'); SEE ALSOTk::ScrollbarKEYWORDSscrolled, scrollbar
IndexThis document was created by man2html, using the manual pages. Time: 13:37:57 GMT, April 23, 2024 |