desktop_cursor

package module
v0.0.0-...-83e24d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: MIT Imports: 4 Imported by: 0

README

desktop_cursor

This Go package implements the host-side of the Flutter desktop_cursor plugin.

Usage

Import as:

import desktop_cursor "github.com/luukdegram/desktop_cursor/go"

Then add the following option to your go-flutter application options:

flutter.AddPlugin(&desktop_cursor.DesktopCursorPlugin{}),

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesktopCursorPlugin

type DesktopCursorPlugin struct {
	// contains filtered or unexported fields
}

DesktopCursorPlugin implements flutter.Plugin and handles method.

func (*DesktopCursorPlugin) InitPlugin

func (p *DesktopCursorPlugin) InitPlugin(messenger plugin.BinaryMessenger) error

InitPlugin initializes the plugin.

func (*DesktopCursorPlugin) InitPluginGLFW

func (p *DesktopCursorPlugin) InitPluginGLFW(window *glfw.Window) error

InitPluginGLFW saves the GLFW window to the plugin which can then be used to set the cursor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL