summaryrefslogtreecommitdiffstats
path: root/doc/classes/BaseButton.xml
Commit message (Collapse)AuthorAgeFilesLines
* Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabledHaoyu Qiu2024-09-261-0/+1
|
* Clarify docs for when toggling `button_pressed` emits `toggled`Giganzo2024-09-231-1/+1
|
* Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-1/+1
|
* Merge pull request #79064 from ↵Rémi Verschelde2023-08-031-3/+3
|\ | | | | | | | | | | MewPurPur/rename-button-pressed-THIS-IS-NOT-A-COMPAT-BREAK Rename `button_pressed` default signal binding to avoid shadowing
| * Rename button_pressed bindings to avoid shadowingMewPurPur2023-07-051-3/+3
| |
* | 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'
* Display `BitField[Enum]` in docs to distinguish from `Enum`Danil Alexeev2023-06-151-1/+1
|
* Overhaul the top sections of the class reference (GUI classes)VolTer2023-05-281-2/+2
|
* Add instructions for configuring CheckBox as a radio buttonRindbee2023-03-211-0/+1
|
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Button shortcuts no longer "press" the Button.Juan Linietsky2023-01-131-1/+1
| | | | | | | | * Button shortcuts were treated as generic input events on buttons. This means that to activate a button shortcut you had to press and release. * This logic is removed and now shortcuts always activate on press. * This makes the editor feel more responsive and solves problems related to this behavior. Fixes #45033 and possibly others.
* Fix unpressable buttonsDanil Alexeev2023-01-091-1/+1
|
* Use BitField<> in core type masksJuan Linietsky2023-01-081-1/+1
| | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* Fix default values not showing up on virtual classesAaron Franke2022-11-061-8/+9
|
* Make `BaseButton` Shortcut feedback togglableGeorge L. Albany2022-10-201-0/+3
|
* Move Shortcut Context to Control and ensure that `shortcut_input` adheres to ↵Eric M2022-10-131-3/+0
| | | | contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
* [doc] Use "param" instead of "code" to refer to parameters (8)Andy Maloney2022-08-121-1/+1
|
* Rename the argument tag to param in XML documentationYuri Sizov2022-08-081-3/+3
|
* Create GDExtension clases for PhysicsServer3Dreduz2022-03-151-8/+7
| | | | | | | * Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
* 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.
* BaseButton: Rename `pressed` property to `button_pressed`Rémi Verschelde2022-01-231-5/+5
| | | | | | | | | This fixes a conflict with the `pressed` signal. The new name is temporary and only intended to solve the conflict for upcoming alpha builds. Discussions are still ongoing regarding the BaseButton API and how to rename and refactor more of its properties, signals and methods to have a clearer API in 4.0.
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-1/+1
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* Use "enum class" for input enumsAaron Franke2021-11-121-1/+1
|
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-301-16/+8
| | | | | | | | 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.
* Add set_pressed_no_signal method to BaseButtonkobewi2021-07-131-1/+12
|
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-1/+1
|
* Exposed shortcut_context property to scripting and added documentation.Eric M2020-11-301-0/+3
| | | | I didn't expose this as a property or add documentation in the original PR #42109.
* Rename button group property to button_groupAaron Franke2020-10-241-3/+3
|
* Remove redundant property "enabled_focus_mode"FIF152020-10-131-3/+0
| | | | Fixes #41529.
* Rename ShortCut to Shortcut which is more grammatically correctHugo Locurcio2020-09-091-2/+2
| | | | See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980.
* Mention `toggled` signal for pressed state in BaseButton documentationHugo Locurcio2020-07-171-1/+2
| | | | This closes #40455.
* Mention `keep_pressed_outside` caveat in the BaseButton documentationHugo Locurcio2020-04-131-0/+1
| | | | This closes #37790.
* 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.
* Complete documentation of some more classesTomasz Chabora2020-01-141-0/+1
|
* doc: Markup fixes for enums and constantsRémi Verschelde2019-12-061-4/+4
|
* doc: Fix parsing of self-closing XML tagsRémi Verschelde2019-09-241-1/+1
| | | | | | | 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/+1
|
* doc: Sync classref with current sourceRémi Verschelde2019-07-151-2/+2
|
* doc: Remove hardcoded default values from descriptionsRémi Verschelde2019-06-301-1/+1
| | | | They are now generated automatically by doctool.
* doc: Add default values to all propertiesRémi Verschelde2019-06-301-10/+10
| | | | Thanks to @bojidar-bg's impressive work in #29380.
* Proofread and improve the whole class referenceHugo Locurcio2019-06-271-4/+4
| | | | | | | | | | | | | - Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
* Change "Return" to "Returns" where necessary in XML documentationSean Heffernan2019-05-231-2/+2
| | | | | | | | 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: Sync classref with current sourceRémi Verschelde2019-05-151-3/+3
|
* Merge pull request #25453 from nekomatata/button-keep-pressed-optionRémi Verschelde2019-05-011-0/+3
|\ | | | | Add option to keep button pressed when moving cursor outside while pressing
| * Option for BaseButton to keep button down when moving the pointer outside ↵PouleyKetchoupp2019-04-031-0/+3
| | | | | | | | while pressed
* | Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde2019-04-221-1/+1
|\ \ | | | | | | Consistently wrap booleans in [code]
| * | Consistently wrap booleans in [code]Tomasz Chabora2019-04-171-1/+1
| | |
* | | doc: Drop unused <demos> tagRémi Verschelde2019-04-191-2/+0
|/ /