Molybden API
Loading...
Searching...
No Matches
molybden::TrayEvents Class Reference

A class that contains all tray events. More...

#include <tray_events.hpp>

Inheritance diagram for molybden::TrayEvents:
molybden::Tray

Public Attributes

Event< TrayClickedonClicked
 Invoked when the tray has been clicked using the left mouse button.
 

Detailed Description

A class that contains all tray events.

Member Data Documentation

◆ onClicked

Event<TrayClicked> molybden::TrayEvents::onClicked

Invoked when the tray has been clicked using the left mouse button.

On macOS this event is not invoked if the tray has menu.

Use the following approach to subscribe to receiving the event:

tray->onClicked += [](const TrayClicked& event) {};
The TrayEvents::onClicked event arguments.
Definition tray_events.hpp:17

The documentation for this class was generated from the following file: