#include "flutter/shell/platform/linux/public/flutter_linux/fl_application.h"
#include <gtk/gtk.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 | { kSignalRegisterPlugins, kSignalCreateWindow, kSignalLastSignal } |
Functions | |
G_DEFINE_TYPE_WITH_CODE (FlApplication, fl_application, GTK_TYPE_APPLICATION, G_ADD_PRIVATE(FlApplication)) static void first_frame_cb(FlApplication *self | |
if (window !=nullptr &>K_IS_WINDOW(window)) | |
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 [kSignalLastSignal] |
FlView * | view |
#define FL_APPLICATION_GET_PRIVATE | ( | app | ) |
Definition at line 21 of file fl_application.cc.
anonymous enum |
Enumerator | |
---|---|
kSignalRegisterPlugins | |
kSignalCreateWindow | |
kSignalLastSignal |
Definition at line 25 of file fl_application.cc.
|
static |
Definition at line 84 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_view_new(), kSignalCreateWindow, kSignalRegisterPlugins, priv, and view.
Referenced by fl_application_class_init().
|
static |
Definition at line 144 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, kSignalCreateWindow, and kSignalRegisterPlugins.
|
static |
|
static |
Definition at line 135 of file fl_application.cc.
References FL_APPLICATION_GET_PRIVATE, and priv.
Referenced by fl_application_class_init().
|
static |
Definition at line 164 of file fl_application.cc.
|
static |
Definition at line 110 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 167 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) | |||
) |
if | ( | window ! | = nullptr && GTK_IS_WINDOW(window) | ) |
Definition at line 39 of file fl_application.cc.
|
static |
Definition at line 27 of file fl_application.cc.
Referenced by fl_application_activate(), and fl_application_class_init().
FlView* view |
Definition at line 35 of file fl_application.cc.
Referenced by fl_application_activate(), fl_application_create_window(), fl_mouse_cursor_handler_new(), fl_plugin_registrar_new(), fl_renderer_add_view(), fl_renderer_present_layers(), G_DECLARE_FINAL_TYPE(), and TEST().