#include <gtk/gtk.h>
#include "flutter/shell/platform/linux/fl_key_event.h"
#include "flutter/shell/platform/linux/fl_text_input_view_delegate.h"
#include "flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h"
Go to the source code of this file.
Classes | |
struct | _FlTextInputPluginClass |
Functions | |
G_BEGIN_DECLS | G_DECLARE_DERIVABLE_TYPE (FlTextInputPlugin, fl_text_input_plugin, FL, TEXT_INPUT_PLUGIN, GObject) |
FlTextInputPlugin * | fl_text_input_plugin_new (FlBinaryMessenger *messenger, GtkIMContext *im_context, FlTextInputViewDelegate *view_delegate) |
gboolean | fl_text_input_plugin_filter_keypress (FlTextInputPlugin *plugin, FlKeyEvent *event) |
gboolean fl_text_input_plugin_filter_keypress | ( | FlTextInputPlugin * | plugin, |
FlKeyEvent * | event | ||
) |
fl_text_input_plugin_filter_keypress @plugin: an #FlTextInputPlugin. @event: a FlKeyEvent
Process a Gdk key event.
Returns: TRUE if the event was used.
Definition at line 776 of file fl_text_input_plugin.cc.
References event.
Referenced by fl_view_keyboard_delegate_iface_init(), and send_key_event().
FlTextInputPlugin* fl_text_input_plugin_new | ( | FlBinaryMessenger * | messenger, |
GtkIMContext * | im_context, | ||
FlTextInputViewDelegate * | view_delegate | ||
) |
fl_text_input_plugin_new: @messenger: an #FlBinaryMessenger. @im_context: (allow-none): a #GtkIMContext. @view_delegate: an #FlTextInputViewDelegate.
Creates a new plugin that implements SystemChannels.textInput from the Flutter services library.
Returns: a new #FlTextInputPlugin.
Definition at line 745 of file fl_text_input_plugin.cc.
References fl_json_method_codec_new(), fl_method_channel_new(), fl_method_channel_set_method_call_handler(), init_im_context(), kChannelName, method_call_cb(), and priv.
Referenced by init_keyboard(), and TEST().
G_BEGIN_DECLS G_DECLARE_DERIVABLE_TYPE | ( | FlTextInputPlugin | , |
fl_text_input_plugin | , | ||
FL | , | ||
TEXT_INPUT_PLUGIN | , | ||
GObject | |||
) |