20,741
edits
m (→Use from Nasal: this was wrong, the argument must be wrapped in a props.Node, because it's handled by an fgcommand internally) |
|||
| Line 150: | Line 150: | ||
#Show readme at position 10, 10 | #Show readme at position 10, 10 | ||
gui.popupTip("readme", nil, nil, | gui.popupTip("readme", nil, nil, {y: 10, x: 10}); | ||
#Show readme at position y=10, with 2 second delay | #Show readme at position y=10, with 2 second delay | ||
gui.popupTip("readme", 2, nil, | gui.popupTip("readme", 2, nil, {y: 10}); | ||
#Show readme, with 6 second delay | #Show readme, with 6 second delay | ||
| Line 159: | Line 159: | ||
#Show readme at position x=10, y at default position | #Show readme at position x=10, y at default position | ||
gui.popupTip("readme", nil, nil, | gui.popupTip("readme", nil, nil, {x: 10}); | ||
#Show readme at position 10, 10, with 10 second delay | #Show readme at position 10, 10, with 10 second delay | ||
gui.popupTip("readme", 10, nil, | gui.popupTip("readme", 10, nil, {"y": 10, "x": 10}); | ||
</syntaxhighlight> | </syntaxhighlight> | ||