I have added support to the trunk for colored menu items in right
click context menus.
In @popup trees @item nodes can have lines of the form
bg = color
fg = color
Which will set the background and foreground colors.
Radio and check button items may also have
selected-bg = color
selected-fg = color
to set a different set of colors when the item is selected/checked.
If the body of a text would normally be empty then the first line MUST
be left blank if
these or other key = value options are used.
Lines that do not contain an '=' sign and lines that have '#' as the
first character will be ignored.
Leading and trailing spaces will be removed as will space around the
first '=' sign.
Examples of this in use can be found by opening the leo/test/
testAtPopup.leo and right clicking the log pane.
rClick will soon support icons in menu items.
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
-~----------~----~----~----~------~----~------~--~---