Path: blob/master/doc/classes/AccessibilityServer.xml
45997 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="AccessibilityServer" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">2<brief_description>3A server interface for screen reader support.4</brief_description>5<description>6</description>7<tutorials>8</tutorials>9<methods>10<method name="create_element">11<return type="RID" />12<param index="0" name="window_id" type="int" />13<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />14<description>15Creates a new, empty accessibility element resource.16[b]Note:[/b] An accessibility element is created and freed automatically for each [Node]. In general, this function should not be called manually.17</description>18</method>19<method name="create_sub_element">20<return type="RID" />21<param index="0" name="parent_rid" type="RID" />22<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />23<param index="2" name="insert_pos" type="int" default="-1" />24<description>25Creates a new, empty accessibility sub-element resource. Sub-elements can be used to provide accessibility information for objects which are not [Node]s, such as list items, table cells, or menu items. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the [method free_element] method.26</description>27</method>28<method name="create_sub_text_edit_elements">29<return type="RID" />30<param index="0" name="parent_rid" type="RID" />31<param index="1" name="shaped_text" type="RID" />32<param index="2" name="min_height" type="float" />33<param index="3" name="insert_pos" type="int" default="-1" />34<param index="4" name="is_last_line" type="bool" default="false" />35<description>36Creates a new, empty accessibility sub-element from the shaped text buffer. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the [method free_element] method.37If [param is_last_line] is [code]true[/code], no trailing newline is appended to the text content. Set to [code]true[/code] for the last line in multi-line text fields and for single-line text fields.38</description>39</method>40<method name="element_get_meta" qualifiers="const">41<return type="Variant" />42<param index="0" name="id" type="RID" />43<description>44Returns the metadata of the accessibility element [param id].45</description>46</method>47<method name="element_set_meta">48<return type="void" />49<param index="0" name="id" type="RID" />50<param index="1" name="meta" type="Variant" />51<description>52Sets the metadata of the accessibility element [param id] to [param meta].53</description>54</method>55<method name="free_element">56<return type="void" />57<param index="0" name="id" type="RID" />58<description>59Frees the accessibility element [param id] created by [method create_element], [method create_sub_element], or [method create_sub_text_edit_elements].60</description>61</method>62<method name="get_window_root" qualifiers="const">63<return type="RID" />64<param index="0" name="window_id" type="int" />65<description>66Returns the main accessibility element of the OS native window.67</description>68</method>69<method name="has_element" qualifiers="const">70<return type="bool" />71<param index="0" name="id" type="RID" />72<description>73Returns [code]true[/code] if [param id] is a valid accessibility element.74</description>75</method>76<method name="is_supported" qualifiers="const">77<return type="bool" />78<description>79Returns [code]true[/code] if screen reader is support by this implementation.80</description>81</method>82<method name="set_window_focused">83<return type="void" />84<param index="0" name="window_id" type="int" />85<param index="1" name="focused" type="bool" />86<description>87Sets the window focused state for assistive apps.88[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.89[b]Note:[/b] Advanced users only! [Window] objects call this method automatically.90</description>91</method>92<method name="set_window_rect">93<return type="void" />94<param index="0" name="window_id" type="int" />95<param index="1" name="rect_out" type="Rect2" />96<param index="2" name="rect_in" type="Rect2" />97<description>98Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps.99[b]Note:[/b] This method is implemented on Linux, macOS, and Windows.100[b]Note:[/b] Advanced users only! [Window] objects call this method automatically.101</description>102</method>103<method name="update_add_action">104<return type="void" />105<param index="0" name="id" type="RID" />106<param index="1" name="action" type="int" enum="AccessibilityServer.AccessibilityAction" />107<param index="2" name="callable" type="Callable" />108<description>109Adds a callback for the accessibility action (action which can be performed by using a special screen reader command or buttons on the Braille display), and marks this action as supported. The action callback receives one [Variant] argument, which value depends on action type.110</description>111</method>112<method name="update_add_child">113<return type="void" />114<param index="0" name="id" type="RID" />115<param index="1" name="child_id" type="RID" />116<description>117Adds a child accessibility element.118[b]Note:[/b] [Node] children and sub-elements are added to the child list automatically.119</description>120</method>121<method name="update_add_custom_action">122<return type="void" />123<param index="0" name="id" type="RID" />124<param index="1" name="action_id" type="int" />125<param index="2" name="action_description" type="String" />126<description>127Adds support for a custom accessibility action. [param action_id] is passed as an argument to the callback of [constant ACTION_CUSTOM] action.128</description>129</method>130<method name="update_add_related_controls">131<return type="void" />132<param index="0" name="id" type="RID" />133<param index="1" name="related_id" type="RID" />134<description>135Adds an element that is controlled by this element.136</description>137</method>138<method name="update_add_related_described_by">139<return type="void" />140<param index="0" name="id" type="RID" />141<param index="1" name="related_id" type="RID" />142<description>143Adds an element that describes this element.144</description>145</method>146<method name="update_add_related_details">147<return type="void" />148<param index="0" name="id" type="RID" />149<param index="1" name="related_id" type="RID" />150<description>151Adds an element that details this element.152</description>153</method>154<method name="update_add_related_flow_to">155<return type="void" />156<param index="0" name="id" type="RID" />157<param index="1" name="related_id" type="RID" />158<description>159Adds an element that this element flow into.160</description>161</method>162<method name="update_add_related_labeled_by">163<return type="void" />164<param index="0" name="id" type="RID" />165<param index="1" name="related_id" type="RID" />166<description>167Adds an element that labels this element.168</description>169</method>170<method name="update_add_related_radio_group">171<return type="void" />172<param index="0" name="id" type="RID" />173<param index="1" name="related_id" type="RID" />174<description>175Adds an element that is part of the same radio group.176[b]Note:[/b] This method should be called on each element of the group, using all other elements as [param related_id].177</description>178</method>179<method name="update_set_active_descendant">180<return type="void" />181<param index="0" name="id" type="RID" />182<param index="1" name="other_id" type="RID" />183<description>184Adds an element that is an active descendant of this element.185</description>186</method>187<method name="update_set_background_color">188<return type="void" />189<param index="0" name="id" type="RID" />190<param index="1" name="color" type="Color" />191<description>192Sets element background color.193</description>194</method>195<method name="update_set_bounds">196<return type="void" />197<param index="0" name="id" type="RID" />198<param index="1" name="p_rect" type="Rect2" />199<description>200Sets element bounding box, relative to the node position.201</description>202</method>203<method name="update_set_braille_label">204<return type="void" />205<param index="0" name="id" type="RID" />206<param index="1" name="name" type="String" />207<description>208Sets element accessibility label for Braille display.209</description>210</method>211<method name="update_set_braille_role_description">212<return type="void" />213<param index="0" name="id" type="RID" />214<param index="1" name="description" type="String" />215<description>216Sets element accessibility role description for Braille display.217</description>218</method>219<method name="update_set_checked">220<return type="void" />221<param index="0" name="id" type="RID" />222<param index="1" name="checekd" type="bool" />223<description>224Sets element checked state.225</description>226</method>227<method name="update_set_classname">228<return type="void" />229<param index="0" name="id" type="RID" />230<param index="1" name="classname" type="String" />231<description>232Sets element class name.233</description>234</method>235<method name="update_set_color_value">236<return type="void" />237<param index="0" name="id" type="RID" />238<param index="1" name="color" type="Color" />239<description>240Sets element color value.241</description>242</method>243<method name="update_set_description">244<return type="void" />245<param index="0" name="id" type="RID" />246<param index="1" name="description" type="String" />247<description>248Sets element accessibility description.249</description>250</method>251<method name="update_set_error_message">252<return type="void" />253<param index="0" name="id" type="RID" />254<param index="1" name="other_id" type="RID" />255<description>256Sets an element which contains an error message for this element.257</description>258</method>259<method name="update_set_extra_info">260<return type="void" />261<param index="0" name="id" type="RID" />262<param index="1" name="name" type="String" />263<description>264Sets element accessibility extra information added to the element name.265</description>266</method>267<method name="update_set_flag">268<return type="void" />269<param index="0" name="id" type="RID" />270<param index="1" name="flag" type="int" enum="AccessibilityServer.AccessibilityFlags" />271<param index="2" name="value" type="bool" />272<description>273Sets element flag.274</description>275</method>276<method name="update_set_focus">277<return type="void" />278<param index="0" name="id" type="RID" />279<description>280Sets currently focused element.281</description>282</method>283<method name="update_set_foreground_color">284<return type="void" />285<param index="0" name="id" type="RID" />286<param index="1" name="color" type="Color" />287<description>288Sets element foreground color.289</description>290</method>291<method name="update_set_in_page_link_target">292<return type="void" />293<param index="0" name="id" type="RID" />294<param index="1" name="other_id" type="RID" />295<description>296Sets target element for the link.297</description>298</method>299<method name="update_set_language">300<return type="void" />301<param index="0" name="id" type="RID" />302<param index="1" name="language" type="String" />303<description>304Sets element text language.305</description>306</method>307<method name="update_set_list_item_count">308<return type="void" />309<param index="0" name="id" type="RID" />310<param index="1" name="size" type="int" />311<description>312Sets number of items in the list.313</description>314</method>315<method name="update_set_list_item_expanded">316<return type="void" />317<param index="0" name="id" type="RID" />318<param index="1" name="expanded" type="bool" />319<description>320Sets list/tree item expanded status.321</description>322</method>323<method name="update_set_list_item_index">324<return type="void" />325<param index="0" name="id" type="RID" />326<param index="1" name="index" type="int" />327<description>328Sets the position of the element in the list.329</description>330</method>331<method name="update_set_list_item_level">332<return type="void" />333<param index="0" name="id" type="RID" />334<param index="1" name="level" type="int" />335<description>336Sets the hierarchical level of the element in the list.337</description>338</method>339<method name="update_set_list_item_selected">340<return type="void" />341<param index="0" name="id" type="RID" />342<param index="1" name="selected" type="bool" />343<description>344Sets list/tree item selected status.345</description>346</method>347<method name="update_set_list_orientation">348<return type="void" />349<param index="0" name="id" type="RID" />350<param index="1" name="vertical" type="bool" />351<description>352Sets the orientation of the list elements.353</description>354</method>355<method name="update_set_live">356<return type="void" />357<param index="0" name="id" type="RID" />358<param index="1" name="live" type="int" enum="AccessibilityServer.AccessibilityLiveMode" />359<description>360Sets the priority of the live region updates.361</description>362</method>363<method name="update_set_member_of">364<return type="void" />365<param index="0" name="id" type="RID" />366<param index="1" name="group_id" type="RID" />367<description>368Sets the element to be a member of the group.369</description>370</method>371<method name="update_set_name">372<return type="void" />373<param index="0" name="id" type="RID" />374<param index="1" name="name" type="String" />375<description>376Sets element accessibility name.377</description>378</method>379<method name="update_set_next_on_line">380<return type="void" />381<param index="0" name="id" type="RID" />382<param index="1" name="other_id" type="RID" />383<description>384Sets next element on the line.385</description>386</method>387<method name="update_set_num_jump">388<return type="void" />389<param index="0" name="id" type="RID" />390<param index="1" name="jump" type="float" />391<description>392Sets numeric value jump.393</description>394</method>395<method name="update_set_num_range">396<return type="void" />397<param index="0" name="id" type="RID" />398<param index="1" name="min" type="float" />399<param index="2" name="max" type="float" />400<description>401Sets numeric value range.402</description>403</method>404<method name="update_set_num_step">405<return type="void" />406<param index="0" name="id" type="RID" />407<param index="1" name="step" type="float" />408<description>409Sets numeric value step.410</description>411</method>412<method name="update_set_num_value">413<return type="void" />414<param index="0" name="id" type="RID" />415<param index="1" name="position" type="float" />416<description>417Sets numeric value.418</description>419</method>420<method name="update_set_placeholder">421<return type="void" />422<param index="0" name="id" type="RID" />423<param index="1" name="placeholder" type="String" />424<description>425Sets placeholder text.426</description>427</method>428<method name="update_set_popup_type">429<return type="void" />430<param index="0" name="id" type="RID" />431<param index="1" name="popup" type="int" enum="AccessibilityServer.AccessibilityPopupType" />432<description>433Sets popup type for popup buttons.434</description>435</method>436<method name="update_set_previous_on_line">437<return type="void" />438<param index="0" name="id" type="RID" />439<param index="1" name="other_id" type="RID" />440<description>441Sets previous element on the line.442</description>443</method>444<method name="update_set_role">445<return type="void" />446<param index="0" name="id" type="RID" />447<param index="1" name="role" type="int" enum="AccessibilityServer.AccessibilityRole" />448<description>449Sets element accessibility role.450</description>451</method>452<method name="update_set_role_description">453<return type="void" />454<param index="0" name="id" type="RID" />455<param index="1" name="description" type="String" />456<description>457Sets element accessibility role description text.458</description>459</method>460<method name="update_set_scroll_x">461<return type="void" />462<param index="0" name="id" type="RID" />463<param index="1" name="position" type="float" />464<description>465Sets scroll bar x position.466</description>467</method>468<method name="update_set_scroll_x_range">469<return type="void" />470<param index="0" name="id" type="RID" />471<param index="1" name="min" type="float" />472<param index="2" name="max" type="float" />473<description>474Sets scroll bar x range.475</description>476</method>477<method name="update_set_scroll_y">478<return type="void" />479<param index="0" name="id" type="RID" />480<param index="1" name="position" type="float" />481<description>482Sets scroll bar y position.483</description>484</method>485<method name="update_set_scroll_y_range">486<return type="void" />487<param index="0" name="id" type="RID" />488<param index="1" name="min" type="float" />489<param index="2" name="max" type="float" />490<description>491Sets scroll bar y range.492</description>493</method>494<method name="update_set_shortcut">495<return type="void" />496<param index="0" name="id" type="RID" />497<param index="1" name="shortcut" type="String" />498<description>499Sets the list of keyboard shortcuts used by element.500</description>501</method>502<method name="update_set_state_description">503<return type="void" />504<param index="0" name="id" type="RID" />505<param index="1" name="description" type="String" />506<description>507Sets human-readable description of the current checked state.508</description>509</method>510<method name="update_set_table_cell_position">511<return type="void" />512<param index="0" name="id" type="RID" />513<param index="1" name="row_index" type="int" />514<param index="2" name="column_index" type="int" />515<description>516Sets cell position in the table.517</description>518</method>519<method name="update_set_table_cell_span">520<return type="void" />521<param index="0" name="id" type="RID" />522<param index="1" name="row_span" type="int" />523<param index="2" name="column_span" type="int" />524<description>525Sets cell row/column span.526</description>527</method>528<method name="update_set_table_column_count">529<return type="void" />530<param index="0" name="id" type="RID" />531<param index="1" name="count" type="int" />532<description>533Sets number of columns in the table.534</description>535</method>536<method name="update_set_table_column_index">537<return type="void" />538<param index="0" name="id" type="RID" />539<param index="1" name="index" type="int" />540<description>541Sets position of the column.542</description>543</method>544<method name="update_set_table_row_count">545<return type="void" />546<param index="0" name="id" type="RID" />547<param index="1" name="count" type="int" />548<description>549Sets number of rows in the table.550</description>551</method>552<method name="update_set_table_row_index">553<return type="void" />554<param index="0" name="id" type="RID" />555<param index="1" name="index" type="int" />556<description>557Sets position of the row in the table.558</description>559</method>560<method name="update_set_text_align">561<return type="void" />562<param index="0" name="id" type="RID" />563<param index="1" name="align" type="int" enum="HorizontalAlignment" />564<description>565Sets element text alignment.566</description>567</method>568<method name="update_set_text_decorations">569<return type="void" />570<param index="0" name="id" type="RID" />571<param index="1" name="underline" type="bool" />572<param index="2" name="strikethrough" type="bool" />573<param index="3" name="overline" type="bool" />574<param index="4" name="color" type="Color" default="Color(0, 0, 0, 1)" />575<description>576Sets text underline/overline/strikethrough.577</description>578</method>579<method name="update_set_text_orientation">580<return type="void" />581<param index="0" name="id" type="RID" />582<param index="1" name="vertical" type="bool" />583<description>584Sets text orientation.585</description>586</method>587<method name="update_set_text_selection">588<return type="void" />589<param index="0" name="id" type="RID" />590<param index="1" name="text_start_id" type="RID" />591<param index="2" name="start_char" type="int" />592<param index="3" name="text_end_id" type="RID" />593<param index="4" name="end_char" type="int" />594<description>595Sets text selection to the text field. [param text_start_id] and [param text_end_id] should be elements created by [method create_sub_text_edit_elements]. Character offsets are relative to the corresponding element.596</description>597</method>598<method name="update_set_tooltip">599<return type="void" />600<param index="0" name="id" type="RID" />601<param index="1" name="tooltip" type="String" />602<description>603Sets tooltip text.604</description>605</method>606<method name="update_set_transform">607<return type="void" />608<param index="0" name="id" type="RID" />609<param index="1" name="transform" type="Transform2D" />610<description>611Sets element 2D transform.612</description>613</method>614<method name="update_set_url">615<return type="void" />616<param index="0" name="id" type="RID" />617<param index="1" name="url" type="String" />618<description>619Sets link URL.620</description>621</method>622<method name="update_set_value">623<return type="void" />624<param index="0" name="id" type="RID" />625<param index="1" name="value" type="String" />626<description>627Sets element text value.628</description>629</method>630</methods>631<constants>632<constant name="ROLE_UNKNOWN" value="0" enum="AccessibilityRole">633Unknown or custom role.634</constant>635<constant name="ROLE_DEFAULT_BUTTON" value="1" enum="AccessibilityRole">636Default dialog button element.637</constant>638<constant name="ROLE_AUDIO" value="2" enum="AccessibilityRole">639Audio player element.640</constant>641<constant name="ROLE_VIDEO" value="3" enum="AccessibilityRole">642Video player element.643</constant>644<constant name="ROLE_STATIC_TEXT" value="4" enum="AccessibilityRole">645Non-editable text label.646</constant>647<constant name="ROLE_CONTAINER" value="5" enum="AccessibilityRole">648Container element. Elements with this role are used for internal structure and ignored by screen readers.649</constant>650<constant name="ROLE_PANEL" value="6" enum="AccessibilityRole">651Panel container element.652</constant>653<constant name="ROLE_BUTTON" value="7" enum="AccessibilityRole">654Button element.655</constant>656<constant name="ROLE_LINK" value="8" enum="AccessibilityRole">657Link element.658</constant>659<constant name="ROLE_CHECK_BOX" value="9" enum="AccessibilityRole">660Check box element.661</constant>662<constant name="ROLE_RADIO_BUTTON" value="10" enum="AccessibilityRole">663Radio button element.664</constant>665<constant name="ROLE_CHECK_BUTTON" value="11" enum="AccessibilityRole">666Check button element.667</constant>668<constant name="ROLE_SCROLL_BAR" value="12" enum="AccessibilityRole">669Scroll bar element.670</constant>671<constant name="ROLE_SCROLL_VIEW" value="13" enum="AccessibilityRole">672Scroll container element.673</constant>674<constant name="ROLE_SPLITTER" value="14" enum="AccessibilityRole">675Container splitter handle element.676</constant>677<constant name="ROLE_SLIDER" value="15" enum="AccessibilityRole">678Slider element.679</constant>680<constant name="ROLE_SPIN_BUTTON" value="16" enum="AccessibilityRole">681Spin box element.682</constant>683<constant name="ROLE_PROGRESS_INDICATOR" value="17" enum="AccessibilityRole">684Progress indicator element.685</constant>686<constant name="ROLE_TEXT_FIELD" value="18" enum="AccessibilityRole">687Editable text field element.688</constant>689<constant name="ROLE_MULTILINE_TEXT_FIELD" value="19" enum="AccessibilityRole">690Multiline editable text field element.691</constant>692<constant name="ROLE_COLOR_PICKER" value="20" enum="AccessibilityRole">693Color picker element.694</constant>695<constant name="ROLE_TABLE" value="21" enum="AccessibilityRole">696Table element.697</constant>698<constant name="ROLE_CELL" value="22" enum="AccessibilityRole">699Table/tree cell element.700</constant>701<constant name="ROLE_ROW" value="23" enum="AccessibilityRole">702Table/tree row element.703</constant>704<constant name="ROLE_ROW_GROUP" value="24" enum="AccessibilityRole">705Table/tree row group element.706</constant>707<constant name="ROLE_ROW_HEADER" value="25" enum="AccessibilityRole">708Table/tree row header element.709</constant>710<constant name="ROLE_COLUMN_HEADER" value="26" enum="AccessibilityRole">711Table/tree column header element.712</constant>713<constant name="ROLE_TREE" value="27" enum="AccessibilityRole">714Tree view element.715</constant>716<constant name="ROLE_TREE_ITEM" value="28" enum="AccessibilityRole">717Tree view item element.718</constant>719<constant name="ROLE_LIST" value="29" enum="AccessibilityRole">720List element.721</constant>722<constant name="ROLE_LIST_ITEM" value="30" enum="AccessibilityRole">723List item element.724</constant>725<constant name="ROLE_LIST_BOX" value="31" enum="AccessibilityRole">726List view element.727</constant>728<constant name="ROLE_LIST_BOX_OPTION" value="32" enum="AccessibilityRole">729List view item element.730</constant>731<constant name="ROLE_TAB_BAR" value="33" enum="AccessibilityRole">732Tab bar element.733</constant>734<constant name="ROLE_TAB" value="34" enum="AccessibilityRole">735Tab bar item element.736</constant>737<constant name="ROLE_TAB_PANEL" value="35" enum="AccessibilityRole">738Tab panel element.739</constant>740<constant name="ROLE_MENU_BAR" value="36" enum="AccessibilityRole">741Menu bar element.742</constant>743<constant name="ROLE_MENU" value="37" enum="AccessibilityRole">744Popup menu element.745</constant>746<constant name="ROLE_MENU_ITEM" value="38" enum="AccessibilityRole">747Popup menu item element.748</constant>749<constant name="ROLE_MENU_ITEM_CHECK_BOX" value="39" enum="AccessibilityRole">750Popup menu check button item element.751</constant>752<constant name="ROLE_MENU_ITEM_RADIO" value="40" enum="AccessibilityRole">753Popup menu radio button item element.754</constant>755<constant name="ROLE_IMAGE" value="41" enum="AccessibilityRole">756Image element.757</constant>758<constant name="ROLE_WINDOW" value="42" enum="AccessibilityRole">759Window element.760</constant>761<constant name="ROLE_TITLE_BAR" value="43" enum="AccessibilityRole">762Embedded window title bar element.763</constant>764<constant name="ROLE_DIALOG" value="44" enum="AccessibilityRole">765Dialog window element.766</constant>767<constant name="ROLE_TOOLTIP" value="45" enum="AccessibilityRole">768Tooltip element.769</constant>770<constant name="ROLE_REGION" value="46" enum="AccessibilityRole">771Region/landmark element. Screen readers can navigate between regions using landmark navigation.772</constant>773<constant name="ROLE_TEXT_RUN" value="47" enum="AccessibilityRole">774Unifor text run.775Note: This role is used for internal text elements, and should not be assigned to nodes.776</constant>777<constant name="POPUP_MENU" value="0" enum="AccessibilityPopupType">778Popup menu.779</constant>780<constant name="POPUP_LIST" value="1" enum="AccessibilityPopupType">781Popup list.782</constant>783<constant name="POPUP_TREE" value="2" enum="AccessibilityPopupType">784Popup tree view.785</constant>786<constant name="POPUP_DIALOG" value="3" enum="AccessibilityPopupType">787Popup dialog.788</constant>789<constant name="FLAG_HIDDEN" value="0" enum="AccessibilityFlags">790Element is hidden for accessibility tools.791</constant>792<constant name="FLAG_MULTISELECTABLE" value="1" enum="AccessibilityFlags">793Element supports multiple item selection.794</constant>795<constant name="FLAG_REQUIRED" value="2" enum="AccessibilityFlags">796Element require user input.797</constant>798<constant name="FLAG_VISITED" value="3" enum="AccessibilityFlags">799Element is a visited link.800</constant>801<constant name="FLAG_BUSY" value="4" enum="AccessibilityFlags">802Element content is not ready (e.g. loading).803</constant>804<constant name="FLAG_MODAL" value="5" enum="AccessibilityFlags">805Element is modal window.806</constant>807<constant name="FLAG_TOUCH_PASSTHROUGH" value="6" enum="AccessibilityFlags">808Element allows touches to be passed through when a screen reader is in touch exploration mode.809</constant>810<constant name="FLAG_READONLY" value="7" enum="AccessibilityFlags">811Element is text field with selectable but read-only text.812</constant>813<constant name="FLAG_DISABLED" value="8" enum="AccessibilityFlags">814Element is disabled.815</constant>816<constant name="FLAG_CLIPS_CHILDREN" value="9" enum="AccessibilityFlags">817Element clips children.818</constant>819<constant name="ACTION_CLICK" value="0" enum="AccessibilityAction">820Single click action, callback argument is not set.821</constant>822<constant name="ACTION_FOCUS" value="1" enum="AccessibilityAction">823Focus action, callback argument is not set.824</constant>825<constant name="ACTION_BLUR" value="2" enum="AccessibilityAction">826Blur action, callback argument is not set.827</constant>828<constant name="ACTION_COLLAPSE" value="3" enum="AccessibilityAction">829Collapse action, callback argument is not set.830</constant>831<constant name="ACTION_EXPAND" value="4" enum="AccessibilityAction">832Expand action, callback argument is not set.833</constant>834<constant name="ACTION_DECREMENT" value="5" enum="AccessibilityAction">835Decrement action, callback argument is not set.836</constant>837<constant name="ACTION_INCREMENT" value="6" enum="AccessibilityAction">838Increment action, callback argument is not set.839</constant>840<constant name="ACTION_HIDE_TOOLTIP" value="7" enum="AccessibilityAction">841Hide tooltip action, callback argument is not set.842</constant>843<constant name="ACTION_SHOW_TOOLTIP" value="8" enum="AccessibilityAction">844Show tooltip action, callback argument is not set.845</constant>846<constant name="ACTION_SET_TEXT_SELECTION" value="9" enum="AccessibilityAction">847Set text selection action, callback argument is set to [Dictionary] with the following keys:848- [code]"start_element"[/code] accessibility element of the selection start.849- [code]"start_char"[/code] character offset relative to the accessibility element of the selection start.850- [code]"end_element"[/code] accessibility element of the selection end.851- [code]"end_char"[/code] character offset relative to the accessibility element of the selection end.852</constant>853<constant name="ACTION_REPLACE_SELECTED_TEXT" value="10" enum="AccessibilityAction">854Replace text action, callback argument is set to [String] with the replacement text.855</constant>856<constant name="ACTION_SCROLL_BACKWARD" value="11" enum="AccessibilityAction">857Scroll backward action, callback argument is not set.858</constant>859<constant name="ACTION_SCROLL_DOWN" value="12" enum="AccessibilityAction">860Scroll down action, callback argument is set to [enum AccessibilityScrollUnit].861</constant>862<constant name="ACTION_SCROLL_FORWARD" value="13" enum="AccessibilityAction">863Scroll forward action, callback argument is not set.864</constant>865<constant name="ACTION_SCROLL_LEFT" value="14" enum="AccessibilityAction">866Scroll left action, callback argument is set to [enum AccessibilityScrollUnit].867</constant>868<constant name="ACTION_SCROLL_RIGHT" value="15" enum="AccessibilityAction">869Scroll right action, callback argument is set to [enum AccessibilityScrollUnit].870</constant>871<constant name="ACTION_SCROLL_UP" value="16" enum="AccessibilityAction">872Scroll up action, callback argument is set to [enum AccessibilityScrollUnit].873</constant>874<constant name="ACTION_SCROLL_INTO_VIEW" value="17" enum="AccessibilityAction">875Scroll into view action, callback argument is set to [enum AccessibilityScrollHint].876</constant>877<constant name="ACTION_SCROLL_TO_POINT" value="18" enum="AccessibilityAction">878Scroll to point action, callback argument is set to [Vector2] with the relative point coordinates.879</constant>880<constant name="ACTION_SET_SCROLL_OFFSET" value="19" enum="AccessibilityAction">881Set scroll offset action, callback argument is set to [Vector2] with the scroll offset.882</constant>883<constant name="ACTION_SET_VALUE" value="20" enum="AccessibilityAction">884Set value action, callback argument is set to [String] or number with the new value.885</constant>886<constant name="ACTION_SHOW_CONTEXT_MENU" value="21" enum="AccessibilityAction">887Show context menu action, callback argument is not set.888</constant>889<constant name="ACTION_CUSTOM" value="22" enum="AccessibilityAction">890Custom action, callback argument is set to the integer action ID.891</constant>892<constant name="LIVE_OFF" value="0" enum="AccessibilityLiveMode">893Indicates that updates to the live region should not be presented.894</constant>895<constant name="LIVE_POLITE" value="1" enum="AccessibilityLiveMode">896Indicates that updates to the live region should be presented at the next opportunity (for example at the end of speaking the current sentence).897</constant>898<constant name="LIVE_ASSERTIVE" value="2" enum="AccessibilityLiveMode">899Indicates that updates to the live region have the highest priority and should be presented immediately.900</constant>901<constant name="SCROLL_UNIT_ITEM" value="0" enum="AccessibilityScrollUnit">902The amount by which to scroll. A single item of a list, line of text.903</constant>904<constant name="SCROLL_UNIT_PAGE" value="1" enum="AccessibilityScrollUnit">905The amount by which to scroll. A single page.906</constant>907<constant name="SCROLL_HINT_TOP_LEFT" value="0" enum="AccessibilityScrollHint">908A preferred position for the node scrolled into view. Top-left edge of the scroll container.909</constant>910<constant name="SCROLL_HINT_BOTTOM_RIGHT" value="1" enum="AccessibilityScrollHint">911A preferred position for the node scrolled into view. Bottom-right edge of the scroll container.912</constant>913<constant name="SCROLL_HINT_TOP_EDGE" value="2" enum="AccessibilityScrollHint">914A preferred position for the node scrolled into view. Top edge of the scroll container.915</constant>916<constant name="SCROLL_HINT_BOTTOM_EDGE" value="3" enum="AccessibilityScrollHint">917A preferred position for the node scrolled into view. Bottom edge of the scroll container.918</constant>919<constant name="SCROLL_HINT_LEFT_EDGE" value="4" enum="AccessibilityScrollHint">920A preferred position for the node scrolled into view. Left edge of the scroll container.921</constant>922<constant name="SCROLL_HINT_RIGHT_EDGE" value="5" enum="AccessibilityScrollHint">923A preferred position for the node scrolled into view. Right edge of the scroll container.924</constant>925</constants>926</class>927928929