Flutter Linux Embedder
fl_mouse_cursor_handler.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_MOUSE_CURSOR_HANDLER_H_
6
#define FLUTTER_SHELL_PLATFORM_LINUX_FL_MOUSE_CURSOR_HANDLER_H_
7
8
#include <gdk/gdk.h>
9
10
#include "
flutter/shell/platform/linux/public/flutter_linux/fl_binary_messenger.h
"
11
12
G_BEGIN_DECLS
13
14
G_DECLARE_FINAL_TYPE
(FlMouseCursorHandler,
15
fl_mouse_cursor_handler,
16
FL
,
17
MOUSE_CURSOR_HANDLER,
18
GObject);
19
20
/**
21
* FlMouseCursorHandler:
22
*
23
* #FlMouseCursorHandler is a mouse_cursor channel that implements the shell
24
* side of SystemChannels.mouseCursor from the Flutter services library.
25
*/
26
27
/**
28
* fl_mouse_cursor_handler_new:
29
* @messenger: an #FlBinaryMessenger.
30
*
31
* Creates a new handler that implements SystemChannels.mouseCursor from the
32
* Flutter services library.
33
*
34
* Returns: a new #FlMouseCursorHandler.
35
*/
36
FlMouseCursorHandler*
fl_mouse_cursor_handler_new
(FlBinaryMessenger* messenger);
37
38
/**
39
* fl_mouse_cursor_handler_get_cursor_name:
40
* @handler: an #FlMouseCursorHandler.
41
*
42
* Get the name of the current mouse cursor.
43
*
44
* Returns: a mouse cursor name.
45
*/
46
const
gchar*
fl_mouse_cursor_handler_get_cursor_name
(
47
FlMouseCursorHandler* handler);
48
49
G_END_DECLS
50
51
#endif // FLUTTER_SHELL_PLATFORM_LINUX_FL_MOUSE_CURSOR_HANDLER_H_
fl_mouse_cursor_handler_new
FlMouseCursorHandler * fl_mouse_cursor_handler_new(FlBinaryMessenger *messenger)
Definition:
fl_mouse_cursor_handler.cc:134
fl_binary_messenger.h
FL
FL
Definition:
fl_binary_messenger.cc:27
fl_mouse_cursor_handler_get_cursor_name
const gchar * fl_mouse_cursor_handler_get_cursor_name(FlMouseCursorHandler *handler)
Definition:
fl_mouse_cursor_handler.cc:147
G_DECLARE_FINAL_TYPE
G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(FlMouseCursorHandler, fl_mouse_cursor_handler, FL, MOUSE_CURSOR_HANDLER, GObject)
shell
platform
linux
fl_mouse_cursor_handler.h
Generated by
1.8.17