Copyright (C) 2000-2012 |
Manpages DIALOGBOXSection: User Contributed Perl Documentation (1)Updated: 2000-04-18 Index Return to Main Contents NAMETk::DialogBox - create and manipulate a dialog screen.SYNOPSISuse Tk::DialogBox ... $d = $top->DialogBox(-title => "Title", -buttons => ["OK", "Cancel"]); $w = $d->add(Widget, args); ... $button = $d->Show; DESCRIPTIONDialogBox is very similar to Dialog except that it allows any widget in the top frame. DialogBox creates two frames---``top'' and ``bottom''. The bottom frame shows all the specified buttons, lined up from left to right. The top frame acts as a container for all other widgets that can be added with the add() method. The non-standard options recognized by DialogBox are as follows:
METHODSDialogBox supports only two methods as of now:
BUGSThere is no way of removing a widget once it has been added to the top frame.There is no control over the appearance of the buttons in the bottom frame nor is there any way to control the placement of the two frames with respect to each other e.g. widgets to the left, buttons to the right instead of widgets on the top and buttons on the bottom always. AUTHORRajappa Iyer rsi@earthling.netThis code is distributed under the same terms as Perl.
IndexThis document was created by man2html, using the manual pages. Time: 01:16:13 GMT, April 27, 2024 |