This file is indexed.

/usr/share/doc/racket/embedded-gui/Helpers.html is in racket-doc 6.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>4&nbsp;Helpers</title><link rel="stylesheet" type="text/css" href="../scribble.css" title="default"/><link rel="stylesheet" type="text/css" href="../racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-style.css" title="default"/><link rel="stylesheet" type="text/css" href="../manual-racket.css" title="default"/><link rel="stylesheet" type="text/css" href="../doc-site.css" title="default"/><script type="text/javascript" src="../scribble-common.js"></script><script type="text/javascript" src="../manual-racket.js"></script><script type="text/javascript" src="../doc-site.js"></script><script type="text/javascript" src="../local-redirect/local-redirect.js"></script><script type="text/javascript" src="../local-redirect/local-user-redirect.js"></script><!--[if IE 6]><style type="text/css">.SIEHidden { overflow: hidden; }</style><![endif]--></head><body id="doc-racket-lang-org"><div class="tocset"><div class="tocview"><div class="tocviewlist tocviewlisttopspace"><div class="tocviewtitle"><table cellspacing="0" cellpadding="0"><tr><td style="width: 1em;"><a href="javascript:void(0);" title="Expand/Collapse" class="tocviewtoggle" onclick="TocviewToggle(this,&quot;tocview_0&quot;);">&#9660;</a></td><td></td><td><a href="index.html" class="tocviewlink" data-pltdoc="x">Embedded GUI:<span class="mywbr"> &nbsp;</span> Widgets Within Editors</a></td></tr></table></div><div class="tocviewsublistonly" style="display: block;" id="tocview_0"><table cellspacing="0" cellpadding="0"><tr><td align="right">1&nbsp;</td><td><a href="containers.html" class="tocviewlink" data-pltdoc="x">Containers</a></td></tr><tr><td align="right">2&nbsp;</td><td><a href="controls.html" class="tocviewlink" data-pltdoc="x">Controls</a></td></tr><tr><td align="right">3&nbsp;</td><td><a href="control-snips.html" class="tocviewlink" data-pltdoc="x">Control Snips</a></td></tr><tr><td align="right">4&nbsp;</td><td><a href="" class="tocviewselflink" data-pltdoc="x">Helpers</a></td></tr><tr><td align="right">5&nbsp;</td><td><a href="snip-related-functions.html" class="tocviewlink" data-pltdoc="x">Snip Functions</a></td></tr></table></div></div></div><div class="tocsub"><div class="tocsubtitle">On this page:</div><table class="tocsublist" cellspacing="0"><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">stretchable-<wbr></wbr>editor-<wbr></wbr>snip-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip~25%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">stretchable-<wbr></wbr>editor-<wbr></wbr>snip%</span></span></a></td></tr><tr><td><a href="#%28constructor._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip~25%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">new</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._fixed-width-label-snip%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">fixed-<wbr></wbr>width-<wbr></wbr>label-<wbr></wbr>snip</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">tabbable-<wbr></wbr>text&lt;%&gt;</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-caret-owner%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>caret-<wbr></wbr>owner</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-ahead%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>ahead</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-back%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>back</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">tabbable-<wbr></wbr>text-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._set-tabbing%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">set-<wbr></wbr>tabbing</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._grey-editor-snip-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">grey-<wbr></wbr>editor-<wbr></wbr>snip-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._grey-editor-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">grey-<wbr></wbr>editor-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._single-line-text-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">single-<wbr></wbr>line-<wbr></wbr>text-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text-mixin%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">cue-<wbr></wbr>text-<wbr></wbr>mixin</span></span></a></td></tr><tr><td><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">cue-<wbr></wbr>text%</span></span></a></td></tr><tr><td><a href="#%28constructor._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktStxLink">new</span></span></a></td></tr><tr><td><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29._clear-cue-text%29%29" class="tocsublink" data-pltdoc="x"><span class="RktSym"><span class="RktValLink">clear-<wbr></wbr>cue-<wbr></wbr>text</span></span></a></td></tr></table></div></div><div class="maincolumn"><div class="main"><div class="navsettop"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="toggle-button-snip_.html" title="backward to &quot;3.4 toggle-button-snip%&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;Embedded GUI: Widgets Within Editors&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="snip-related-functions.html" title="forward to &quot;5 Snip Functions&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div><h3 x-source-module="(lib &quot;embedded-gui/scribblings/embedded-gui.scrbl&quot;)" x-part-tag="&quot;Helpers&quot;">4<tt>&nbsp;</tt><a name="(part._.Helpers)"></a>Helpers</h3><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._stretchable-editor-snip-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">stretchable-editor-snip-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor-snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor-snip%</a></span></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>result implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="stretchable-snip___.html" class="RktValLink" data-pltdoc="x">stretchable-snip&lt;%&gt;</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Extends an editor snip the <span class="RktSym"><a href="stretchable-snip___.html" class="RktValLink" data-pltdoc="x">stretchable-snip&lt;%&gt;</a></span> interface,
which allows it to be stretched to fit an
<span class="RktSym"><a href="alignment-parent___.html" class="RktValLink" data-pltdoc="x">alignment-parent&lt;%&gt;</a></span>&rsquo;s allotted width. Stretchable snips are
useful as the snip of a <span class="RktSym"><a href="snip-wrapper_.html" class="RktValLink" data-pltdoc="x">snip-wrapper%</a></span></div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>class</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._stretchable-editor-snip~25))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip~25%29%29" class="RktValDef RktValLink" data-pltdoc="x">stretchable-editor-snip%</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span></p></blockquote></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span>superclass:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor-snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor-snip%</a></span></p></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>extends:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip-mixin%29%29" class="RktValLink" data-pltdoc="x">stretchable-editor-snip-mixin</a></span></td></tr><tr><td><span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor-snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor-snip%</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara"><blockquote class="leftindent"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>constructor</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td colspan="3"><span class="RktPn">(</span><a name="(constructor._((lib._embedded-gui/main..rkt)._stretchable-editor-snip~25))"></a><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objcreation.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._new%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">new</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip~25%29%29" class="RktValLink" data-pltdoc="x">stretchable-editor-snip%</a></span></td><td><span class="hspace">&nbsp;</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;</span></td><td><span class="hspace">&nbsp;</span>[</td><td><span class="RktPn">[</span><span class="RktSym">stretchable-width</span><span class="hspace">&nbsp;</span><span class="RktVar">stretchable-width</span><span class="RktPn">]</span></td><td><span class="hspace">&nbsp;</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="RktPn">[</span><span class="RktSym">stretchable-height</span><span class="hspace">&nbsp;</span><span class="RktVar">stretchable-height</span><span class="RktPn">]</span>]<span class="RktPn">)</span></td><td><span class="hspace">&nbsp;</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._stretchable-editor-snip~25%29%29" class="RktValLink" data-pltdoc="x">stretchable-editor-snip%</a></span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">stretchable-width</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">#t</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">stretchable-height</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=booleans.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._boolean%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">boolean?</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">#t</span></td></tr></table></blockquote></div><div class="SIntrapara">Creates a stretchable snip with the given initial stretchability.</div><div class="SIntrapara"></div></p></blockquote></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._embedded-gui/main..rkt)._fixed-width-label-snip))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._fixed-width-label-snip%29%29" class="RktValDef RktValLink" data-pltdoc="x">fixed-width-label-snip</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">possible-labels</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._subclass%7E3f%252Fc%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">subclass?/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">snip%</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">possible-labels</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Returns a subclass of <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">snip%</a></span> that takes a single
 initialization argument. The argument provided when instantiating the
 class must be a member of <span class="RktVar">possible-labels</span>; the given label
 is displayed by the snip, but the snip is sized to match the longest
 of the labels in <span class="RktVar">possible-labels</span>.</div></p><p>In other words, the resulting class helps align multiple GUI elements
