Flutter Linux Embedder
fl_application.h File Reference
#include "fl_plugin_registry.h"
#include "fl_view.h"
#include <gmodule.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Classes

struct  _FlApplicationClass
 

Functions

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE (FlApplication, fl_application, FL, APPLICATION, GtkApplication)
 
FlApplication * fl_application_new (const gchar *application_id, GApplicationFlags flags)
 

Function Documentation

◆ fl_application_new()

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.

168  {
169  return FL_APPLICATION(g_object_new(fl_application_get_type(),
170  "application-id", application_id, "flags",
171  flags, nullptr));
172 }

References flags.

Referenced by TEST().

◆ G_DECLARE_DERIVABLE_TYPE()

G_BEGIN_DECLS G_MODULE_EXPORT G_DECLARE_DERIVABLE_TYPE ( FlApplication  ,
fl_application  ,
FL  ,
APPLICATION  ,
GtkApplication   
)
flags
FlutterSemanticsFlag flags
Definition: fl_accessible_node.cc:106