Molybden API
Loading...
Searching...
No Matches
tray_events.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_TRAY_EVENTS_HPP
6#define MOLYBDEN_TRAY_EVENTS_HPP
7
8#include "molybden/base/event.hpp"
9
10namespace molybden {
11
12class Tray;
13
21 std::shared_ptr<Tray> tray;
22};
23
28 public:
29 virtual ~TrayEvents() = default;
30
43};
44
45} // namespace molybden
46
47#endif // MOLYBDEN_TRAY_EVENTS_HPP
Events allow you to be notified when something happens in Molybden.
Definition event.hpp:25
A class that contains all tray events.
Definition tray_events.hpp:27
Event< TrayClicked > onClicked
Invoked when the tray has been clicked using the left mouse button.
Definition tray_events.hpp:42
The TrayEvents::onClicked event arguments.
Definition tray_events.hpp:17
std::shared_ptr< Tray > tray
The tray instance initiated this event.
Definition tray_events.hpp:21