8 fl_keyboard_view_delegate,
11 static void fl_keyboard_view_delegate_default_init(
12 FlKeyboardViewDelegateInterface* iface) {}
15 const FlutterKeyEvent*
event,
18 g_return_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self));
19 g_return_if_fail(
event !=
nullptr);
21 FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->send_key_event(
26 FlKeyboardViewDelegate*
self,
28 g_return_val_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self),
false);
29 g_return_val_if_fail(
event !=
nullptr,
false);
31 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->text_filter_key_press(
36 FlKeyboardViewDelegate*
self) {
37 g_return_val_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self),
nullptr);
39 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->get_messenger(
self);
44 g_return_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self));
45 g_return_if_fail(
event !=
nullptr);
47 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->redispatch_event(
self,
52 FlKeyboardViewDelegate*
self,
54 g_return_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self));
56 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->subscribe_to_layout_change(
57 self, std::move(notifier));
61 const GdkKeymapKey* key) {
62 g_return_val_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self), 0);
64 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->lookup_key(
self, key);
68 FlKeyboardViewDelegate*
self) {
69 g_return_val_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(
self),
nullptr);
71 return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(
self)->get_keyboard_state(
self);