Go to the source code of this file.
Functions | |
| G_BEGIN_DECLS | G_DECLARE_FINAL_TYPE (FlViewMonitor, fl_view_monitor, FL, VIEW_MONITOR, GObject) |
| FlViewMonitor * | fl_view_monitor_new (FlView *view, void(*on_first_frame)(void)) |
| 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.
| G_BEGIN_DECLS G_DECLARE_FINAL_TYPE | ( | FlViewMonitor | , |
| fl_view_monitor | , | ||
| FL | , | ||
| VIEW_MONITOR | , | ||
| GObject | |||
| ) |