diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:35:16 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-07 19:35:16 (GMT) |
commit | 09e487f0e296d4f8b4d8f52913e0853cd6267ab1 (patch) | |
tree | 0d20544277d73cbc522f7e5bc577b29069bed661 /tkhtml1/doc/notes1.txt | |
parent | 488dcf87e8e9f24a6d0e7955b7be56d972480ca4 (diff) | |
parent | cea0772af197e912bd0ce13a6ec5b7d936ec077d (diff) | |
download | blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.zip blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.tar.gz blt-09e487f0e296d4f8b4d8f52913e0853cd6267ab1.tar.bz2 |
Merge commit 'cea0772af197e912bd0ce13a6ec5b7d936ec077d' as 'tkhtml1'
Diffstat (limited to 'tkhtml1/doc/notes1.txt')
-rw-r--r-- | tkhtml1/doc/notes1.txt | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tkhtml1/doc/notes1.txt b/tkhtml1/doc/notes1.txt new file mode 100644 index 0000000..120f33f --- /dev/null +++ b/tkhtml1/doc/notes1.txt @@ -0,0 +1,52 @@ +The HTML widget uses lots of TCL callback routines. But a TCL +callback can do nasty things. For example, a TCL callback +could delete the HTML widget that invoked the callback. Or +it could delete the TCL interpreter in which the HTML widget +is running. So we have to call HtmlLock() before invoking +a TCL callback and check to make sure the widget was not +deleted before using any fields in the widget structure after +the callback runs. + +The following routines can call TCL callbacks, either directly +or indirectly: + + HtmlTokenizerAppend() + HtmlParseCmd() + HtmlWidgetCommand() + HtmlGetImage() + HtmlAddStyle() + HtmlParseCmd()... + HtmlSizer() + HtmlLayout() + HtmlRedrawCallback() + GetLinkColor() + HtmlAddStyle()... + HtmlCallResolver() + HtmlGetImage()... + HtmlResolveCmd() + HtmlWidgetCommand() + HtmlRedrawCallback()... + HtmlGetFont() + DrawSelectionBackground() + HtmlBlockDraw()... + HtmlBlockDraw() + HtmlRedrawCallback() + FindIndexInBlock() + DecodeBaseIndex() + HtmlGetIndex() + HtmlIndexCmd() + HtmlWidgetCommand()... + HtmlSelectionSetCmd() + HtmlWidgetCommand()... + HtmlInsertCmd() + HtmlWidgetCommand()... + Paragraph() + DoBreakMarkup() + HtmlLayoutBlock() + HtmlLayout()... + HtmlTableLayout() + DoBreakMarkup()... + HtmlDeleteControls() + HtmlClear() + HtmlWidgetCommand()... + HtmlDestroyWidget() |