Documentation
¶
Overview ¶
Package messaging wraps the messaging menu indicator, allowing for persistent notifications to the user.
Index ¶
- type MessagingMenu
- func (mmu *MessagingMenu) Clear(app *click.AppId, tags ...string) int
- func (mmu *MessagingMenu) GetCh() chan *reply.MMActionReply
- func (mmu *MessagingMenu) Present(app *click.AppId, nid string, notification *launch_helper.Notification) bool
- func (mmu *MessagingMenu) RemoveNotification(notificationId string, fromUI bool)
- func (mmu *MessagingMenu) Tags(app *click.AppId) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagingMenu ¶
type MessagingMenu struct { Log logger.Logger Ch chan *reply.MMActionReply // contains filtered or unexported fields }
func (*MessagingMenu) GetCh ¶
func (mmu *MessagingMenu) GetCh() chan *reply.MMActionReply
GetCh returns the reply channel, exactly like mm.Ch.
func (*MessagingMenu) Present ¶
func (mmu *MessagingMenu) Present(app *click.AppId, nid string, notification *launch_helper.Notification) bool
func (*MessagingMenu) RemoveNotification ¶
func (mmu *MessagingMenu) RemoveNotification(notificationId string, fromUI bool)
Directories
¶
Path | Synopsis |
---|---|
package cmessaging wraps libmessaging-menu
|
package cmessaging wraps libmessaging-menu |
reply is where we keep MMActionReply, so we can use it from messaging and cmessaging without going circular about it
|
reply is where we keep MMActionReply, so we can use it from messaging and cmessaging without going circular about it |
Click to show internal directories.
Click to hide internal directories.