Flutter Engine
 
Loading...
Searching...
No Matches
fl_keyboard_handler.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_KEYBOARD_HANDLER_H_
6#define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_HANDLER_H_
7
8#include <gdk/gdk.h>
9
12
13G_BEGIN_DECLS
14
15G_DECLARE_FINAL_TYPE(FlKeyboardHandler,
16 fl_keyboard_handler,
17 FL,
18 KEYBOARD_HANDLER,
19 GObject);
20
21/**
22 * FlKeyboardHandler:
23 *
24 * Provides the channel to receive keyboard requests from the Dart code.
25 */
26
27/**
28 * fl_keyboard_handler_new:
29 * @messenger: a #FlBinaryMessenger.
30 * @keyboard_manager: a #FlKeyboardManager.
31 *
32 * Create a new #FlKeyboardHandler.
33 *
34 * Returns: a new #FlKeyboardHandler.
35 */
36FlKeyboardHandler* fl_keyboard_handler_new(FlBinaryMessenger* messenger,
37 FlKeyboardManager* keyboard_manager);
38
39G_END_DECLS
40
41#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_HANDLER_H_
FlKeyboardHandler * fl_keyboard_handler_new(FlBinaryMessenger *messenger, FlKeyboardManager *keyboard_manager)
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlKeyboardHandler, fl_keyboard_handler, FL, KEYBOARD_HANDLER, GObject)