Another quick question on the same topic:

How to call a function within a plugin?

For instance:
makeScriptButton within tkGui.py ?


On Tuesday, May 21, 2013 2:56:48 PM UTC+2, Fidel Pérez wrote:
>
> I am working on a general solution which, to my understanding, will 
> represent a big step towards solving this for new users.
>
> On Sunday, May 19, 2013 12:43:50 PM UTC+2, Fidel Pérez wrote:
>
>> Hi, I am going through something similar Matt Wilkie went through in 
>> this 
>> post<https://groups.google.com/forum/?fromgroups=#!searchin/leo-editor/leopyref/leo-editor/pWyd5ae952I/kvxf_H-QBq4J>
>> .
>>
>> Basically I can find interesting functions in LeoPyRef.leo but I dont 
>> know how to access them from my new leo scripts.
>>
>> I dont get the difference when I have to call them using 
>> g.Functionname(), c.functionname(), or when those wont do.
>>
>> How can I call the function "insertIconFromFile"?
>> How can I know how to call functions found in LeoPyRef.leo?
>>
>> Thanks!
>>
>> Pd: When I get that, I will already have a bookmarks importer from 
>> chrome/mozilla which will also import the icons of the links! x)
>> I will prepare some more interesting utils (import mindmap, etc) then 
>> release them together with manuals oriented to noob users.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to