Flutter Linux Embedder
fl_keyboard_view_delegate.cc File Reference

Go to the source code of this file.

Functions

 G_DEFINE_INTERFACE (FlKeyboardViewDelegate, fl_keyboard_view_delegate, G_TYPE_OBJECT) static void fl_keyboard_view_delegate_default_init(FlKeyboardViewDelegateInterface *iface)
 
gboolean fl_keyboard_view_delegate_text_filter_key_press (FlKeyboardViewDelegate *self, FlKeyEvent *event)
 

Function Documentation

◆ fl_keyboard_view_delegate_text_filter_key_press()

gboolean fl_keyboard_view_delegate_text_filter_key_press ( FlKeyboardViewDelegate *  delegate,
FlKeyEvent *  event 
)

fl_keyboard_view_delegate_text_filter_key_press:

Handles FlKeyboardHandler's request to check if the GTK text input IM filter would like to handle a GDK event.

The ownership of the event is kept by the keyboard handler.

Definition at line 14 of file fl_keyboard_view_delegate.cc.

16  {
17  g_return_val_if_fail(FL_IS_KEYBOARD_VIEW_DELEGATE(self), false);
18  g_return_val_if_fail(event != nullptr, false);
19 
20  return FL_KEYBOARD_VIEW_DELEGATE_GET_IFACE(self)->text_filter_key_press(
21  self, event);
22 }

Referenced by responder_handle_event_callback().

◆ G_DEFINE_INTERFACE()

G_DEFINE_INTERFACE ( FlKeyboardViewDelegate  ,
fl_keyboard_view_delegate  ,
G_TYPE_OBJECT   
)

Definition at line 7 of file fl_keyboard_view_delegate.cc.

12  {}