<div>Martin -</div>
<div>&nbsp;</div>
<div>You&#39;ve hit on a topic that&#39;s near and dear to my heart.&nbsp; Here are some examples you might find helpful.&nbsp; In the last example, I mixed both a canvas and panel behavior, which allowed me to do things like draw a border around groups of components.</div>

<div>&nbsp;</div>
<div><a href="http://schemecookbook.org/Cookbook/GUIWidgetAggregation">http://schemecookbook.org/Cookbook/GUIWidgetAggregation</a></div>
<div><a href="http://groups.google.com/group/plt-scheme/msg/36cc6cb7fb314711">http://groups.google.com/group/plt-scheme/msg/36cc6cb7fb314711</a></div>
<div><a href="http://benjisimon.blogspot.com/2008/03/fun-with-mred-components-retro-status.html">http://benjisimon.blogspot.com/2008/03/fun-with-mred-components-retro-status.html</a></div>
<div><a href="http://benjisimon.blogspot.com/2008/04/more-adventures-in-creating-mred.html">http://benjisimon.blogspot.com/2008/04/more-adventures-in-creating-mred.html</a><br><br></div>
<div class="gmail_quote">On Wed, Apr 16, 2008 at 8:07 PM, Martin DeMello &lt;<a href="mailto:martindemello@gmail.com">martindemello@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Can someone give me minimal examples of (a) a custom widget based on<br>drawing onto a canvas and (b) a custom widget based on composing<br>
existing widgets? I&#39;ve hunted through the docs but there&#39;s no obvious,<br>beginner-friendly &quot;this is how you do it&quot; code or howtos.<br><br>martin<br>_________________________________________________<br>&nbsp;For list-related administrative tasks:<br>
&nbsp;<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br></blockquote></div><br><br clear="all"><br>-- <br>Have an idea for software? I can make it happen - <a href="http://www.ideas2executables.com">http://www.ideas2executables.com</a><br>
My Blog: <a href="http://benjisimon.blogspot.com">http://benjisimon.blogspot.com</a>