jalert.tcl\n\nIntroduction\nThe\ jalert.tcl\ library\ is\ distributed\ as\ part\ of\ the\ jstools\ package.\ \ It\ provides\ a\ modal\ alert\ panel\ you\ can\ use\ to\ present\ notices\ to\ your\ users.\ \ It's\ fairly\ intrusive,\ so\ it\ should\ be\ used\ sparingly.\n\nThis\ document\ describes\ jalert.tcl\ version\ 4.0/4.0.\n\nUsage\nAccessing\ the\ Library\nIn\ order\ to\ use\ the\ jalert.tcl\ library,\ it\ (and\ any\ other\ libraries\ it\ depends\ on)\ must\ be\ in\ your\ Tcl\ auto_path,\ described\ in\ tclvars(n).\ \ Information\ about\ how\ to\ arrange\ that,\ and\ other\ conventions\ common\ to\ the\ jstools\ libraries,\ is\ in\ the\ Usage\ section\ \ of\ The\ jstools\ Libraries.\n\nCredits\ and\ Copyright\nAuthor\nJay\ Sekora\ \njs@aq.org\nhttp://shore.net/~js/\n\nCopyright\nThe\ library\ is\ copyright\ ©\ 1992-1994\ by\ Jay\ Sekora,\ but\ may\ be\ freely\ copied\ and\ modified\ for\ non­commercial\ purposes.\ \ (Please\ contact\ me\ if\ you\ want\ to\ use\ it\ for\ a\ commercial\ purpose,\ this\ may\ be\ OK\ under\ some\ circumstances.)\n\nOverview\nProcedure\nj:alert\ -\ alert\ panel\n\nj:alert\nUsage\n\tj:alert\ \[options\]\nOptions\n\t-title\ title\ \ (localisable,\ default\ Alert)\n\t-text\ text\ \ (localisable,\ default\ Alert!\ -\ not\ really\ optional)\n\nExample\n\tj:alert\ -title\ Error\ -text\ \\\n\t\ \ \"File\ \\\"\$file\\\"\ not\ found.\"\n\t\nDescription\nThis\ prodedure\ creates\ a\ popup\ alert\ window\ displaying\ the\ text\ text\ (in\ a\ message\ widget),\ with\ an\ OK\ button\ which\ will\ make\ the\ alert\ box\ go\ away\ and\ return\ control\ to\ your\ application.\n\nIf\ title\ is\ specified,\ it\ will\ be\ the\ title\ of\ the\ panel,\ for\ use\ by\ the\ window\ manager.\n\nIf\ the\ global\ variable\ J_PREFS(autoposition)\ is\ true,\ the\ panel\ will\ be\ (approximately)\ centred\ on\ the\ screen\ by\ the\ j:dialogue\ procedure\ (in\ jtkutils.tcl).\n\nFuture\ Directions\n*\ You\ should\ be\ able\ to\ specify\ a\ class\ for\ the\ toplevel\ panel.\n\n*\ There\ should\ be\ a\ way\ to\ specify\ how\ important\ a\ particular\ notice\ is,\ and\ a\ user\ preference\ for\ how\ important\ a\ notice\ has\ to\ be\ in\ order\ actually\ to\ be\ displayed\ (along\ the\ lines\ of\ the\ j:confirm\ panel).\n {{{jdoc:xref:link {4.53 4.60 10.211 10.232 10.240 10.258 10.262 10.283 23.0 23.7 29.16 29.27 30.14 30.25 41.117 41.127 41.142 41.154}} {jdoc:xref:manpage {10.127 10.134}} {jdoc:anchor:anchorname {3.0 4.0 12.0 13.0 21.0 22.0 25.0 26.0}} {richtext:font:roman {2.0 3.0 4.0 4.4 4.14 4.53 4.60 4.204 5.0 6.24 6.34 8.0 8.5 9.0 9.21 10.20 10.30 10.103 10.112 10.127 10.134 10.215 10.222 10.244 10.249 10.262 10.283 12.0 14.0 15.0 15.9 16.0 16.21 17.0 19.0 21.0 23.7 25.0 27.9 27.10 27.17 28.0 29.15 29.37 29.42 30.0 30.13 30.35 30.41 32.0 35.0 36.0 37.0 37.64 37.68 39.3 39.8 41.23 41.44 41.117 41.127 41.142 41.154 43.0 44.0 46.190 46.199 47.0}} {richtext:font:italic {27.10 27.17 29.8 29.13 30.7 30.11 37.64 37.68 39.3 39.8}} {richtext:font:bold {4.4 4.14 4.53 4.60 4.204 5.0 6.24 6.34 10.20 10.30 10.215 10.222 41.142 41.154}} {richtext:font:bolditalic {10.244 10.249 10.262 10.283}} {richtext:font:typewriter {10.103 10.112 10.127 10.134 15.0 15.9 16.0 16.21 23.0 23.7 27.0 27.9 29.0 29.8 29.13 29.15 29.37 29.42 30.0 30.7 30.11 30.13 30.35 30.41 33.0 35.0 41.23 41.44 41.117 41.127 46.190 46.199}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {3.0 4.0 8.0 8.5 12.0 13.0 21.0 22.0 25.0 26.0 43.0 44.0}} {richtext:font:heading2 {9.0 9.21 13.0 14.0 17.0 19.0 22.0 23.0 26.0 27.0 28.0 29.0 32.0 33.0 36.0 37.0}} {{} {11.0 21.0 22.0 23.0 24.0 25.2 25.7 27.3 27.8 29.16 29.29 29.37 29.42 30.14 30.27 30.35 30.41 32.0 40.0 41.72 41.109 41.137 41.155 42.0}} {jdoc:link:jstools.jdoc {4.53 4.60}} {jdoc:manpage:tclvars {10.127 10.134}} {jdoc:link:jslibraries.jdoc#Usage {10.240 10.258}} {jdoc:link:jslibraries.jdoc {10.211 10.232 10.262 10.283}} {jdoc:anchorname:Credits_and_Copyright {12.0 13.0}} {jdoc:anchorname:Introduction {3.0 4.0}} {jdoc:anchorname:Overview {21.0 22.0}} {{jdoc:section:j:alert                } {23.0 23.7}} {jdoc:link:#j:alert {23.0 23.7}} {jdoc:anchorname:j:alert {25.0 26.0}} {jdoc:link:jtkutils.tcl.jdoc {41.142 41.154}} {jdoc:link:jtkutils.tcl.jdoc#j:dialogue {41.117 41.127}} {jdoc:link:localisable.jdoc {29.16 29.27 30.14 30.25}}} {{richptr 40.0} {del_from 47.0} {matchend 40.0} {abbrevstart 30.27} {abbrevend 30.27} {insert 1.0} {del_to 47.0} {matchstart 40.0} {anchor 1.0} {emacs_mark 47.0} {current 6.51}}}