#include <gtk/gtk.h>#include "flutter/shell/platform/common/isolate_scope.h"#include "flutter/shell/platform/linux/fl_view_monitor.h"Go to the source code of this file.
Classes | |
| struct | _FlViewMonitor |
Functions | |
| static void | first_frame_cb (FlViewMonitor *self) |
| static void | fl_view_monitor_dispose (GObject *object) |
| static void | fl_view_monitor_class_init (FlViewMonitorClass *klass) |
| static void | fl_view_monitor_init (FlViewMonitor *self) |
| G_MODULE_EXPORT FlViewMonitor * | fl_view_monitor_new (FlView *view, void(*on_first_frame)(void)) |
|
static |
Definition at line 25 of file fl_view_monitor.cc.
Referenced by fl_application_activate(), and fl_view_monitor_new().
|
static |
Definition at line 43 of file fl_view_monitor.cc.
References fl_view_monitor_dispose().
|
static |
|
static |
Definition at line 47 of file fl_view_monitor.cc.
| G_MODULE_EXPORT FlViewMonitor* fl_view_monitor_new | ( | FlView * | view, |
| void(*)(void) | on_first_frame | ||
| ) |
fl_view_monitor_new: @view: the view being monitored. @on_first_frame: the function to call when the first frame is rendered.
Helper class to allow the Flutter engine to monitor a FlView using FFI. Callbacks are called in the isolate this class was created with.
Returns: a new #FlViewMonitor.
Definition at line 49 of file fl_view_monitor.cc.
References flutter::Isolate::Current(), first_frame_cb(), and view.