Flutter Linux Embedder
fl_view_private.h File Reference

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

852  {
853  g_return_val_if_fail(FL_IS_VIEW(self), nullptr);
854  return fl_keyboard_manager_get_pressed_state(self->keyboard_manager);
855 }

References fl_keyboard_manager_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 847 of file fl_view.cc.

847  {
848  g_return_if_fail(FL_IS_VIEW(self));
849  gtk_widget_queue_draw(GTK_WIDGET(self->gl_area));
850 }

Referenced by fl_renderer_present_layers().

fl_keyboard_manager_get_pressed_state
GHashTable * fl_keyboard_manager_get_pressed_state(FlKeyboardManager *self)
Definition: fl_keyboard_manager.cc:688