Flutter Engine
The Flutter Engine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
fl_view_private.h File Reference
#include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"

Go to the source code of this file.

Functions

void fl_view_redraw (FlView *view)
 
GHashTable * fl_view_get_keyboard_state (FlView *view)
 

Function Documentation

◆ fl_view_get_keyboard_state()

GHashTable * fl_view_get_keyboard_state ( FlView *  view)

fl_view_get_keyboard_state: @view: an #FlView.

Returns the keyboard pressed state. The hash table contains one entry per pressed keys, mapping from the logical key to the physical key.*

Definition at line 845 of file fl_view.cc.

845 {
846 g_return_val_if_fail(FL_IS_VIEW(self), nullptr);
847 return fl_keyboard_manager_get_pressed_state(self->keyboard_manager);
848}
GHashTable * fl_keyboard_manager_get_pressed_state(FlKeyboardManager *self)

◆ fl_view_redraw()

void fl_view_redraw ( FlView *  view)

fl_view_redraw: @view: an #FlView.

Indicate the view needs to redraw.

Definition at line 840 of file fl_view.cc.

840 {
841 g_return_if_fail(FL_IS_VIEW(self));
842 gtk_widget_queue_draw(GTK_WIDGET(self->gl_area));
843}