Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 810 of file fl_view.cc.

810 {
811 g_return_val_if_fail(FL_IS_VIEW(self), nullptr);
812 return fl_keyboard_manager_get_pressed_state(self->keyboard_manager);
813}
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 805 of file fl_view.cc.

805 {
806 g_return_if_fail(FL_IS_VIEW(self));
807 gtk_widget_queue_draw(GTK_WIDGET(self->gl_area));
808}