]> git.saurik.com Git - wxWidgets.git/blame - include/wx/unix/taskbarx11.h
wxHelpController now wxCHMHelpController on Windows
[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
12#ifndef _TASKBAR_H_
13#define _TASKBAR_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
fb29dcac
VS
16#pragma interface "taskbarx11.h"
17#endif
18
19class WXDLLEXPORT wxIcon;
20class WXDLLEXPORT wxFrame;
21class WXDLLEXPORT wxWindow;
22
ac258944
VS
23class WXDLLIMPEXP_ADV wxTaskBarIconArea;
24
25class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
fb29dcac
VS
26{
27public:
28 wxTaskBarIcon();
29 virtual ~wxTaskBarIcon();
30
31 // Accessors:
32 bool IsOk() const;
33 bool IsIconInstalled() const;
34
35 // Operations:
36 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxEmptyString);
37 bool RemoveIcon();
38 bool PopupMenu(wxMenu *menu);
39
40protected:
ac258944 41 wxTaskBarIconArea *m_iconWnd;
fb29dcac
VS
42
43 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
44};
45
46#endif
47 // _TASKBAR_H_