|
53 | 53 | An [param accelerator] can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The [param accelerator] is generally a combination of [enum KeyModifierMask]s and [enum Key]s using bitwise OR such as [code]KEY_MASK_CTRL | KEY_A[/code] ([kbd]Ctrl + A[/kbd]). |
54 | 54 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
55 | 55 | [b]Note:[/b] This method is implemented on macOS and Windows. |
56 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 56 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
57 | 57 | </description> |
58 | 58 | </method> |
59 | 59 | <method name="add_icon_check_item"> |
|
72 | 72 | An [param accelerator] can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The [param accelerator] is generally a combination of [enum KeyModifierMask]s and [enum Key]s using bitwise OR such as [code]KEY_MASK_CTRL | KEY_A[/code] ([kbd]Ctrl + A[/kbd]). |
73 | 73 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
74 | 74 | [b]Note:[/b] This method is implemented on macOS and Windows. |
75 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 75 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
76 | 76 | </description> |
77 | 77 | </method> |
78 | 78 | <method name="add_icon_item"> |
|
91 | 91 | An [param accelerator] can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The [param accelerator] is generally a combination of [enum KeyModifierMask]s and [enum Key]s using bitwise OR such as [code]KEY_MASK_CTRL | KEY_A[/code] ([kbd]Ctrl + A[/kbd]). |
92 | 92 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
93 | 93 | [b]Note:[/b] This method is implemented on macOS and Windows. |
94 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 94 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
95 | 95 | </description> |
96 | 96 | </method> |
97 | 97 | <method name="add_icon_radio_check_item"> |
|
111 | 111 | [b]Note:[/b] Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See [method set_item_checked] for more info on how to control it. |
112 | 112 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
113 | 113 | [b]Note:[/b] This method is implemented on macOS and Windows. |
114 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 114 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
115 | 115 | </description> |
116 | 116 | </method> |
117 | 117 | <method name="add_item"> |
|
129 | 129 | An [param accelerator] can optionally be defined, which is a keyboard shortcut that can be pressed to trigger the menu button even if it's not currently open. The [param accelerator] is generally a combination of [enum KeyModifierMask]s and [enum Key]s using bitwise OR such as [code]KEY_MASK_CTRL | KEY_A[/code] ([kbd]Ctrl + A[/kbd]). |
130 | 130 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
131 | 131 | [b]Note:[/b] This method is implemented on macOS and Windows. |
132 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 132 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
133 | 133 | </description> |
134 | 134 | </method> |
135 | 135 | <method name="add_multistate_item"> |
|
151 | 151 | [b]Note:[/b] By default, there's no indication of the current item state, it should be changed manually. |
152 | 152 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
153 | 153 | [b]Note:[/b] This method is implemented on macOS and Windows. |
154 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 154 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
155 | 155 | </description> |
156 | 156 | </method> |
157 | 157 | <method name="add_radio_check_item"> |
|
170 | 170 | [b]Note:[/b] Radio-checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See [method set_item_checked] for more info on how to control it. |
171 | 171 | [b]Note:[/b] The [param callback] and [param key_callback] Callables need to accept exactly one Variant parameter, the parameter passed to the Callables will be the value passed to [param tag]. |
172 | 172 | [b]Note:[/b] This method is implemented on macOS and Windows. |
173 | | - [b]Note:[/b] [param accelerator] and [param key_callback] are ignored on Windows. |
| 173 | + [b]Note:[/b] On Windows, [param accelerator] and [param key_callback] are ignored. |
174 | 174 | </description> |
175 | 175 | </method> |
176 | 176 | <method name="add_separator"> |
|
496 | 496 | <param index="0" name="rid" type="RID" /> |
497 | 497 | <param index="1" name="is_rtl" type="bool" /> |
498 | 498 | <description> |
499 | | - Sets the menu text layout directtion. |
| 499 | + Sets the menu text layout direction from right-to-left if [param is_rtl] is [code]true[/code]. |
500 | 500 | [b]Note:[/b] This method is implemented on macOS and Windows. |
501 | 501 | </description> |
502 | 502 | </method> |
|
0 commit comments