| Flutter Linux Embedder |

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 905 of file fl_view.cc.

905 {
906 g_return_val_if_fail(FL_IS_VIEW(self), nullptr);
907 return fl_keyboard_handler_get_pressed_state(self->keyboard_handler);
908 }

References fl_keyboard_handler_get_pressed_state().

Referenced by fl_view_keyboard_delegate_iface_init().

## ◆ fl_view_redraw()

void fl_view_redraw | ( | FlView * | view | ) |

fl_view_redraw: @view: an #FlView.

Indicate the view needs to redraw.

Definition at line 892 of file fl_view.cc.

892 {
893 g_return_if_fail(FL_IS_VIEW(self));
894
895 gtk_widget_queue_draw(GTK_WIDGET(self->gl_area));
896
897 if (!self->have_first_frame) {
898 self->have_first_frame = TRUE;
899 // This is not the main thread, so the signal needs to be done via an idle
900 // callback.
901 g_idle_add(first_frame_idle_cb, self);
902 }
903 }

References TRUE.

Referenced by fl_renderer_present_layers(), and TEST().

fl_keyboard_handler_get_pressed_state
GHashTable * fl_keyboard_handler_get_pressed_state(FlKeyboardHandler *self)
Definition: fl_keyboard_handler.cc:590
TRUE
return TRUE
Definition: fl_pixel_buffer_texture_test.cc:53