Flutter Engine
The Flutter Engine
fl_key_responder.cc
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#include "flutter/shell/platform/linux/fl_key_responder.h"
6
7G_DEFINE_INTERFACE(FlKeyResponder, fl_key_responder, G_TYPE_OBJECT)
8
9static void fl_key_responder_default_init(FlKeyResponderInterface* iface) {}
10
14 gpointer user_data,
15 uint64_t specified_logical_key) {
16 g_return_if_fail(FL_IS_KEY_RESPONDER(self));
17 g_return_if_fail(event != nullptr);
18 g_return_if_fail(callback != nullptr);
19
20 FL_KEY_RESPONDER_GET_IFACE(self)->handle_event(
22}
FlKeyEvent uint64_t specified_logical_key
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
FlKeyEvent * event
static void fl_key_responder_default_init(FlKeyResponderInterface *iface)
void fl_key_responder_handle_event(FlKeyResponder *self, FlKeyEvent *event, FlKeyResponderAsyncCallback callback, gpointer user_data, uint64_t specified_logical_key)
void(* FlKeyResponderAsyncCallback)(bool handled, gpointer user_data)
G_DEFINE_INTERFACE(FlKeyboardViewDelegate, fl_keyboard_view_delegate, G_TYPE_OBJECT) static void fl_keyboard_view_delegate_default_init(FlKeyboardViewDelegateInterface *iface)
void * user_data