#include <FXTrayIcon.h>
Public Member Functions | |
| FXTrayIcon (FXApp *app, const FXString &text, FXIcon *icon, FXPopup *pup=NULL, FXObject *target=0, FXSelector sel=0, FXuint opts=TRAY_MENU_ON_LEFT) | |
| Create a tray icon. | |
| void | create () |
| Create the server side resource of the tray icon. | |
| void | setMenu (FXPopup *pup) |
| Set the popup menu. | |
| FXPopup * | getMenu () const |
| Get the popup menu. | |
| void | setIcon (FXIcon *icon) |
| Change the icon in the tray. | |
| FXIcon * | getIcon () const |
| Get the icon. | |
| void | setText (const FXString &text) |
| Change the tool tip text. | |
| const FXString & | getText () const |
| Get the tool tip text. | |
Display an icon in the system tray, also called notification area.
| FX::FXTrayIcon::FXTrayIcon | ( | FXApp * | app, | |
| const FXString & | text, | |||
| FXIcon * | icon, | |||
| FXPopup * | pup = NULL, |
|||
| FXObject * | target = 0, |
|||
| FXSelector | sel = 0, |
|||
| FXuint | opts = TRAY_MENU_ON_LEFT | |||
| ) |
Create a tray icon.
| app | the current FXApp instance | |
| text | the tool tip text | |
| icon | the icon to display in the tray | |
| pup | the popup menu to display | |
| target | send messages to | |
| sel | id | |
| opts | options. See FXTrayIcon options . |
1.5.1