How to find the existing default action for a UI gadget in factor
+1
−0
For a UI gadget like a $link
in Factor, a click automatically opens the page that it points to. I want to know where this default behaviour is defined.
In the factor documentation, there are many places which I've checked so far:
- handle-gesture
- set-gestures
- panes and presentation gadgets
But I'm unable to find where these things are used for the markup elements I want to modify, like $url
and $link
. Is there a word or just a way to grep that can help with this, finding gesture hooks for a UI/markup element?
1 answer
+1
−0
Works for me
The following users marked this post as Works for me:
User | Comment | Date |
---|---|---|
Razetime | (no comment) | Jan 27, 2023 at 10:03 |
From mrjbq7:
The correct vocabularies for finding default actions are in
- Operations
-
Web Browser for
URL"
markdown elements.
Generally, looking for define-operation
should work for finding the default action for a clickable markup element.
0 comment threads