Flutter Linux Embedder
fl_text_input_view_delegate.cc File Reference

Go to the source code of this file.

Functions

 G_DEFINE_INTERFACE (FlTextInputViewDelegate, fl_text_input_view_delegate, G_TYPE_OBJECT) static void fl_text_input_view_delegate_default_init(FlTextInputViewDelegateInterface *iface)
 
void fl_text_input_view_delegate_translate_coordinates (FlTextInputViewDelegate *self, gint view_x, gint view_y, gint *window_x, gint *window_y)
 

Function Documentation

◆ fl_text_input_view_delegate_translate_coordinates()

void fl_text_input_view_delegate_translate_coordinates ( FlTextInputViewDelegate *  self,
gint  view_x,
gint  view_y,
gint *  window_x,
gint *  window_y 
)

Definition at line 14 of file fl_text_input_view_delegate.cc.

19  {
20  g_return_if_fail(FL_IS_TEXT_INPUT_VIEW_DELEGATE(self));
21 
22  FL_TEXT_INPUT_VIEW_DELEGATE_GET_IFACE(self)->translate_coordinates(
23  self, view_x, view_y, window_x, window_y);
24 }

Referenced by TEST(), and update_im_cursor_position().

◆ G_DEFINE_INTERFACE()

G_DEFINE_INTERFACE ( FlTextInputViewDelegate  ,
fl_text_input_view_delegate  ,
G_TYPE_OBJECT   
)

Definition at line 7 of file fl_text_input_view_delegate.cc.

12  {}