]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/taskbarx11.h
Richtext interface fixes and additions for Phoenix
[wxWidgets.git] / include / wx / unix / taskbarx11.h
CommitLineData
fb29dcac
VS
1/////////////////////////////////////////////////////////////////////////
2// File: wx/unix/taskbarx11.h
3// Purpose: Defines wxTaskBarIcon class for most common X11 desktops
4// Author: Vaclav Slavik
5// Modified by:
6// Created: 04/04/2003
7// RCS-ID: $Id$
8// Copyright: (c) Vaclav Slavik, 2003
65571936 9// Licence: wxWindows licence
fb29dcac
VS
10/////////////////////////////////////////////////////////////////////////
11
65391c8f
PC
12#ifndef _WX_UNIX_TASKBAR_H_
13#define _WX_UNIX_TASKBAR_H_
fb29dcac 14
b5dbe15d 15class WXDLLIMPEXP_FWD_ADV wxTaskBarIconArea;
ac258944
VS
16
17class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
fb29dcac
VS
18{
19public:
20 wxTaskBarIcon();
21 virtual ~wxTaskBarIcon();
22
23 // Accessors:
24 bool IsOk() const;
25 bool IsIconInstalled() const;
26
27 // Operations:
28 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
29 bool RemoveIcon();
30 bool PopupMenu(wxMenu *menu);
31
32protected:
ac258944 33 wxTaskBarIconArea *m_iconWnd;
fb29dcac 34
3abc7566
PC
35private:
36 void OnDestroy(wxWindowDestroyEvent&);
37
fb29dcac
VS
38 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
39};
40
65391c8f 41#endif // _WX_UNIX_TASKBAR_H_