buttons

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowMultipleHandler

func AllowMultipleHandler(allowMultipleBtn *systray.MenuItem, dc *appdata.DataController)

AllowMultipleHandler takes the "Allow Multiple" button and handles it's click event.

func ConfigButtonsReceiverLoop

func ConfigButtonsReceiverLoop(fileNameChan chan string, menuItemChan chan *systray.MenuItem, dc *appdata.DataController, allButtons []*systray.MenuItem)

ConfigButtonsReceiverLoop starts an infinite loop that receives from the 2 channels and handles the event of that config being pressed.

func QuitButtonHandler

func QuitButtonHandler(quitBtn *systray.MenuItem)

QuitButtonHandler handles the quit button being clicked.

func UncheckAllHandler added in v0.4.1

func UncheckAllHandler(uncheckAllBtn *systray.MenuItem, dc *appdata.DataController, allButtons []*systray.MenuItem)

UncheckAllHandler takes the "Uncheck All" button and handles it's click event.

Types

This section is empty.

Jump to

Keyboard shortcuts

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