5#ifndef MOLYBDEN_TRAY_EVENTS_HPP
6#define MOLYBDEN_TRAY_EVENTS_HPP
8#include "molybden/base/event.hpp"
9#include "molybden/ui/keyboard.hpp"
10#include "molybden/ui/mouse.hpp"
23 std::shared_ptr<Tray>
tray;
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:39
Event< TrayClicked > onClicked
Invoked when the tray has been clicked using the left mouse button.
Definition tray_events.hpp:54
The key modifiers.
Definition keyboard.hpp:13
The TrayEvents::onClicked event arguments.
Definition tray_events.hpp:19
std::shared_ptr< Tray > tray
The tray instance initiated this event.
Definition tray_events.hpp:23
MouseButton mouse_button
The mouse button that was used to click the tray.
Definition tray_events.hpp:28
KeyModifiers key_modifiers
The key modifiers that were pressed when the tray was clicked.
Definition tray_events.hpp:33