| Flutter Linux Embedder |

fl_window_state_monitor.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_LINUX_FL_WINDOW_STATE_MONITOR_H_
6 #define FLUTTER_SHELL_PLATFORM_LINUX_FL_WINDOW_STATE_MONITOR_H_
7
8 #include <gtk/gtk.h>
9
10 #include "flutter/shell/platform/linux/public/flutter_linux/fl_engine.h"
11
12 G_BEGIN_DECLS
13
14 G_DECLARE_FINAL_TYPE(FlWindowStateMonitor,
15 fl_window_state_monitor,
16 FL,
17 WINDOW_STATE_MONITOR,
18 GObject);
19
20 /**
21 * FlWindowStateMonitor:
22 *
23 * Monitors a GtkWindow and reports state change events to the Flutter engine.
24 */
25
26 /**
27 * fl_window_state_monitor_new:
28 * @messenger: an #FlBinaryMessenger.
29 * @window: a #GtkWindow.
30 *
31 * Creates a new window state manager to monitor @window and report events to
32 * @messenger.
33 *
34 * Returns: a new #FlWindowStateMonitor.
35 */
36 FlWindowStateMonitor* fl_window_state_monitor_new(FlBinaryMessenger* messenger,
37 GtkWindow* window);
38
39 G_END_DECLS
40
41 #endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_WINDOW_STATE_MONITOR_H_
window
return window
Definition: fl_application.cc:41
FL
FL
Definition: fl_binary_messenger.cc:27
fl_engine.h
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlWindowStateMonitor, fl_window_state_monitor, FL, WINDOW_STATE_MONITOR, GObject)
fl_window_state_monitor_new
FlWindowStateMonitor * fl_window_state_monitor_new(FlBinaryMessenger *messenger, GtkWindow *window)
Definition: fl_window_state_monitor.cc:104