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 18 of file FlutterViewController.h.

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