
10. Perl/Tk Widgets 43
-widgets => [widgetList ]
A reference to a list of widgets for the color configurator
to color.
-display_status => boolean
True to display the ColorEditor status window when
applying colors.
-add_menu_item => itemString
‘SEP’ (a separator), or a color attribute menu item.
-delete_menu_item => itemString
‘SEP’, a color attribute menu item, or color attribute menu
ordinal.
$cedit->Show;
Maps the ColorEditor toplevel window.
$cedit->delete_widgets([widgetList ]);
A reference to a list of widgets to remove from Color-
Editor’s consideration.
Dialog
Dialog creates a modal dialog window with a message and
buttons and waits for a user response.
-title => string
Title to display in the dialog’s decorative frame.
-text => string
Message to display in the dialog widget.
-bitmap => bitmap
Bitmap to display in the dialog.
-default_button => string
Text label of the button that is to display the default string.
-borderwidth -highlightbackground
-cursor -highlightcolor
-height -highlightthickness
-relief -width
-takefocus