![]() |
ActiveTcl User Guide
|
![]() |
iwidgets::hyperhelp - Create and manipulate a hyperhelp widget
iwidgets::hyperhelp pathName ?options?
itk::Toplevel <- iwidgets::Shell <- iwidgets::Hyperhelp
activeBackground background borderWidth closecmd cursor exportSelection
options.
above associated options.
options.
may either be a topic name, in which case the document
associated with the topic should be in the file
helpdir/topic.html, or it may be of the form
{name file}. In the latter case, name is dis-
played in the topic menu, and selecting the name loads file.
If file has a relative path, it is assumed to be relative to
helpdir.
selected from the topics menu.
list
the command. A suggested use might be to busy the widget while a
new page is being displayed.
displayed. The path of the link that was displayed is appended
before evaling the command.
_________________________________________________________________
pulldown menu showing a list of topics. The topics are displayed by importing a HTML formatted file named helpdir/topic.html. For a list of supported HTML tags, see scrolledhtml(n) .
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 ...?
activate center childsite deactivate
methods.
pathName cget option
option. Option may have any of the values accepted
by the iwid- gets::hyperhelp command.
pathName configure ?option? ?value
option value ...?
option is specified, returns a list describing all of the
avail- able 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 iwidgets::hyperhelp command.
pathName showtopic topic
the form topicname#anchorname. In this form,
either topicname or anchorname or both may be empty.
If topicname is empty, the cur- rent topic is assumed. If
anchorname is empty, the top of the document is assumed
pathName followlink href
filename#anchorname. In this form, either
filename or anchorname or both may be empty. If
filename is empty, the current document is assumed. If
anchorname is empty, the top of the document is assumed.
pathName forward
pathName back
package require Iwidgets 4.0
iwidgets::hyperhelp .h -topics { Intro Help } -helpdir ~/help .h
showtopic Intro
hyperhelp, html, help, shell, widget