Difference between revisions of "ButtonType"
Jump to navigation
Jump to search
m |
|||
Line 2: | Line 2: | ||
The following button types are defined in defines.lua | The following button types are defined in defines.lua | ||
− | + | ===Button Types=== | |
− | + | {|width="85%" cellpadding="5" cellspacing="0" border="0" | |
− | + | !align="left"|Constant | |
− | + | !align="left"|Value | |
− | + | !align="left"|Description | |
− | + | |- | |
− | + | |mbYes | |
− | + | |0 | |
− | + | |Yes | |
− | + | |- | |
− | + | |mbNo | |
− | + | |1 | |
+ | |No | ||
+ | |- | ||
+ | |mbOK | ||
+ | |2 | ||
+ | |OK | ||
+ | |- | ||
+ | |mbCancel | ||
+ | |3 | ||
+ | |Cancel | ||
+ | |- | ||
+ | |mbAbort | ||
+ | |4 | ||
+ | |Abort | ||
+ | |- | ||
+ | |mbRetry | ||
+ | |5 | ||
+ | |Retry | ||
+ | |- | ||
+ | |mbIgnore | ||
+ | |6 | ||
+ | |Ignore | ||
+ | |- | ||
+ | |mbAll | ||
+ | |7 | ||
+ | |All | ||
+ | |- | ||
+ | |mbNoToAll | ||
+ | |8 | ||
+ | |No to All | ||
+ | |- | ||
+ | |mbYesToAll | ||
+ | |9 | ||
+ | |Yes to All | ||
+ | |- | ||
+ | |mbHelp | ||
+ | |10 | ||
+ | |Help | ||
+ | |- | ||
+ | |mbClose | ||
+ | |11 | ||
+ | |Close | ||
+ | |} | ||
== See also == | == See also == |
Revision as of 23:29, 10 July 2025
The following button types are defined in defines.lua
Button Types
Constant | Value | Description |
---|---|---|
mbYes | 0 | Yes |
mbNo | 1 | No |
mbOK | 2 | OK |
mbCancel | 3 | Cancel |
mbAbort | 4 | Abort |
mbRetry | 5 | Retry |
mbIgnore | 6 | Ignore |
mbAll | 7 | All |
mbNoToAll | 8 | No to All |
mbYesToAll | 9 | Yes to All |
mbHelp | 10 | Help |
mbClose | 11 | Close |