#include "flutter/shell/platform/linux/public/flutter_linux/fl_application.h"#include <gtk/gtk.h>#include "flutter/shell/platform/linux/fl_engine_private.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_plugin_registry.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_view.h"Go to the source code of this file.
| Classes | |
| struct | FlApplicationPrivate | 
| Macros | |
| #define | FL_APPLICATION_GET_PRIVATE(app) | 
| Enumerations | |
| enum | { SIGNAL_REGISTER_PLUGINS, SIGNAL_CREATE_WINDOW, LAST_SIGNAL } | 
| Functions | |
| G_DEFINE_TYPE_WITH_CODE (FlApplication, fl_application, GTK_TYPE_APPLICATION, G_ADD_PRIVATE(FlApplication)) static GtkWindow *create_window_cb(FlApplication *self | |
| g_signal_emit (self, fl_application_signals[SIGNAL_CREATE_WINDOW], 0, view, &window) | |
| static void | first_frame_cb (FlApplication *self, FlView *view) | 
| static void | fl_application_register_plugins (FlApplication *self, FlPluginRegistry *registry) | 
| static GtkWindow * | fl_application_create_window (FlApplication *self, FlView *view) | 
| static void | fl_application_activate (GApplication *application) | 
| static gboolean | fl_application_local_command_line (GApplication *application, gchar ***arguments, int *exit_status) | 
| static void | fl_application_dispose (GObject *object) | 
| static void | fl_application_class_init (FlApplicationClass *klass) | 
| static void | fl_application_init (FlApplication *self) | 
| G_MODULE_EXPORT FlApplication * | fl_application_new (const gchar *application_id, GApplicationFlags flags) | 
| Variables | |
| static guint | fl_application_signals [LAST_SIGNAL] | 
| FlView * | view | 
| return | window | 
| #define FL_APPLICATION_GET_PRIVATE | ( | app | ) | 
Definition at line 22 of file fl_application.cc.
| anonymous enum | 
| Enumerator | |
|---|---|
| SIGNAL_REGISTER_PLUGINS | |
| SIGNAL_CREATE_WINDOW | |
| LAST_SIGNAL | |
Definition at line 26 of file fl_application.cc.
| 
 | static | 
| 
 | static | 
Definition at line 94 of file fl_application.cc.
References first_frame_cb(), FL_APPLICATION_GET_PRIVATE, fl_application_signals, fl_dart_project_new(), fl_dart_project_set_dart_entrypoint_arguments(), fl_engine_get_windowing_handler(), fl_view_get_engine(), fl_view_new(), g_signal_emit(), priv, SIGNAL_CREATE_WINDOW, SIGNAL_REGISTER_PLUGINS, view, and window.
Referenced by fl_application_class_init().
| 
 | static | 
Definition at line 159 of file fl_application.cc.
References fl_application_activate(), fl_application_create_window(), fl_application_dispose(), fl_application_local_command_line(), fl_application_register_plugins(), fl_application_signals, SIGNAL_CREATE_WINDOW, and SIGNAL_REGISTER_PLUGINS.
| 
 | static | 
Definition at line 59 of file fl_application.cc.
References TRUE, view, and window.
Referenced by fl_application_class_init().
| 
 | static | 
Definition at line 150 of file fl_application.cc.
References FL_APPLICATION_GET_PRIVATE, and priv.
Referenced by fl_application_class_init().
| 
 | static | 
Definition at line 179 of file fl_application.cc.
| 
 | static | 
Definition at line 125 of file fl_application.cc.
References error, FL_APPLICATION_GET_PRIVATE, priv, and TRUE.
Referenced by fl_application_class_init().
| G_MODULE_EXPORT FlApplication* fl_application_new | ( | const gchar * | application_id, | 
| GApplicationFlags | flags | ||
| ) | 
FlApplication:
#Flutter-based application with the GTK embedder.
Provides default behaviour for basic Flutter applications. fl_application_new: @application_id: (allow-none): The application ID or NULL. @flags: The application flags.
Creates a new Flutter-based application.
Returns: a new #FlApplication
Definition at line 182 of file fl_application.cc.
References flags.
Referenced by TEST().
| 
 | static | 
| G_DEFINE_TYPE_WITH_CODE | ( | FlApplication | , | 
| fl_application | , | ||
| GTK_TYPE_APPLICATION | , | ||
| G_ADD_PRIVATE(FlApplication) | |||
| ) | 
| g_signal_emit | ( | self | , | 
| fl_application_signals | [SIGNAL_CREATE_WINDOW], | ||
| 0 | , | ||
| view | , | ||
| & | window | ||
| ) | 
| 
 | static | 
Definition at line 28 of file fl_application.cc.
Referenced by fl_application_activate(), and fl_application_class_init().
| FlView* view | 
Definition at line 36 of file fl_application.cc.
Referenced by create_regular(), first_frame_cb(), fl_application_activate(), fl_application_create_window(), fl_plugin_registrar_new(), fl_windowing_handler_create_window(), G_DECLARE_FINAL_TYPE(), G_DEFINE_TYPE_WITH_PRIVATE(), get_view(), TEST(), and window_data_new().
| return window | 
Definition at line 41 of file fl_application.cc.
Referenced by create_regular(), cursor_changed_cb(), first_frame_cb(), fl_application_activate(), fl_application_create_window(), fl_renderer_gdk_set_window(), fl_window_state_monitor_new(), fl_windowing_handler_create_window(), G_DEFINE_TYPE_WITH_PRIVATE(), handle_geometry_changed(), quit_application(), TEST(), and window_data_new().