Currently you can't remove script buttons in Qt, if you right-click on
one, you get a one item pop-up menu that disappears before you can
read or select it, (probably says "remove").  I think Ville was saying
that while he was able to fix this for the pop-up context menu for
outline modes, this was likely to not be fixable in the same way.

It occurs to me that a work around might be to forget about fixing
this and just hi-jack the behavior to work like the Tk gui does, i.e.,
right click removes the button.  I'm assuming that even through you
can't actually select the button, you get some return result, (None,
0 ?), that could be wired to invoke the remove-button-function.  Of
course, Qt might be using callbacks for each item which might kill
this idea.

Tom

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