NAME
gk_topicWindow - Display information about an application
SYNOPSIS
- gk_topicWindow pathname ?options?
STANDARD OPTIONS
background highlightColor padY spacing3 borderWidth highlightThickness relief state cursor insertBackground selectBackground tabs exportSelection insertBorderWidth selectBorderWidth takeFocus font insertOffTime selectForeground xScrollCommand foreground insertOnTime setGrid yScrollCommand height insertWidth spacing1 width highlightBackground padX spacing2 wrap
See the ``options'' manual entry for details on the standard options.
Also see the ``text'' manual entry for more details on the text options.
WIDGET-SPECIFIC OPTIONS
Name: large Class: Large Command-Line Switch: -large
-
Specifies the large font used for display.
Name: largeBold Class: LargeBold Command-Line Switch: -largebold
-
Specifies the large bold font used for display.
Name: largeBoldItalic Class: LargeBoldItalic Command-Line Switch: -largebolditalic
-
Specifies the large bold italic font used for display.
Name: largeItalic Class: LargeItalic Command-Line Switch: -largeitalic
-
Specifies the large italic font used for display.
Name: normal Class: Normal Command-Line Switch: -normal
-
Specifies the normal font used for display.
Name: normalBold Class: NormalBold Command-Line Switch: -normalbold
-
Specifies the normal bold font used for display.
Name: normalBoldItalic Class: NormalBoldItalic Command-Line Switch: -normalbolditalic
-
Specifies the normal bold italic font used for display.
Name: normalItalic Class: NormalItalic Command-Line Switch: -normalitalic
-
Specifies the normal italic font used for display.
Name: text Class: Text Command-Line Switch: -text
-
Specifies the text to be displayed in the scrollable portion of the text window. The text should be of the format:
{ {fonttype} {text} {fonttype} {text} ...}
Fonttype can be one of: large, largebold, largebolditalic, largeitalic, normal, normalbold, normalbolditalic, or normalitalic.
Name: title Class: Title Command-Line Switch: -title
-
Specifies the title to be displayed at the top of the window and its frame.
DESCRIPTION
This widget can be used to display help messages, consisting of text in a variety of different fonts, in a window.
WIDGET COMMAND
The gk_topicWindow command creates a new Tcl command whose name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
-
pathName option ?arg arg ...?
Option and the args determine the exact behavior of the command. The following commands are possible for gk_topicWindow widgets:
- pathName button
-
Return the path name of the button at the bottom of the widget.
- pathName configure ?option? ?value option value ...?
-
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the gk_topicWindow command.
- pathName cget option
-
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the text command.
- pathName scrollbar
-
Return the path name of the widget's scrollbar.
- pathName text
-
Return the path name of the widget's text widget.
- pathName title
-
Return the path name of the widget's title label.
- pathName window
-
Return the path name of the widget's toplevel window.
DEFAULT BINDINGS
The dismiss button destroys the window when pressed.
NOTE
This widget is built using the GroupKit class builder; see the GroupKit User Manual for more information.
AUTHOR
Shannon Jaeger ([email protected])