]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk1/tooltip.h
this should be the file with the standard setting for wxWin compilation
[wxWidgets.git] / include / wx / gtk1 / tooltip.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: tooltip.h
3 // Purpose:
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __GTKTOOLTIPH__
11 #define __GTKTOOLTIPH__
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "wx/defs.h"
18 #include "wx/object.h"
19 #include "wx/window.h"
20
21 //-----------------------------------------------------------------------------
22 // classes
23 //-----------------------------------------------------------------------------
24
25 class wxToolTip;
26
27 //-----------------------------------------------------------------------------
28 // wxToolTip
29 //-----------------------------------------------------------------------------
30
31 class wxToolTip: public wxObject
32 {
33 public:
34
35 wxToolTip( const wxString &tip );
36 ~wxToolTip();
37
38 wxString GetTip();
39
40 void Enable( bool flag );
41 void SetDelay( long msecs );
42 bool Ok();
43
44 // implementation
45
46 wxString m_text;
47
48 GtkTooltips *m_tooltips;
49 GdkColor *m_bg;
50 GdkColor *m_fg;
51
52 void Create( GtkWidget *tool );
53 };
54
55 #endif // __GTKTOOLTIPH__