Tag Plugin - Doubleclick Tag



  • On 03/08/2016 at 03:33, xxxxxxxx wrote:

    Hi all,

    is there a way to capture input events on a tag's icon, like doubleclicks? Similar to the Texture Tag that forwards to the associated Material when being double clicked, I'd like to call a function inside the tag plugin when double clicked.

    Michael



  • On 04/08/2016 at 01:25, xxxxxxxx wrote:

    Hi Michael,

    well, you can't capture the input events, in the sense of all different kinds of input events.
    The double click on the icon of a BaseList2D based entity (objects, tags,...) is available though. In "SDK speak" it's called the edit action and results in MSG_EDIT (in C++ docs, there's some more info and a small snippet which should be easy to convert to Python).
    You can also initiate the edit action by calling Edit() on your tag.


Log in to reply