Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ButtonとText Widgetがあります。ユーザーが Button をクリックすると、ユーザーが最後にButtonをクリックしてからText Widgetのテキストが変更されたかどうかを知りたいです。
これを確認するにはどうすればよいですか?
呼び出し
$t edit modified
(tテキストウィジェットのパス名を保持する場所) は、テキストウィジェットが変更されたかどうかを通知する必要があります。でリセット
t
$t edit modified false
または対応するPerl-Tkが何であれ。
タグ