HyperWorks Tools

Options

Options

Previous topic Next topic No expanding text in this topic  

Options

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Command-Line Name: -background

Database Name: frameColor

Database Class: FrameColor

The widget’s background color. If unspecified, the theme default is used.

 

Command-Line Name: -borderwidth

Database Name: borderWidth

Database Class: BorderWidth

The desired width of the widget border. Defaults to 0.

 

Command-Line Name: -class

Database Name: undefined

Database Class: undefined

Specifies the window class. The class is used when querying the option database for the window’s other options, to determine the default bindtags for the window, and to select the widget’s default layout and style. This is a read-only option: it may only be specified when the window is created, and may not be changed with the configure widget command.

 

Command-Line Name: -clientdata

Database Name: clientData

Database Class: ClientData

Acts as a data storage for a widgets. User can store any data and this will not have any effect on widget property.

 

Command-Line Name: -compound

Database Name: compound

Database Class: Compound

Specifies if the widget should display text and bitmaps/images at the same time, and if so, where the bitmap/image should be placed relative to the text. Must be one of the values none, bottom, top, left, right, or center. For example, the (default) value none specifies that the bitmap or image should (if defined) be displayed instead of the text, the value left specifies that the bitmap or image should be displayed to the left of the text, and the value center specifies that the bitmap or image should be displayed on top of the text.

 

Command-Line Name: -cursor

Database Name: cursor

Database Class: Cursor

Specifies the mouse cursor to be used for the widget. See Tk_GetCursor and cursors(n) in the Tk reference manual for the legal values. If set to the empty string (the default), the cursor is inherited from the parent widget.

 

Command-Line Name: -font

Database Name: font

Database Class: Font

Specifies the font to use when drawing text inside the widget. The value may have any of the forms described in the font manual page under FONT DESCRIPTION.

 

Command-Line Name: -foreground

Database Name: foreground

Database Class: Foreground

Specifies the normal foreground color to use when displaying the widget.

 

Command-Line Name: -height

Database Name: height

Database Class: Height

If specified, the widget’s requested height in pixels.

 

Command-Line Name: -help

Database Name: help

Database Class: Text

Specifies the text or help message that displays when moves moves over the widget.

 

Command-Line Name: -helpcommand

Database Name: helpcommand

Database Class: Command

Dynamic help which calls an assigned -helpcommand when the user moves the mouse on the widget. The text which is returned by the -helpcommand will be in turn be displayed on the tooltip.

 

Command-Line Name: -image

Database Name: image

Database Class: Image

Specifies an image to display in the widget, which must have been created with the image create command. Typically, if the image option is specified then it overrides other options that specify a bitmap or textual value to display in the widget, though this is controlled by the compound option; the image option may be reset to an empty string to enable a bitmap or text display.

 

Command-Line Name: -padx

Database Name: padX

Database Class: Pad

Specifies a non-negative value indicating how much extra space to request for the widget in the X-direction. The value may have any of the forms acceptable to Tk_GetPixels. When computing how large a window it needs, the widget will add this amount to the width it would normally need (as determined by the width of the things displayed in the widget); if the geometry manager can satisfy this request, the widget will end up with extra internal space to the left and/or right of what it displays inside. Most widgets only use this option for padding text: if they are displaying a bitmap or image, then they usually ignore padding options.

 

Command-Line Name: -pady

Database Name: padY

Database Class: Pad

Specifies a non-negative value indicating how much extra space to request for the widget in the Y-direction. The value may have any of the forms acceptable to Tk_GetPixels. When computing how large a window it needs, the widget will add this amount to the height it would normally need (as determined by the height of the things displayed in the widget); if the geometry manager can satisfy this request, the widget will end up with extra internal space above and/or below what it displays inside. Most widgets only use this option for padding text: if they are displaying a bitmap or image, then they usually ignore padding options.

 

Command-Line Name: -relief

Database Name: relief

Database Class: Relief

Specifies the 3-D effect desired for the widget. Acceptable values are raised, sunken, flat, ridge, solid, and groove. The value indicates how the interior of the widget should appear relative to its exterior; for example, raised means the interior of the widget should appear to protrude from the screen, relative to the exterior of the widget.

 

Command-Line Name: -state

Database Name: state

Database Class: State

May be set to normal or disabled to control the disabled state bit.

 

Command-Line Name: -takefocus

Database Name: takeFocus

Database Class: TakeFocus

Determines whether the window accepts the focus during keyboard traversal. Either 0, 1, a command prefix (to which the widget path is appended, and which should return 0 or 1), or the empty string. See options(n) in the Tk reference manual for the full description.

 

Command-Line Name: -textvariable

Database Name: textVariable

Database Class: Variable

Specifies the name of a global variable. The value of the variable is a text string to be displayed inside the widget; if the variable value changes then the widget will automatically update itself to reflect the new value. The way in which the string is displayed in the widget depends on the particular widget and may be determined by other options, such as anchor or justify.

 

Command-Line Name: -text

Database Name: text

Database Class: Text

Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as anchor or justify.

 

Command-Line Name: -underline

Database Name: underline

Database Class: Underline

Specifies the integer index of a character to underline in the widget. This option is used by the default bindings to implement keyboard traversal for menu buttons and menu entries. 0 corresponds to the first character of the text displayed in the widget, 1 to the next character, and so on.

 

Command-Line Name: -width

Database Name: width

Database Class: Width

Specifies the width of a widget.