mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2026-08-11 11:47:35 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -1577,9 +1577,15 @@
|
||||
<ul>
|
||||
<li>Create an easy way to tap into markers added to the F10 map by users.</li>
|
||||
<li>Recognize own tag and list of keywords.</li>
|
||||
<li>Matched keywords are handed down to functions.</li>
|
||||
<li>Matched keywords are handed down to functions.
|
||||
<h2>Listen for your tag</h2>
|
||||
myMarker = MARKEROPS_BASE:New("tag", {}, false)
|
||||
function myMarker:OnAfterMarkChanged(From, Event, To, Text, Keywords, Coord, idx)</li>
|
||||
</ul>
|
||||
|
||||
<p> end
|
||||
Make sure to use the "MarkChanged" event as "MarkAdded" comes in right after the user places a blank marker and your callback will never be called.</p>
|
||||
|
||||
<hr/>
|
||||
|
||||
<h3>Author: <strong>Applevangelist</strong></h3>
|
||||
|
||||
Reference in New Issue
Block a user