On Sat, 21 Aug 2010 18:26:31 -0700 (PDT)
Phil <[email protected]> wrote:
> More info:
> On Ubuntu using qt, the traceback is as follows:
>
> exception executing script
> AttributeError: 'leoIconBarButton' object has no attribute 'configure'
> --------------------
> line 51:
> * line 52: b.configure(command=hoistButtonCallback)
> line 53: b.bind('<3>',deleteButtonCallback)
> line 54: #...@-node:SCRIPT BuildHoistButtons
I think either (a) Leo doesn't provide a 100% gui agnostic API for the icon bar
and tab panes, which wouldn't be immediately obvious because so many plugins
which use those either (i) are gui specific or (ii) detect the gui and execute
appropriate code, or (b) there are gui agnostic API calls for what you want to
do but you're using gui specific ones instead (probably copying by example for
(a.i) or (a.ii)).
To clarify, Leo has a gui agnostic API for these parts of the interface for
Leo's core functions, but I'm not sure it covers everything plugins might need.
Cheers -Terry
--
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.