From 5629a006d998dcae59fbd6d89a13703427351abd Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 4 Sep 2019 09:47:47 -0500 Subject: #14011: Implement `TreeItem.get_button_tooltip(column, idx)`. When added to `TreeItem`, buttons are given tooltips. When returned via `get_button(...)`, however, the button is a `Texture` and the tooltip information isn't included. For accessibility purposes, it is useful to have access to the tooltip text. As such, we can retrieve a button's tooltip to use as a button label. --- doc/classes/TreeItem.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes/TreeItem.xml') diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 04deae6bf5..fe70c2fdac 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -84,6 +84,15 @@ Returns the number of buttons in column [code]column[/code]. May be used to get the most recently added button's index, if no index was specified. + + + + + + + Returns the tooltip for the button in column [code]column[/code]. + + -- cgit v1.2.3