#include <gtk/gtk.h>#include "flutter/shell/platform/common/isolate_scope.h"#include "flutter/shell/platform/linux/fl_window_monitor.h"Go to the source code of this file.
Classes | |
| struct | _FlWindowMonitor |
Functions | |
| static gboolean | configure_event_cb (FlWindowMonitor *self, GdkEventConfigure *event) |
| static gboolean | window_state_event_cb (FlWindowMonitor *self, GdkEventWindowState *event) |
| static void | is_active_notify_cb (FlWindowMonitor *self) |
| static void | title_notify_cb (FlWindowMonitor *self) |
| static gboolean | delete_event_cb (FlWindowMonitor *self, GdkEvent *event) |
| static void | destroy_cb (FlWindowMonitor *self) |
| static void | fl_window_monitor_dispose (GObject *object) |
| static void | fl_window_monitor_class_init (FlWindowMonitorClass *klass) |
| static void | fl_window_monitor_init (FlWindowMonitor *self) |
| G_MODULE_EXPORT FlWindowMonitor * | fl_window_monitor_new (GtkWindow *window, void(*on_configure)(void), void(*on_state_changed)(void), void(*on_is_active_notify)(void), void(*on_title_notify)(void), void(*on_close)(void), void(*on_destroy)(void)) |
|
static |
Definition at line 30 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_new().
|
static |
Definition at line 56 of file fl_window_monitor.cc.
Referenced by fl_window_monitor_new().
|
static |
Definition at line 64 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_new().
|
static |
Definition at line 80 of file fl_window_monitor.cc.
References fl_window_monitor_dispose().
|
static |
Definition at line 69 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_class_init().
|
static |
Definition at line 84 of file fl_window_monitor.cc.
| G_MODULE_EXPORT FlWindowMonitor * fl_window_monitor_new | ( | GtkWindow * | window, |
| void(*)(void) | on_configure, | ||
| void(*)(void) | on_state_changed, | ||
| void(*)(void) | on_is_active_notify, | ||
| void(*)(void) | on_title_notify, | ||
| void(*)(void) | on_close, | ||
| void(*)(void) | on_destroy | ||
| ) |
fl_window_monitor_new: @window: the window being monitored. @on_configure: the function to call when the window changes size, position or stacking. @on_state_changed: the function to call when the window state changes. @on_is_active_notify: the function to call when the is-active property changes. @on_close: the function to call when the user requests the window to be closed. @on_destroy: the function to call when the window is destroyed.
Helper class to allow the Flutter engine to monitor a GtkWindow using FFI. Callbacks are called in the isolate this class was created with.
Returns: a new #FlWindowMonitor.
Definition at line 86 of file fl_window_monitor.cc.
References configure_event_cb(), flutter::Isolate::Current(), delete_event_cb(), destroy_cb(), is_active_notify_cb(), self, title_notify_cb(), window, and window_state_event_cb().
|
static |
Definition at line 46 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_new().
|
static |
Definition at line 51 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_new().
|
static |
Definition at line 38 of file fl_window_monitor.cc.
References self.
Referenced by fl_window_monitor_new().