systray

package module
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 8 Imported by: 0

README

flutter_systray

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

Usage

Import as:

import flutter_systray "github.com/JanezStupar/flutter_systray/go"

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

flutter.AddPlugin(&flutter_systray.FlutterSystrayPlugin{}),

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionType = &actionType{
	Quit:         "0",
	Focus:        "1",
	SystrayEvent: "2",
}

Functions

This section is empty.

Types

type ActionEnumType

type ActionEnumType string

type MainEntry

type MainEntry struct {
	Title    string
	IconPath string
}

type SystrayAction

type SystrayAction struct {
	Name       string
	Label      string
	ActionType ActionEnumType
}

type SystrayPlugin

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

SystrayPlugin implements flutter.Plugin and handles method.

func (*SystrayPlugin) InitPlugin

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

InitPlugin initializes the plugin.

func (*SystrayPlugin) InitPluginGLFW

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

InitPluginGLFW initializes the GLFW

Jump to

Keyboard shortcuts

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