On Wed, Mar 26, 2008 at 9:06 AM, Terry Brown <[EMAIL PROTECTED]>
wrote:

>
> Could you tweak the docs for @settings in
> http://webpages.charter.net/edreamleo/scripting.html to explain what
> the getters return when there's no such setting?  I assume it's False
> or None.


Hmm.  I think the docs are adequate.  They refer people to the sources for
details.  In this case:

Code-->Core classes...-->@thin leoConfig.py-->class configClass-->Getters...
(g.app.config)-->getBool

getDefault has a 'default' keyword that you can use to specify a default to
be used when there is no setting given.

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