Flutter Engine
The Flutter Engine
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
10#include "flutter/shell/platform/linux/fl_accessible_node.h"
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 * @id: the semantics node ID this object represents.
24 *
25 * Creates a new accessibility object that exposes an editable Flutter text
26 * field to ATK.
27 *
28 * Returns: a new #FlAccessibleNode.
29 */
30FlAccessibleNode* fl_accessible_text_field_new(FlEngine* engine, int32_t id);
31
32G_END_DECLS
33
34#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_ACCESSIBLE_TEXT_FIELD_H_
FlutterEngine engine
Definition: main.cc:68
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlAccessibleTextField, fl_accessible_text_field, FL, ACCESSIBLE_TEXT_FIELD, FlAccessibleNode)
FlAccessibleNode * fl_accessible_text_field_new(FlEngine *engine, int32_t id)