]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/taskbar.h
forgot to commit ...
[wxWidgets.git] / include / wx / gtk / taskbar.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/taskbar.h
3 // Purpose: wxTaskBarIcon class for GTK2
4 // Author: Paul Cornett
5 // Created: 2009-02-08
6 // RCS-ID: $Id$
7 // Copyright: (c) 2009 Paul Cornett
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_GTK_TASKBARICON_H_
12 #define _WX_GTK_TASKBARICON_H_
13
14 class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
15 {
16 public:
17 wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE);
18 ~wxTaskBarIcon();
19 virtual bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxString());
20 virtual bool RemoveIcon();
21 virtual bool PopupMenu(wxMenu* menu);
22 bool IsOk() const { return true; }
23 bool IsIconInstalled() const;
24
25 class Private;
26
27 private:
28 Private* m_priv;
29
30 DECLARE_DYNAMIC_CLASS(wxTaskBarIcon)
31 DECLARE_NO_COPY_CLASS(wxTaskBarIcon)
32 };
33
34 #endif // _WX_GTK_TASKBARICON_H_