Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
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 ...
#1: Initial revision
How to find the existing default action for a UI gadget in factor
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](https://docs.factorcode.org/content/word-handle-gesture,ui.gestures.html) - [set-gestures](https://docs.factorcode.org/content/word-set-gestures%2Cui.gestures.html) - [panes](https://docs.factorcode.org/content/article-ui.gadgets.panes.html) and [presentation](https://docs.factorcode.org/content/article-ui.gadgets.presentations.html) 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?