Overview
| Artifact ID: | 351b57f8655d4a23dae60d931dd8a5212c464a56 |
|---|---|
| Ticket: | 2844962fffffffffffffffffffffffffffffffff
Tcl_UpdateLinkedVar does not trigger tk widget updates |
| User & Date: | kchansen on 2009-08-30 06:06:29 |
Changes
- icomment:
Thanks for looking at this! Unzip the file "CleanExample.zip" to an empty directory. It contains four files: VidKt.dll -- A video toolkit with Tcl/Tk hooks (display video in any frame! :) ) (This dll is copyright 2009, Karl C. Hansen, All rights reserved.) It is provided to assist with debugging this issue. Callback.cpp -- The video callback hook that serves up frames to the Tcl code. Also renders frames into the display window. TclUtils.cpp -- The Tcl-side of the interface, simply counts the frames. Also handles initialization of the global variables. vt.tcl -- builds the video control panel, designates the display window, creates a window to show the counter, starts the video stream. Shows the Tcl console. Clicking on "Show Updates" in the little counter window starts displaying the current value of Counter every two seconds. Counter is changing when displayed via Tcl code, but not in the little widget. If you resize the window displaying Counter, the value will update. If you drag *any* window in front of the counter window then away, the value updates. It really looks like the widget just is not redrawing even though the text variable has changed....
- login: "kchansen"
- mimetype: "text/plain"
- username: "kchansen"