2011-03-20 18:05:19 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/gtk/taskbar.h
|
|
|
|
// Purpose: wxTaskBarIcon class for GTK2
|
|
|
|
// Author: Paul Cornett
|
|
|
|
// Created: 2009-02-08
|
|
|
|
// Copyright: (c) 2009 Paul Cornett
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_GTK_TASKBARICON_H_
|
|
|
|
#define _WX_GTK_TASKBARICON_H_
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_ADV wxTaskBarIcon: public wxTaskBarIconBase
|
|
|
|
{
|
|
|
|
public:
|
2013-09-22 22:44:55 +00:00
|
|
|
wxTaskBarIcon(wxTaskBarIconType iconType = wxTBI_DEFAULT_TYPE);
|
2011-03-20 18:05:19 +00:00
|
|
|
~wxTaskBarIcon();
|
2016-06-26 05:25:29 +00:00
|
|
|
virtual bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxString()) wxOVERRIDE;
|
|
|
|
virtual bool RemoveIcon() wxOVERRIDE;
|
|
|
|
virtual bool PopupMenu(wxMenu* menu) wxOVERRIDE;
|
2011-03-20 18:05:19 +00:00
|
|
|
bool IsOk() const { return true; }
|
|
|
|
bool IsIconInstalled() const;
|
|
|
|
|
|
|
|
class Private;
|
|
|
|
|
|
|
|
private:
|
|
|
|
Private* m_priv;
|
|
|
|
|
2016-06-26 05:25:29 +00:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxTaskBarIcon);
|
|
|
|
wxDECLARE_NO_COPY_CLASS(wxTaskBarIcon);
|
2011-03-20 18:05:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_GTK_TASKBARICON_H_
|