::itk::Widget
-
Related constructs -
Source File -
Contents:
destructor
- public methods
- public procs
- protected methods
- protected variables
- protected common
destructor
safeEval
call. If we are, then destruction is canceled with a silent error, and
scheduled to be attempted again after 1 second.
busy
args
busy $this methodname arg1 arg2Notice that, unlike
safeEval
, this method does not prevent
destruction of the object. Instead, if the object is destroyed during
the update, the method never returns.
contextmenu
cmd args
The command "create" is treated as a special case:
the context menu is created. The second argument, if present.
is the widget to add the binding for posting the menu. When the
menu is posted, the method configureContextMenu
is called.
focusin
hyperJump
file {point {}}
seeFragment
,
passing it the second argument. Otherwise, the
file is opened with ::tycho::File::openContext
,
which will choose an editor based on the filename extension.
Invoke seeFragment
to view the specified point within the
file. The format for the point argument depends on the type of
file being opened. For HTML files, it will normally be the name of an
anchor in the file. For text files, it will normally be either "{line
linenumber}" or "{range start end}", where
start and end have the form
linenumber.characternumber.
raiseWindow
seeFragment
point
windowName
evalIfExists
command args
getClipboard
setClipboard
text
safeEval
args
This method is a workaround for a defect in Itcl. If "update", "update idletasks", or "tkwait" is called directly or indirectly from within an Itcl method, and during the update the Itcl object is destroyed, then when update returns, you may get a catastrophic failure of the application (a core dump).
preference
mode args
configureContextMenu
Subclasses that create a context menu (by calling "contextmenu create" on themselves) should override this method.
myContextmenu
prefix
clipboard