be0c68845e
Fix miscellaneous oddities around the class reference (part 6)
2025-11-25 21:20:57 +01:00
1e1f044fd1
Merge pull request #110256 from Koyper/fix_popup_menu_item_wont_open
...
[PopupMenu] Fix submenu item not popping on mouse enter
2025-11-18 14:00:45 -06:00
70e6ac5db3
Fix PopupMenu submenu item not popping on mouse enter
2025-11-18 08:34:49 -06:00
4694ee84f6
PopupMenu: Add theme option for merging icon and checkbox gutters
2025-11-09 13:09:14 +08:00
f7749e5552
Document popups being invisible by default
2025-10-23 19:55:03 +02:00
13f642d959
Replace XML codeblock spaces with tabs
2025-06-06 14:35:38 +02:00
82a0290871
Add auto translate mode for items in PopupMenu and OptionButton
2025-03-09 23:50:11 +08:00
f7f6432af6
Make PopupMenu/Panel shadows properly visible again
2024-12-02 14:20:58 -03:00
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
...
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
932b1c434c
Clean up more [b]Example:[/b] lines from the class reference
2024-11-11 12:05:34 +01:00
a6997d37cc
Docs: remove duplicate words
2024-09-30 12:21:30 +02:00
eddc9cea11
[NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method.
2024-07-08 11:20:28 +03:00
7c75355541
Remove Popup's unused "panel" style
2024-04-13 15:18:12 -03:00
ac7583e449
[NativeMenu] Implement native popup menu support on Windows.
2024-03-13 10:51:38 +02:00
c65a667924
Move global_menu_* methods to a separate NativeMenu class.
2024-03-04 23:41:41 +02:00
3fe01226b7
Use black for font outlines by default instead of white
...
This makes font outlines more usable out of the box, as black
is one of the most commonly used colors for font outlines.
2024-02-28 20:25:15 +01:00
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
c9bdccf7f2
Expose PopupMenu get_item_multistate(), get_item_multistate_max() and set_item_multistate_max()
2024-01-22 20:07:19 +01:00
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-13 23:20:05 +02:00
34c27021e0
Update add_submenu doc to mention that submenu should already exist
2023-11-02 11:02:13 +08:00
596dd726a1
Use bound theme properties for documentation
2023-09-26 18:48:51 +02:00
df24882f9a
Free submenu children when clearing PopupMenu
2023-09-25 16:45:41 +02:00
76fad10978
Expose PopupMenu activate_item_by_event method
2023-09-15 10:27:49 -05:00
3dd881b4e4
Add option to allow echo events in menu shortcuts
2023-08-16 16:59:17 +02:00
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
151a4ba6a5
Overhaul the top sections of the class reference (GUI classes)
2023-05-28 14:24:54 +02:00
8cf98dda23
Clarify range of various ID values are 32 bit
2023-05-19 17:22:05 +02:00
a85eef4367
Add icon_modulate functionality to PopupMenu
2023-05-08 15:25:00 -07:00
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com >
2023-03-31 21:39:02 +02:00
03fcac3aa5
Fix various typos in the classref
2023-03-09 14:56:23 +08:00
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
c3365ace4f
Improve documentation on PopupMenu and DisplayServer accelerators
...
The name "accelerator" is actually misleading (at least in PopupMenu),
as these are really keyboard shortcuts and not a key you press after
pressing Alt (with the corresponding letter in the option's name
being underlined after pressing Alt).
2023-02-16 20:26:07 +01:00
fcf54cabba
Document MDSF font outlines may require msdf_pixel_range adjustments
2022-12-19 17:17:45 +01:00
80ccd46dcd
Use capitalized ID in the doc
2022-12-08 09:40:49 +08:00
a23f6d0aa6
Fill random docs
2022-11-22 17:59:45 +01:00
f7c611ab71
Style: Misc docs and comment style and language fixes
...
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
b8aa5ebfeb
Document PopupMenu id behavior
2022-10-19 11:46:28 +01:00
9507e91c07
Rename PopupMenu's set/get_current_index() to set/get_focused_item()
2022-09-06 10:51:14 -03:00
221344b9e2
Fix some corner cases in the Menu/OptionButton item auto-highlight
2022-08-28 01:15:03 -03:00
8c56a7416b
Implement MenuBar control to wrap PopupMenus or native menu, use native menu for editor.
2022-08-18 22:25:44 +03:00
1df86ecea5
[doc] Use "param" instead of "code" to refer to parameters (4)
2022-08-11 13:52:19 -04:00
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
466bd7ce39
Document incremental search support in ItemList, PopupMenu and Tree
2022-06-17 12:54:09 +02:00
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
bab2f3c021
Add font_separator and related properties to PopupMenu
2022-04-13 23:46:35 -03:00
59c3d4e17f
Fix and tweak labeled separator in PopupMenu
2022-04-13 17:13:29 -03:00