Popular recipes by Michael Kirkham http://code.activestate.com/recipes/users/331882/2003-08-08T20:16:55-07:00ActiveState Code RecipesCreating a read-only text or entry widget (Tcl)
2002-04-25T09:22:09-07:00Michael Kirkhamhttp://code.activestate.com/recipes/users/331882/http://code.activestate.com/recipes/120202-creating-a-read-only-text-or-entry-widget/
<p style="color: grey">
Tcl
recipe 120202
by <a href="/recipes/users/331882/">Michael Kirkham</a>
(<a href="/recipes/tags/binding/">binding</a>).
Revision 2.
</p>
<p>A way to disallow user input in a more user (and programmer) friendly way than setting the widget's state to "disabled".</p>
Simplified mega-widiget creation without class libraries (Tcl)
2003-08-08T20:16:55-07:00Michael Kirkhamhttp://code.activestate.com/recipes/users/331882/http://code.activestate.com/recipes/122547-simplified-mega-widiget-creation-without-class-lib/
<p style="color: grey">
Tcl
recipe 122547
by <a href="/recipes/users/331882/">Michael Kirkham</a>
.
Revision 3.
</p>
<p>If you're creating a mega-widget (aka composite widget) that you want to be extensible, but you aren't quite ready to take the plunge into a full Tcl class extension (or haven't found one quite for you), the following is a simple "next best thing".</p>
An example mega-widget widget providing a text widget with X and Y scrollbars. (Tcl)
2002-04-25T03:43:48-07:00Michael Kirkhamhttp://code.activestate.com/recipes/users/331882/http://code.activestate.com/recipes/122548-an-example-mega-widget-widget-providing-a-text-wid/
<p style="color: grey">
Tcl
recipe 122548
by <a href="/recipes/users/331882/">Michael Kirkham</a>
.
</p>
<p>This is a simple example of a mega-widget based on the "MegaWidget" procedure in "Simplified mega-widiget creation without class libraries" (<a href="http://aspn.activestate.com/ASPN/Cookbook/Tcl/Recipe/122547%29." rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Tcl/Recipe/122547).</a></p>