#include <atk/atk.h>#include <gio/gio.h>#include "flutter/shell/platform/embedder/embedder.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"Go to the source code of this file.
Classes | |
| struct | _FlAccessibleNodeClass |
Functions | |
| G_BEGIN_DECLS | G_DECLARE_DERIVABLE_TYPE (FlAccessibleNode, fl_accessible_node, FL, ACCESSIBLE_NODE, AtkObject) |
| FlAccessibleNode * | fl_accessible_node_new (FlEngine *engine, FlutterViewId view_id, int32_t node_id) |
| void | fl_accessible_node_set_parent (FlAccessibleNode *node, AtkObject *parent, gint index) |
| void | fl_accessible_node_set_children (FlAccessibleNode *node, GPtrArray *children) |
: a node name. | |
fl_accessible_node_set_name: @node: an #FlAccessibleNode. Sets the name of this node as reported to the a11y consumer. | |
| void | fl_accessible_node_set_name (FlAccessibleNode *node, const gchar *name) |
| void | fl_accessible_node_set_extents (FlAccessibleNode *node, gint x, gint y, gint width, gint height) |
| void | fl_accessible_node_set_flags (FlAccessibleNode *node, FlutterSemanticsFlags *flags) |
| void | fl_accessible_node_set_actions (FlAccessibleNode *node, FlutterSemanticsAction actions) |
| void | fl_accessible_node_set_value (FlAccessibleNode *node, const gchar *value) |
| void | fl_accessible_node_set_text_selection (FlAccessibleNode *node, gint base, gint extent) |
| void | fl_accessible_node_set_text_direction (FlAccessibleNode *node, FlutterTextDirection direction) |
| void | fl_accessible_node_perform_action (FlAccessibleNode *node, FlutterSemanticsAction action, GBytes *data) |
| FlAccessibleNode* fl_accessible_node_new | ( | FlEngine * | engine, |
| FlutterViewId | view_id, | ||
| int32_t | node_id | ||
| ) |
fl_accessible_node_new: @engine: the #FlEngine this node came from. @view_id: the view ID this object represents. @node_id: the semantics node ID this object represents.
Creates a new accessibility object that exposes Flutter accessibility information to ATK.
Returns: a new #FlAccessibleNode.
Definition at line 529 of file fl_accessible_node.cc.
References view_id.
Referenced by create_node(), and TEST().
| void fl_accessible_node_perform_action | ( | FlAccessibleNode * | node, |
| FlutterSemanticsAction | action, | ||
| GBytes * | data | ||
| ) |
fl_accessible_node_dispatch_action: @node: an #FlAccessibleNode. @action: the action being dispatched. @data: (allow-none): data associated with the action.
Performs a semantic action for this node.
Definition at line 630 of file fl_accessible_node.cc.
References action.
Referenced by fl_accessible_node_do_action(), fl_accessible_text_field_copy_text(), fl_accessible_text_field_cut_text(), fl_accessible_text_field_paste_text(), perform_set_selection_action(), and perform_set_text_action().
| void fl_accessible_node_set_actions | ( | FlAccessibleNode * | node, |
| FlutterSemanticsAction | actions | ||
| ) |
fl_accessible_node_set_actions: @node: an #FlAccessibleNode. @actions: the actions this node can perform.
Sets the actions that this node can perform.
Definition at line 600 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_children | ( | FlAccessibleNode * | node, |
| GPtrArray * | children | ||
| ) |
fl_accessible_node_set_children: @node: an #FlAccessibleNode. @children: (transfer none) (element-type AtkObject): a list of #AtkObject.
Sets the children of this node. The children can be changed at any time.
Definition at line 549 of file fl_accessible_node.cc.
References FL_ACCESSIBLE_NODE_GET_PRIVATE, has_child(), i, and priv.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_extents | ( | FlAccessibleNode * | node, |
| gint | x, | ||
| gint | y, | ||
| gint | width, | ||
| gint | height | ||
| ) |
fl_accessible_node_set_extents: @node: an #FlAccessibleNode. @x: x co-ordinate of this node relative to its parent. @y: y co-ordinate of this node relative to its parent. @width: width of this node in pixels. @height: height of this node in pixels.
Sets the position and size of this node.
Definition at line 582 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_flags | ( | FlAccessibleNode * | node, |
| FlutterSemanticsFlags * | flags | ||
| ) |
fl_accessible_node_set_flags: @node: an #FlAccessibleNode. @flags: the flags for this node.
Sets the flags for this node.
Definition at line 593 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_name | ( | FlAccessibleNode * | node, |
| const gchar * | name | ||
| ) |
Definition at line 576 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_parent | ( | FlAccessibleNode * | node, |
| AtkObject * | parent, | ||
| gint | index | ||
| ) |
fl_accessible_node_set_parent: @node: an #FlAccessibleNode. @parent: an #AtkObject. @index: the index of this node in the parent.
Sets the parent of this node. The parent can be changed at any time.
Definition at line 538 of file fl_accessible_node.cc.
References FL_ACCESSIBLE_NODE_GET_PRIVATE, and priv.
Referenced by fl_view_accessible_handle_update_semantics(), get_node(), and TEST().
| void fl_accessible_node_set_text_direction | ( | FlAccessibleNode * | node, |
| FlutterTextDirection | direction | ||
| ) |
fl_accessible_node_set_text_direction: @node: an #FlAccessibleNode. @direction: the direction of the text.
Sets the text direction of this node.
Definition at line 622 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics().
| void fl_accessible_node_set_text_selection | ( | FlAccessibleNode * | node, |
| gint | base, | ||
| gint | extent | ||
| ) |
fl_accessible_node_set_text_selection: @node: an #FlAccessibleNode. @base: the position at which the text selection originates. @extent: the position at which the text selection terminates.
Sets the text selection of this node.
Definition at line 613 of file fl_accessible_node.cc.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| void fl_accessible_node_set_value | ( | FlAccessibleNode * | node, |
| const gchar * | value | ||
| ) |
fl_accessible_node_set_value: @node: an #FlAccessibleNode. @value: a node value.
Sets the value of this node.
Definition at line 607 of file fl_accessible_node.cc.
References value.
Referenced by fl_view_accessible_handle_update_semantics(), and TEST().
| G_BEGIN_DECLS G_DECLARE_DERIVABLE_TYPE | ( | FlAccessibleNode | , |
| fl_accessible_node | , | ||
| FL | , | ||
| ACCESSIBLE_NODE | , | ||
| AtkObject | |||
| ) |