how to trigger double-click-icon-box

27 views
Skip to first unread message

Austin(Xu) Wang

unread,
Aug 25, 2019, 5:16:01 AM8/25/19
to leo-editor
Dear Leonine,

I'm trying the plugin "expfolder".  for one node @expfolder, I need to double-click-icon-box  to expend it.
However, I cannot trigger double-click-icon-box  on my Mac.

Tried in minibuffer running command double-click-icon-box, it works as expected.  My questions is how to trigger the event "double-click-icon-box"?

My Leo configuration:

Leo Log Window
Leo 6.1-devel, devel branch, build cbbe8b38c1
2019-08-19 07:52:28 -0500
Python 3.7.4, PyQt version 5.13.0
darwin

BR,Austin

Edward K. Ream

unread,
Aug 25, 2019, 10:12:22 AM8/25/19
to leo-editor
On Sun, Aug 25, 2019 at 4:16 AM Austin(Xu) Wang <xu4...@gmail.com> wrote:

Tried in minibuffer running command double-click-icon-box, it works as expected.  My questions is how to trigger the event "double-click-icon-box"?

Bind double-click-icon-box to some key:

@command dbl-click-icon-box @key=<some key>
c.k.simulateCommand('double-click-icon-box')

Edward

Xu Wang

unread,
Aug 25, 2019, 1:12:09 PM8/25/19
to leo-e...@googlegroups.com
OK.  The new binded key works. 👍

Edward K. Ream <edre...@gmail.com> 于2019年8月25日周日 下午9:12写道:
--
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 leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS2OxJ0nMHcDrWJfnkgAB9vcUUag1o6xu_YAs2U1Sz%2BVrA%40mail.gmail.com.

Edward K. Ream

unread,
Aug 25, 2019, 4:27:58 PM8/25/19
to leo-editor
On Sun, Aug 25, 2019 at 12:12 PM Xu Wang <xu4...@gmail.com> wrote:
OK.  The new binded key works. 👍

Glad to hear it.

Edward
Reply all
Reply to author
Forward
0 new messages