#include "flutter/shell/platform/linux/fl_key_event.h"
Go to the source code of this file.
Functions | |
FlKeyEvent * | fl_key_event_new_from_gdk_event (GdkEvent *event) |
void | fl_key_event_dispose (FlKeyEvent *event) |
FlKeyEvent * | fl_key_event_clone (const FlKeyEvent *event) |
FlKeyEvent* fl_key_event_clone | ( | const FlKeyEvent * | event | ) |
void fl_key_event_dispose | ( | FlKeyEvent * | event | ) |
fl_key_event_dispose: @event: the event to dispose.
Properly disposes the content of event and then the pointer.
Definition at line 32 of file fl_key_event.cc.
References event, and _FlKeyEvent::origin.
Referenced by fl_keyboard_pending_event_dispose(), fl_view_keyboard_delegate_iface_init(), and send_key_event().
FlKeyEvent* fl_key_event_new_from_gdk_event | ( | GdkEvent * | event | ) |
fl_key_event_new_from_gdk_event: @event: the #GdkEvent this FlKeyEvent is based on. The event must be a #GdkEventKey, and will be destroyed by fl_key_event_dispose.
Create a new FlKeyEvent based on a #GdkEvent.
Returns: a new FlKeyEvent. Must be freed with fl_key_event_dispose.
Definition at line 7 of file fl_key_event.cc.
References event, result, state, and type.
Referenced by fl_view_key_press_event(), fl_view_key_release_event(), and send_key_event().