cmessaging

package
v0.0.0-...-2fed64a Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: GPL-3.0, GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

package cmessaging wraps libmessaging-menu

Copyright 2014 Canonical Ltd.

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License version 3, as published
by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranties of
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNotification

func AddNotification(desktopId string, notificationId string, card *launch_helper.Card, payload *Payload)

func NotificationExists

func NotificationExists(desktopId string, notificationId string) bool

func RemoveNotification

func RemoveNotification(desktopId string, notificationId string)

Types

type Payload

type Payload struct {
	Ch      chan *reply.MMActionReply
	Actions []string
	App     *click.AppId
	Tag     string
}

Jump to

Keyboard shortcuts

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