libnick 2025.1.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
Nickvision::Notifications::NotifyIconMenuItem Class Reference

A generic menu item for a NotifyIcon. More...

#include <notifyiconmenu.h>

Inheritance diagram for Nickvision::Notifications::NotifyIconMenuItem:
Nickvision::Notifications::NotifyIconActionMenuItem Nickvision::Notifications::NotifyIconSeparatorMenuItem

Public Member Functions

 NotifyIconMenuItem (NotifyIconMenuItemType type)
 Constructs a NotifyIconMenuItem.
 
virtual ~NotifyIconMenuItem ()=default
 Destructs a NotifyIconMenuItem.
 
NotifyIconMenuItemType getType () const
 Gets the type of the menu item.
 

Detailed Description

A generic menu item for a NotifyIcon.

Constructor & Destructor Documentation

◆ NotifyIconMenuItem()

Nickvision::Notifications::NotifyIconMenuItem::NotifyIconMenuItem ( NotifyIconMenuItemType type)

Constructs a NotifyIconMenuItem.

Parameters
typeThe type of menu item

◆ ~NotifyIconMenuItem()

virtual Nickvision::Notifications::NotifyIconMenuItem::~NotifyIconMenuItem ( )
virtualdefault

Destructs a NotifyIconMenuItem.

Member Function Documentation

◆ getType()

NotifyIconMenuItemType Nickvision::Notifications::NotifyIconMenuItem::getType ( ) const

Gets the type of the menu item.

Returns
NotifyIconMenuItemType

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