{"id":6197,"date":"2022-12-20T18:58:01","date_gmt":"2022-12-20T21:58:01","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/tkwait-mann\/"},"modified":"2022-12-20T18:58:01","modified_gmt":"2022-12-20T21:58:01","slug":"tkwait-mann","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/tkwait-mann\/","title":{"rendered":"tkwait (mann)"},"content":{"rendered":"<h1 align=\"center\">tkwait<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#KEYWORDS\">KEYWORDS<\/a> <\/p>\n<hr>\n<p>______________________________________________________________________________<\/p>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tkwait \u2212 Wait for variable to change or window to be destroyed<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>tkwait variable<\/b> <i>name<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>tkwait visibility<\/b> <i>name<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>tkwait window<\/b> <i>name<\/i> ______________________________________________________________________________<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>tkwait<\/b> command waits for one of several things to happen, then it returns without taking any other actions. The return value is always an empty string. If the first argument is <b>variable<\/b> (or any abbreviation of it) then the second argument is the name of a global variable and the command waits for that variable to be modified. If the first argument is <b>visibility<\/b> (or any abbreviation of it) then the second argument is the name of a window and the <b>tkwait<\/b> command waits for a change in its visibility state (as indicated by the arrival of a VisibilityNotify event). This form is typically used to wait for a newly-created window to appear on the screen before taking some action. If the first argument is <b>window<\/b> (or any abbreviation of it) then the second argument is the name of a window and the <b>tkwait<\/b> command waits for that window to be destroyed. This form is typically used to wait for a user to finish interacting with a dialog box before using the result of that interaction.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">While the <b>tkwait<\/b> command is waiting it processes events in the normal fashion, so the application will continue to respond to user interactions. If an event handler invokes <b>tkwait<\/b> again, the nested call to <b>tkwait<\/b> must complete before the outer call can complete.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">bind(n), vwait(n)<\/p>\n<h2>KEYWORDS <a name=\"KEYWORDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">variable, visibility, wait, window<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  tkwait \u2212 Wait for variable to change or window to be destroyed <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3783,1],"tags":[2635,2829],"class_list":["post-6197","post","type-post","status-publish","format-standard","hentry","category-n-comandos-tcl-tk","category-sin-categoria","tag-mann","tag-tkwait"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6197"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6197\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}