Flutter Linux Embedder
fl_text_input_view_delegate.h File Reference
#include <gdk/gdk.h>
#include "flutter/shell/platform/embedder/embedder.h"

Go to the source code of this file.

Classes

struct  _FlTextInputViewDelegateInterface
 

Functions

G_BEGIN_DECLS G_DECLARE_INTERFACE (FlTextInputViewDelegate, fl_text_input_view_delegate, FL, TEXT_INPUT_VIEW_DELEGATE, GObject)
 
void fl_text_input_view_delegate_translate_coordinates (FlTextInputViewDelegate *delegate, 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 *  delegate,
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_DECLARE_INTERFACE()

G_BEGIN_DECLS G_DECLARE_INTERFACE ( FlTextInputViewDelegate  ,
fl_text_input_view_delegate  ,
FL  ,
TEXT_INPUT_VIEW_DELEGATE  ,
GObject   
)