Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
shell
platform
linux
fl_view_accessible.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_VIEW_ACCESSIBLE_H_
6
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_VIEW_ACCESSIBLE_H_
7
8
#if !defined(__FLUTTER_LINUX_INSIDE__) && !defined(FLUTTER_LINUX_COMPILATION)
9
#error "Only <flutter_linux/flutter_linux.h> can be included directly."
10
#endif
11
12
#include <gtk/gtk-a11y.h>
13
14
#include "flutter/shell/platform/embedder/embedder.h"
15
16
G_BEGIN_DECLS
17
18
G_DECLARE_FINAL_TYPE
(FlViewAccessible,
19
fl_view_accessible,
20
FL
,
21
VIEW_ACCESSIBLE,
22
GtkContainerAccessible)
23
24
/**
25
* FlViewAccessible:
26
*
27
* #FlViewAccessible is an object that exposes accessibility information for an
28
* #FlView.
29
*/
30
31
/**
32
* fl_view_accessible_handle_update_semantics:
33
* @accessible: an #FlViewAccessible.
34
* @update: semantic update information.
35
*
36
* Handle a semantics update from Flutter.
37
*/
38
void
fl_view_accessible_handle_update_semantics
(
39
FlViewAccessible* accessible,
40
const
FlutterSemanticsUpdate2
*
update
);
41
42
G_END_DECLS
43
44
#endif
// FLUTTER_SHELL_PLATFORM_LINUX_FL_VIEW_ACCESSIBLE_H_
FL
FL
Definition
fl_binary_messenger.cc:27
fl_view_accessible_handle_update_semantics
void fl_view_accessible_handle_update_semantics(FlViewAccessible *self, const FlutterSemanticsUpdate2 *update)
Definition
fl_view_accessible.cc:158
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlViewAccessible, fl_view_accessible, FL, VIEW_ACCESSIBLE, GtkContainerAccessible) void fl_view_accessible_handle_update_semantics(FlViewAccessible *accessible
update
Definition
update.py:1
FlutterSemanticsUpdate2
A batch of updates to semantics nodes and custom actions.
Definition
embedder.h:1502
Generated on Fri Apr 26 2024 06:14:32 for Flutter Engine by
1.9.8