t   hat are labeled from a particular set of strings.</p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>interface</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._tabbable-text~3c~25~3e))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValDef RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._interface%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">interface?</a></span></p></blockquote></td></tr></table></div><div class="SIntrapara">An interface for tabbing between embedded <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=text_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">text%</a></span>s.</div><div class="SIntrapara"><blockquote class="leftindent"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace">&nbsp;</span><span class="RktVar">a-tabbable-text</span><span class="hspace">&nbsp;</span><a name="(meth._(((lib._embedded-gui/main..rkt)._tabbable-text~3c~25~3e)._set-caret-owner))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-caret-owner%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-caret-owner</a></span><span class="RktPn"></span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Moves the caret into the <span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span>.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace">&nbsp;</span><span class="RktVar">a-tabbable-text</span><span class="hspace">&nbsp;</span><a name="(meth._(((lib._embedded-gui/main..rkt)._tabbable-text~3c~25~3e)._set-ahead))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-ahead%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-ahead</a></span><span class="RktPn"></span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Called when tabbing ahead.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace">&nbsp;</span><span class="RktVar">a-tabbable-text</span><span class="hspace">&nbsp;</span><a name="(meth._(((lib._embedded-gui/main..rkt)._tabbable-text~3c~25~3e)._set-back))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-back%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-back</a></span><span class="RktPn"></span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Called when tabbing backward.</div><div class="SIntrapara"></div></p></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._tabbable-text-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">tabbable-text-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=framework&amp;rel=Editor.html%23%2528def._%2528%2528lib._framework%252Fmain..rkt%2529._editor%7E3akeymap%7E3c%7E25%7E3e%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor:keymap&lt;%&gt;</a></span></td></tr></table></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>result implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Adds the <span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span> interface to an
<span class="RktSym">editor:text%</span> class, where instantiation installs key
bindings to tab ahead and backward</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>procedure</p></div></div><p class="RForeground"><span class="RktPn">(</span><a name="(def._((lib._embedded-gui/main..rkt)._set-tabbing))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._set-tabbing%29%29" class="RktValDef RktValLink" data-pltdoc="x">set-tabbing</a></span></span><span class="hspace">&nbsp;</span><span class="RktVar">a-text</span><span class="hspace">&nbsp;</span><span class="RktMeta">...</span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">a-text</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span><span class="RktPn">)</span></td></tr></table></blockquote></div><div class="SIntrapara">Sets the tabbing order of <span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29%29" class="RktValLink" data-pltdoc="x">tabbable-text&lt;%&gt;</a></span>s by setting each
text&rsquo;s <span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-ahead%29%29" class="RktValLink" data-pltdoc="x">set-ahead</a></span> and
<span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._tabbable-text~3c~25~3e%29._set-back%29%29" class="RktValLink" data-pltdoc="x">set-back</a></span> thunks to point to its neighbor in
the argument list.</div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._grey-editor-snip-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._grey-editor-snip-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">grey-editor-snip-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor-snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor-snip%</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Gives an <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor-snip_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor-snip%</a></span> a colored background indicating that
is disabled. The editor is not disabled by the mixin however, and
must be locked separately.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._grey-editor-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._grey-editor-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">grey-editor-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor___.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor&lt;%&gt;</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Gives an <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=editor___.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor&lt;%&gt;</a></span> a colored background indicating that is
disabled. The editor is not disabled by the mixin however, and must be
locked separately.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._single-line-text-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._single-line-text-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">single-line-text-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=framework&amp;rel=Editor.html%23%2528def._%2528%2528lib._framework%252Fmain..rkt%2529._editor%7E3akeymap%7E3c%7E25%7E3e%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">editor:keymap&lt;%&gt;</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Restricts a text to one line by overriding its key bindings to do
nothing on enter.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>mixin</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._cue-text-mixin))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text-mixin%29%29" class="RktValDef RktValLink" data-pltdoc="x">cue-text-mixin</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="stt"> </span><span class="RktPn">. </span><span class="RktSym"><span class="nobreak">-&gt;</span></span><span class="RktPn"> .</span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span><span class="RktPn">)</span></p></blockquote></td></tr><tr><td><table cellspacing="0" cellpadding="0"><tr><td><span class="hspace">&nbsp;&nbsp;</span>argument extends/implements:<span class="hspace">&nbsp;</span></td><td><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=text_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">text%</a></span></td></tr></table></td></tr></table></div><div class="SIntrapara">Gives a <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=text_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">text%</a></span> an instantiation argument of a string that is
displayed in the <span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=text_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">text%</a></span> initially in grey; the text
disappears when the text gets focus. This technique is useful for
labeling texts without needing to take up space.</div><div class="SIntrapara"><blockquote class="leftindent"></blockquote></div></p><p><div class="SIntrapara"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>class</p></div></div><p class="RForeground"><a name="(def._((lib._embedded-gui/main..rkt)._cue-text~25))"></a><span title="Provided from: embedded-gui | Package: gui-lib"><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29%29" class="RktValDef RktValLink" data-pltdoc="x">cue-text%</a></span></span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objectutils.html%23%2528def._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._class%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">class?</a></span></p></blockquote></td></tr><tr><td><p><span class="hspace">&nbsp;&nbsp;</span>superclass:<span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text-mixin%29%29" class="RktValLink" data-pltdoc="x">cue-text-mixin</a></span><span class="stt"> </span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=gui&amp;rel=text_.html&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">text%</a></span><span class="RktPn">)</span></p></td></tr></table></div><div class="SIntrapara"><blockquote class="leftindent"><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>constructor</p></div></div><table cellspacing="0" cellpadding="0" class="prototype RForeground"><tr><td colspan="3"><span class="RktPn">(</span><a name="(constructor._((lib._embedded-gui/main..rkt)._cue-text~25))"></a><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=objcreation.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._new%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">new</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29%29" class="RktValLink" data-pltdoc="x">cue-text%</a></span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;</span></td><td><span class="hspace">&nbsp;</span>[</td><td><span class="RktPn">[</span><span class="RktSym">cue-text</span><span class="hspace">&nbsp;</span><span class="RktVar">cue-text</span><span class="RktPn">]</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="RktPn">[</span><span class="RktSym">color</span><span class="hspace">&nbsp;</span><span class="RktVar">color</span><span class="RktPn">]</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="RktPn">[</span><span class="RktSym">behavior</span><span class="hspace">&nbsp;</span><span class="RktVar">behavior</span><span class="RktPn">]</span>]<span class="RktPn">)</span></td><td><span class="hspace">&nbsp;</span></td><td>&rarr;</td><td><span class="hspace">&nbsp;</span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=Object_and_Class_Contracts.html%23%2528def._%2528%2528lib._racket%252Fclass..rkt%2529._is-a%7E3f%252Fc%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">is-a?/c</a></span><span class="hspace">&nbsp;</span><span class="RktSym"><a href="#%28def._%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29%29" class="RktValLink" data-pltdoc="x">cue-text%</a></span><span class="RktPn">)</span></td></tr></table></blockquote></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">cue-text</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">""</span></td></tr><tr><td><span class="hspace">&nbsp;&nbsp;</span><span class="RktVar">color</span><span class="hspace">&nbsp;</span>:<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=strings.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._string%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">string?</a></span><span class="hspace">&nbsp;</span>=<span class="hspace">&nbsp;</span><span class="RktVal">"gray"</span></td></tr><tr><td><table cellspacing="0" cellpadding="0" class="argcontract"><tr><td><span class="hspace">&nbsp;&nbsp;</span></td><td><span class="RktVar">behavior</span></td><td><span class="hspace">&nbsp;</span></td><td>:</td><td><span class="hspace">&nbsp;</span></td><td><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fprivate%252Fmisc..rkt%2529._listof%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">listof</a></span><span class="hspace">&nbsp;</span><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=data-structure-contracts.html%23%2528def._%2528%2528lib._racket%252Fcontract%252Fbase..rkt%2529._one-of%252Fc%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">one-of/c</a></span><span class="hspace">&nbsp;</span><span class="RktVal">'</span><span class="RktVal">on-focus</span><span class="hspace">&nbsp;</span><span class="RktVal">'</span><span class="RktVal">on-char</span><span class="RktPn">)</span><span class="RktPn">)</span></td></tr><tr><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td><span class="hspace">&nbsp;</span></td><td>=</td><td><span class="hspace">&nbsp;</span></td><td><span class="RktVal">'</span><span class="RktVal">(</span><span class="RktVal">on-focus</span><span class="RktVal">)</span></td></tr></table></td></tr></table></blockquote></div><div class="SIntrapara">Creates an instance with the given initial content, color, and
behvior for when to clear the text.</div></p><p><div class="SIntrapara"><blockquote class="SVInsetFlow"><table cellspacing="0" cellpadding="0" class="boxed RBoxed"><tr><td><blockquote class="SubFlow"><div class="RBackgroundLabel SIEHidden"><div class="RBackgroundLabelInner"><p>method</p></div></div><p class="RForeground"><span class="RktPn">(</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=ivaraccess.html%23%2528form._%2528%2528lib._racket%252Fprivate%252Fclass-internal..rkt%2529._send%2529%2529&amp;version=6.1" class="RktStxLink Sq" data-pltdoc="x">send</a></span><span class="hspace">&nbsp;</span><span class="RktVar">a-cue-text</span><span class="hspace">&nbsp;</span><a name="(meth._(((lib._embedded-gui/main..rkt)._cue-text~25)._clear-cue-text))"></a><span class="RktSym"><a href="#%28meth._%28%28%28lib._embedded-gui%2Fmain..rkt%29._cue-text~25%29._clear-cue-text%29%29" class="RktValDef RktValLink" data-pltdoc="x">clear-cue-text</a></span><span class="RktPn"></span><span class="RktPn">)</span><span class="hspace">&nbsp;</span>&rarr;<span class="hspace">&nbsp;</span><span class="RktSym"><a href="http://download.racket-lang.org/docs/6.1/html/local-redirect/index.html?doc=reference&amp;rel=void.html%23%2528def._%2528%2528quote._%7E23%7E25kernel%2529._void%7E3f%2529%2529&amp;version=6.1" class="RktValLink Sq" data-pltdoc="x">void?</a></span></p></blockquote></td></tr></table></blockquote></div><div class="SIntrapara">Clears the cue text, if it&rsquo;s still present.
</div><div class="SIntrapara"></div></p></blockquote></div></p><div class="navsetbottom"><span class="navleft"><form class="searchform"><input class="searchbox" style="color: #888;" type="text" value="...search manuals..." title="Enter a search string to search the manuals" onkeypress="return DoSearchKey(event, this, &quot;6.1&quot;, &quot;../&quot;);" onfocus="this.style.color=&quot;black&quot;; this.style.textAlign=&quot;left&quot;; if (this.value == &quot;...search manuals...&quot;) this.value=&quot;&quot;;" onblur="if (this.value.match(/^ *$/)) { this.style.color=&quot;#888&quot;; this.style.textAlign=&quot;center&quot;; this.value=&quot;...search manuals...&quot;; }"/></form>&nbsp;&nbsp;<a href="../index.html" title="up to the documentation top" data-pltdoc="x" onclick="return GotoPLTRoot(&quot;6.1&quot;);">top</a></span><span class="navright">&nbsp;&nbsp;<a href="toggle-button-snip_.html" title="backward to &quot;3.4 toggle-button-snip%&quot;" data-pltdoc="x">&larr; prev</a>&nbsp;&nbsp;<a href="index.html" title="up to &quot;Embedded GUI: Widgets Within Editors&quot;" data-pltdoc="x">up</a>&nbsp;&nbsp;<a href="snip-related-functions.html" title="forward to &quot;5 Snip Functions&quot;" data-pltdoc="x">next &rarr;</a></span>&nbsp;</div></div></div><div id="contextindicator">&nbsp;</div></body></html>