On Tue, Aug 18, 2009 at 7:38 AM, rhh <[email protected]> wrote:

>
> Using leo 4.5.1 final (tk) - I would like to change the color of the
> run-script and script-button color without changing the source code.
> I can do that by running the script within leo
>
> c.frame.iconBar.buttons[0]['bg'] = 'azure3'
> c.frame.iconBar.buttons[1]['bg'] = 'azure3'


At present, there is no user option that specifies the color of these
buttons.  There could be.

>
>
> Is there any way to automatically execute this type of code when leo
> is first started?


Yes.  @script nodes.  They are a security problem, however, so they are
disabled by default.  You can enable them in mod_scripting.py.

You could create a small plugin that would do this.

>
> (Is 'commander' the proper term for the overall gui application that
> is opened with launchleo?)


No.  A commander is an object that represents the overall Leo window,
including commands.  It is a controller class, not a view class.

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

Reply via email to