Flutter Engine
 
Loading...
Searching...
No Matches
fl_accessible_text_field.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBLE_TEXT_FIELD_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBLE_TEXT_FIELD_H_
7
8#include <gtk/gtk.h>
9
11
12G_BEGIN_DECLS
13
14G_DECLARE_FINAL_TYPE(FlAccessibleTextField,
15 fl_accessible_text_field,
16 FL,
17 ACCESSIBLE_TEXT_FIELD,
18 FlAccessibleNode);
19
20/**
21 * fl_accessible_text_field_new:
22 * @engine: the #FlEngine this node came from.
23 * @view_id: the ID of the view that contains this semantics node.
24 * @id: the semantics node ID this object represents.
25 *
26 * Creates a new accessibility object that exposes an editable Flutter text
27 * field to ATK.
28 *
29 * Returns: a new #FlAccessibleNode.
30 */
31FlAccessibleNode* fl_accessible_text_field_new(FlEngine* engine,
33 int32_t id);
34
35G_END_DECLS
36
37#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBLE_TEXT_FIELD_H_
int64_t FlutterViewId
Definition embedder.h:386
FlutterEngine engine
Definition main.cc:84
FlAccessibleNode * fl_accessible_text_field_new(FlEngine *engine, FlutterViewId view_id, int32_t id)
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlAccessibleTextField, fl_accessible_text_field, FL, ACCESSIBLE_TEXT_FIELD, FlAccessibleNode)
G_BEGIN_DECLS FlutterViewId view_id