Hi I have added toolbar.py to the plugins section.

This contains enhancements to the @button nodes and to buttons created
with the add-script button.

You can now put a header at the start of the node delimeted by @ and
@c.

within this block you can but any combination of the following lines

@
@btn bg = <color>     to set the buttons background color
@btn fg = <color>     to set the buttons foreground color
@btn icon = <full or relative path to icon> to display an icon instead
of text
@btn menu = <menu name> where menu is an @popup <menu name> (needs
rClick)
@c

Nothing must precede the first  @ line except empty lines.  If you use
a right click menu you must add a menu entry to delete the button, if
required.

Most of the code is in the toolbar plugin but I have had to make a
couple of minor changes to mod_scripting.py to make the
scriptingContoller available and  to add the event to the right click
callback.

I hope soon to add support for multiple toolbars in the frame and each
of the log, body and tree frames, using a list interface similar to
that used by the rClick plugin for context menus.

Bob
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to