Flutter macOS Embedder
FlutterViewController.h File Reference
#import <Cocoa/Cocoa.h>
#import "FlutterEngine.h"
#import "FlutterMacros.h"
#import "FlutterPlatformViews.h"
#import "FlutterPluginRegistrarMacOS.h"

Go to the source code of this file.

Classes

class  FlutterViewController
 

Functions

typedef NS_ENUM (NSInteger, FlutterMouseTrackingMode)
 

Function Documentation

◆ NS_ENUM()

typedef NS_ENUM ( NSInteger  ,
FlutterMouseTrackingMode   
)

Values for the mouseTrackingMode property.

Definition at line 15 of file FlutterViewController.h.

15  {
16  // Hover events will never be sent to Flutter.
17  kFlutterMouseTrackingModeNone = 0,
18  // NOLINTNEXTLINE(readability-identifier-naming)
19  FlutterMouseTrackingModeNone __attribute__((deprecated)) = kFlutterMouseTrackingModeNone,
20 
21  // Hover events will be sent to Flutter when the view is in the key window.
22  kFlutterMouseTrackingModeInKeyWindow = 1,
23  // NOLINTNEXTLINE(readability-identifier-naming)
24  FlutterMouseTrackingModeInKeyWindow
25  __attribute__((deprecated)) = kFlutterMouseTrackingModeInKeyWindow,
26 
27  // Hover events will be sent to Flutter when the view is in the active app.
28  kFlutterMouseTrackingModeInActiveApp = 2,
29  // NOLINTNEXTLINE(readability-identifier-naming)
30  FlutterMouseTrackingModeInActiveApp
31  __attribute__((deprecated)) = kFlutterMouseTrackingModeInActiveApp,
32 
33  // Hover events will be sent to Flutter regardless of window and app focus.
34  kFlutterMouseTrackingModeAlways = 3,
35  // NOLINTNEXTLINE(readability-identifier-naming)
36  FlutterMouseTrackingModeAlways __attribute__((deprecated)) = kFlutterMouseTrackingModeAlways,
37 };