Several months ago I attempted something similar and created a "fully" functional note taking program with a text-editing pane built up with compound components from the basic TK components.
You can grab a copy of the source at http://www.willarson.com/code/DulyNoted.zip
The code is not well documented at all (it was a pet project), but the Ltk-TextEditor.lisp file should be exactly what you need. Feel free to do anything you want with the code.
Will
On Jun 13, 2007, at 1:32 PM, Russell McManus wrote:
Vadim vadim@vkonovalov.ru writes:
Russell McManus wrote:
Are there any examples around of how to write a compound widget in ltk? In particular, I'd like to try to write something like the Notebook widget that's available in perl/tk.
Tcl/Tk has several different notebooks, widgets, why just not using BLT's one (which is the best, to my taste)?
How does one use the BLT widgets?
-russ _______________________________________________ ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user