摘要:
Options used with the Text method change the way the text is displayed within the Text widget. The following options are standard for all the widgets-background => color Changes the color of the screen displayed behind the text. Sets the width of the edges of the widget. Sets the cursor displayed 阅读全文
摘要:
itk_option add optName ?optName optName ...? Adds one or more options to the composite option list for a mega-widget. Here, optName can have one of the following forms: component.option Accesses an option belonging to a component with the symbolic name component. The option name is specified without 阅读全文
摘要:
TK OPTIONSThese options can be set at widget creation or changed later via configure.Name: activeBackground Class: Foreground Switch: -activebackground Specifies background color to use when drawing active elements. An element (a widget or portion of a widget) is active if the mouse cursor is positi 阅读全文
摘要:
-activebackground => color Sets the color the background should be when the mouse cursor is over the Button. A color is a text string such as "red". -activeforeground => color Sets the color the text should be when the mouse cursor is over the Button. -anchor => 'n' | ' 阅读全文
摘要:
Some Common Widget OptionsThe capitalized word must be replaced with any of the bold words. Check the manual for all the options. Also make sure that the widget you are using support the option you are using.-anchor POSITIONPosition widget relative to: n ne nw s se sw e w or center.-background COLOR 阅读全文