On Mon, Nov 3, 2008 at 10:07 AM, Terry Brown <[EMAIL PROTECTED]> wrote:
> Some things the gui might do to help cleo and other plugins: > > - persistently set node text foreground colour > - persistently set node background colour > - manage a set of small icons drawn on the tree next to the node > - provide hooks for controlling node drawing There are already some (undocumented?) hooks for adding icons to the tk tree code. See: Code-->Gui Tkinter classes-->@thin leoTkinterTree.py-->Drawing... (tkTree)-->drawX...-->drawUserIcons & helper-->drawUserIcon It's not clear that these uA's are best ways of specifying node-specific icons, but they do work in the Tk world. I doubt that these uA's are heavily used, but I could be wrong. Cleo maybe? Anyway, I'm open to new invention in this area. The possibility of a plugin to modify the qtGui plugin comes to mind. That might be awkward at present. Improving Leo's plugin mechanisms is on the list. In the meantime, it should be possible to experiment with overriding the qtGui code in a script. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
