labwc-action(5): describe If action <prompt>

This commit is contained in:
Johan Malm 2025-06-24 20:44:32 +01:00 committed by Johan Malm
parent c63d35c942
commit 8a5a04cc1a
2 changed files with 31 additions and 0 deletions

View file

@ -65,6 +65,16 @@
<item label="Exit">
<action name="Exit" />
</item>
<!--
# A prompt can be used as follows:
<item label="Exit">
<action name="If"/>
<prompt message="Do you really want to exit the compositor?"/>
<then>
<action name="Exit"/>
</then>
</item>
-->
</menu>
<menu id="some-custom-menu">