Flutter Engine
 
Loading...
Searching...
No Matches
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
11
12G_BEGIN_DECLS
13
14G_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 */
36FlWindowStateMonitor* fl_window_state_monitor_new(FlBinaryMessenger* messenger,
37 GtkWindow* window);
38
39G_END_DECLS
40
41#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_WINDOW_STATE_MONITOR_H_
GLFWwindow * window
Definition main.cc:60
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlWindowStateMonitor, fl_window_state_monitor, FL, WINDOW_STATE_MONITOR, GObject)
FlWindowStateMonitor * fl_window_state_monitor_new(FlBinaryMessenger *messenger, GtkWindow *window)