]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/_tipwin.i
Remove wrappers for some functions meant to be interal use only.
[wxWidgets.git] / wxPython / src / _tipwin.i
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: _tipwin.i
3 // Purpose: SWIG interface defs for wxTipWindow
4 //
5 // Author: Robin Dunn
6 //
7 // Created: 22-Dec-1998
8 // RCS-ID: $Id$
9 // Copyright: (c) 2003 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
12
13 // Not a %module
14
15
16 //---------------------------------------------------------------------------
17
18 %{
19 #include <wx/tipwin.h>
20 %}
21
22 //---------------------------------------------------------------------------
23 %newgroup;
24
25
26 MustHaveApp(wxTipWindow);
27
28 class wxTipWindow :
29 #ifndef __WXMAC__
30 public wxPyPopupTransientWindow
31 #else
32 public wxFrame
33 #endif
34 {
35 public:
36 %pythonAppend wxTipWindow "self._setOORInfo(self)"
37
38 %extend {
39 wxTipWindow(wxWindow *parent,
40 const wxString& text,
41 wxCoord maxLength = 100,
42 wxRect* rectBound = NULL) {
43 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
44 }
45 }
46
47
48 // If rectBound is not NULL, the window will disappear automatically when
49 // the mouse leave the specified rect: note that rectBound should be in the
50 // screen coordinates!
51 void SetBoundingRect(const wxRect& rectBound);
52
53 // Hide and destroy the window
54 void Close();
55 };
56
57 //---------------------------------------------------------------------------