summaryrefslogtreecommitdiffstats
path: root/doc/classes/MenuButton.xml
Commit message (Collapse)AuthorAgeFilesLines
* fix: change "Godot" to "Redot"Muhannad Elbolaky2024-10-151-1/+1
| | | | Trying to change "Godot" to "Redot" in the doc context while acknowledging the reference to previous Godot versions like Godot 3.X.
* Validate `code` tags for class and member referencesYuri Sizov2023-10-031-1/+1
| | | | | | | | This commit also adds means to manually disable warnings in `code` tags where it's a false positive with the new `skip-lint` attribute. Warnings are now enabled on CI to prevent future errors.
* Use bound theme properties for documentationYuri Sizov2023-09-261-48/+0
|
* Further separate icon from text of buttons in both editor and default themesMichael Alexsander2023-08-071-1/+1
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | 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).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Overhaul the top sections of the class reference (GUI classes)VolTer2023-05-281-3/+2
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Document MDSF font outlines may require `msdf_pixel_range` adjustmentsHugo Locurcio2022-12-191-0/+1
|
* Improve MenuButton and OptionButtonEricEzaM2022-10-031-0/+6
| | | | | * MenuButton + OptionButton: Add method `show_popup()` which performs required popup setup before showing (prefer use of this over `get_popup()->popup()`, otherwise GH #66308 occurs) * MenuButton: Ensure that the menu can be opened with a shortcut, if one is set for the button. (GH #66403). Ensure that popupmenu item shortcuts are checked first before the MenuButton shortcut.
* Fix case where `h_separation` might not work in `Button`Rindbee2022-08-121-1/+1
| | | | | | This patch mainly solves two things: 1. The typo of `h_separation`; 2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-1/+1
|
* Rename theme properties to include underscoresFireForge2022-04-231-1/+1
| | | | | | | | | | | | | | - 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
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Improve the default project themeHugo Locurcio2022-01-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
* Document that transparent StyleBoxes/textures should be used for UI focusHugo Locurcio2021-12-151-1/+1
|
* Rename "items_count" property to "item_count"Aaron Franke2021-12-061-1/+1
|
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-4/+4
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* Sort and group theme properties in docs, improve formatting for theme and enumsYuri Sizov2021-12-011-15/+15
|
* Implement inspector property array for `PopupMenu` and `MenuButton`rafallus2021-11-031-0/+3
|
* Add focus font color to Button and derivativesYuri Sizov2021-10-261-0/+3
|
* Add warnings to methods that give access to internal nodesYuri Sizov2021-10-101-0/+1
|
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Add theme item descriptions to the online documentationYuri Sizov2021-08-041-14/+14
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-6/+3
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-181-5/+5
|
* class reference proofreadingPaul Joannon2021-03-191-1/+1
|
* [CTL] Add missing font outline drawing routines and theme constants.bruvzg2021-02-141-0/+6
|
* Change themes *_color_* to *_*_colorMarcel Admiraal2021-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Changed: font_color_accel -> font_accelerator_color font_color_bg -> font_unselected_color font_color_disabled -> font_disabled_color font_color_fg -> font_selected_color font_color_hover -> font_hover_color font_color_hover_pressed -> font_hover_pressed_color font_color_pressed -> font_pressed_color font_color_readonly -> font_readonly_color font_color_selected -> font_selected_color font_color_shadow -> font_shadow_color font_color_uneditable -> font_uneditable_color icon_color_disabled -> icon_disabled_color icon_color_hover -> icon_hover_color icon_color_hover_pressed -> icon_hover_pressed_color icon_color_normal -> icon_normal_color icon_color_pressed -> icon_pressed_color Also includes: font_outline_modulate -> font_outline_color tab_fg -> tab_selected tab_bg -> tab_unselected
* doc: Sync classref with current sourceRémi Verschelde2020-12-041-0/+1
| | | | | | | | And fixups: - Add missing bindings in RenderingServer - Remove duplicate ArrayMesh enum bindings (they're in Mesh already) - Remove redundant _unhandled_key_input binding in Control (it's in Node already)
* [Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg2020-11-261-0/+3
| | | | CanvasItem, Theme and modified controls documentation.
* doc: Sync classref with current source + fixup some bindingsRémi Verschelde2020-11-041-1/+0
| | | | Includes various changes triggered by the refactoring of method bindings.
* Remove redundant property "enabled_focus_mode"FIF152020-10-131-1/+0
| | | | Fixes #41529.
* Reference the BaseButton class explicitly in button class documentationsHugo Locurcio2020-09-231-0/+1
| | | | | | Users are sometimes confused as to the `pressed` property not being visible in the Button class documentation. This is because `pressed` is defined in BaseButton.
* doc: Sync classref with DisplayServer/Window changesRémi Verschelde2020-03-311-2/+2
|
* Completes doc for button classesHaoyu Qiu2020-02-051-0/+11
|
* Update docs to version 4.0clayjohn2020-01-311-1/+1
|
* doc: Drop unused 'category' property from headerRémi Verschelde2020-01-261-1/+1
| | | | | | | | | | We already removed it from the online docs with #35132. Currently it can only be "Built-In Types" (Variant types) or "Core" (everything else), which is of limited use. We might also want to consider dropping it from `ClassDB` altogether in Godot 4.0.
* doc: Misc updates for AnimationNode* and othersRémi Verschelde2020-01-231-3/+4
| | | | | | | | | | | | | - Add some missing descriptions. - Add links to tutorials for ARVR and AnimationTree. - Style fixes. - Engine changes: * Make `AnimationNodeTransition.input_<number>` properties internal so that they don't appear in the docs. They still appear in the inspector based on the actual number of inputs requested. * Drop unimplemented `CPUParticles.flatness`. It's only used for 3D particles in `ParticlesMaterial`, and thus only relevant for `CPUParticles3D`.
* Improved MenuButton DescriptionFeniks2020-01-181-1/+2
| | | I expanded description of MenueButton to explain how to create the items inside of the pop up as this is initially a mystery to many new people.
* doc: Fix parsing of self-closing XML tagsRémi Verschelde2019-09-241-5/+5
| | | | | | | Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
* Run doctool after overridden properties changesBojidar Marinov2019-09-041-0/+5
|
* TreeItem: Rename new button disable method to set_button_disabledRémi Verschelde2019-07-091-2/+2
| | | | | | Follow-up to #30408. Also sync classref with current source.
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-6/+6
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Change "Return" to "Returns" where necessary in XML documentationSean Heffernan2019-05-231-1/+1
| | | | | | | | In many of the XML files it had been noted that when the documentation refers to a return value, both "Return" and "Returns" are used. This has now been fixed to only say "Returns". Fixes #28867
* doc: Drop unused <demos> tagRémi Verschelde2019-04-191-2/+0
|
* doc: Bump version to 3.2Rémi Verschelde2019-04-011-1/+1
|
* Make opening menus with the same parent on mouse focus explicitMichael Alexsander Silva Dias2018-11-201-0/+5
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|