Semi-safe reference for Tray.
|
| TrayRef (TrayParam resource) |
| Constructs from TrayParam. More...
|
|
| TrayRef (const TrayRef &other) |
| Copy constructor.
|
|
| ~TrayRef () |
| Destructor.
|
|
constexpr | Tray ()=default |
| Default ctor.
|
|
constexpr | Tray (const TrayRaw resource) |
| Constructs from TrayParam. More...
|
|
constexpr | Tray (const Tray &other)=delete |
| Copy constructor.
|
|
constexpr | Tray (Tray &&other) |
| Move constructor.
|
|
constexpr | Tray (const TrayRef &other)=delete |
|
constexpr | Tray (TrayRef &&other)=delete |
|
| Tray (SurfaceParam icon, StringParam tooltip) |
| Create an icon to be placed in the operating system's tray, or equivalent. More...
|
|
| ~Tray () |
| Destructor.
|
|
Tray & | operator= (Tray other) |
| Assignment operator.
|
|
constexpr TrayRaw | get () const |
| Retrieves underlying TrayRaw.
|
|
constexpr TrayRaw | release () |
| Retrieves underlying TrayRaw and clear this.
|
|
constexpr auto | operator<=> (const Tray &other) const =default |
| Comparison.
|
|
constexpr bool | operator== (std::nullptr_t _) const |
| Comparison.
|
|
constexpr | operator bool () const |
| Converts to bool.
|
|
constexpr | operator TrayParam () const |
| Converts to TrayParam.
|
|
void | Destroy () |
| Destroys a tray object. More...
|
|
void | SetIcon (SurfaceParam icon) |
| Updates the system tray icon's icon. More...
|
|
void | SetTooltip (StringParam tooltip) |
| Updates the system tray icon's tooltip. More...
|
|
TrayMenu | CreateMenu () |
| Create a menu for a system tray. More...
|
|
TrayMenu | GetMenu () const |
| Gets a previously created tray menu. More...
|
|
◆ TrayRef()
- Parameters
-
resource | a TrayRaw or Tray. |
This does not takes ownership!
The documentation for this struct was generated from the following file: