|
Flutter Linux Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_VIEW_DELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_VIEW_DELEGATE_H_
13 #include "flutter/shell/platform/embedder/embedder.h"
22 fl_keyboard_view_delegate,
24 KEYBOARD_VIEW_DELEGATE,
40 const FlutterKeyEvent*
event,
47 FlBinaryMessenger* (*get_messenger)(FlKeyboardViewDelegate* delegate);
54 guint (*
lookup_key)(FlKeyboardViewDelegate* view_delegate,
55 const GdkKeymapKey* key);
57 GHashTable* (*get_keyboard_state)(FlKeyboardViewDelegate* delegate);
73 const FlutterKeyEvent*
event,
86 FlKeyboardViewDelegate* delegate,
98 FlKeyboardViewDelegate* delegate);
107 FlKeyboardViewDelegate* delegate,
111 FlKeyboardViewDelegate* delegate,
115 const GdkKeymapKey* key);
125 FlKeyboardViewDelegate* delegate);
129 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_KEYBOARD_VIEW_DELEGATE_H_
gboolean(* text_filter_key_press)(FlKeyboardViewDelegate *delegate, FlKeyEvent *event)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback gpointer user_data
G_BEGIN_DECLS G_DECLARE_INTERFACE(FlKeyboardViewDelegate, fl_keyboard_view_delegate, FL, KEYBOARD_VIEW_DELEGATE, GObject)
guint(* lookup_key)(FlKeyboardViewDelegate *view_delegate, const GdkKeymapKey *key)
void fl_keyboard_view_delegate_subscribe_to_layout_change(FlKeyboardViewDelegate *delegate, KeyboardLayoutNotifier notifier)
void fl_keyboard_view_delegate_send_key_event(FlKeyboardViewDelegate *delegate, const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *user_data)
std::function< void()> KeyboardLayoutNotifier
guint fl_keyboard_view_delegate_lookup_key(FlKeyboardViewDelegate *delegate, const GdkKeymapKey *key)
void(* subscribe_to_layout_change)(FlKeyboardViewDelegate *delegate, KeyboardLayoutNotifier notifier)
GHashTable * fl_keyboard_view_delegate_get_keyboard_state(FlKeyboardViewDelegate *delegate)
gboolean fl_keyboard_view_delegate_text_filter_key_press(FlKeyboardViewDelegate *delegate, FlKeyEvent *event)
void fl_keyboard_view_delegate_redispatch_event(FlKeyboardViewDelegate *delegate, FlKeyEvent *event)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
void(* send_key_event)(FlKeyboardViewDelegate *delegate, const FlutterKeyEvent *event, FlutterKeyEventCallback callback, void *user_data)
FlBinaryMessenger * fl_keyboard_view_delegate_get_messenger(FlKeyboardViewDelegate *delegate)
void(* redispatch_event)(FlKeyboardViewDelegate *delegate, FlKeyEvent *event)