<html><body style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px;"><div>Dear Erlangers,</div><div><br /></div><div>In this module from the manual;</div><div><br /></div><div><br /></div><div>
<table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">
-module(ex_notebook).<br /><br /></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">-<span class="pl-k">include_lib</span>(<span class="pl-s"><span class="pl-pds">"</span>wx/include/wx.hrl<span class="pl-pds">"</span></span>).</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">
<br /></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">-<span class="pl-k">behaviour</span>(<span class="pl-en">wx_object</span>).</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">
<br /></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">-<span class="pl-k">export</span>([<span class="pl-en">start</span>/<span class="pl-c1">1</span>, <span class="pl-en">init</span>/<span class="pl-c1">1</span>, <span class="pl-en">terminate</span>/<span class="pl-c1">2</span>, <span class="pl-en">code_change</span>/<span class="pl-c1">3</span>,</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> <span class="pl-en">handle_info</span>/<span class="pl-c1">2</span>, <span class="pl-en">handle_call</span>/<span class="pl-c1">3</span>, <span class="pl-en">handle_cast</span>/<span class="pl-c1">2</span>, <span class="pl-en">handle_event</span>/<span class="pl-c1">2</span>]).</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">
<br /></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">-<span class="pl-k">record</span>(<span class="pl-en">state</span>, </td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> {</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">parent</span>,</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">config</span>,</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> <span class="pl-smi">notebook</span></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"> })</td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line">
<br /></td>
</tr></tbody></table><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"><span class="pl-en">start</span>(<span class="pl-smi">Config</span>) <span class="pl-k">-></span></td>
</tr></tbody></table><span class="pl-en">wx_object</span>:<span class="pl-en">start_link</span>(<span class="pl-k">?</span><span class="pl-en">MODULE</span>, <span class="pl-smi">Config</span>, []).</div><div>.....</div><div><br /></div><div><br /></div><div>Apart from the argument being a variable and a data field in the state record, in this context what is Config ?</div><div><br /></div><div><br /></div><div>Thank you in advance.</div><div><br /></div><div>Peter<br /></div><div><br /><table class="highlight tab-size js-file-line-container"><tbody><tr><td class="blob-code blob-code-inner js-file-line"><span class="pl-k"></span><span class="pl-en"></span><br /></td>
</tr></tbody></table></div><br /><br /></body></html>