1//---------------------------------------------------------------------------
2// This file is generated by wxPython's SIP generator.  Do not edit by hand.
3//
4// Copyright: (c) 2018 by Total Control Software
5// License:   wxWindows License
6//
7// This file will be included by _core.sip
8//
9//---------------------------------------------------------------------------
10
11//---------------------------------------------------------------------------
12
13class wxTipWindow : wxWindow
14{
15    %Docstring
16        TipWindow(parent, text, maxLength=100)
17
18        Shows simple text in a popup tip window on creation.
19    %End
20    %TypeHeaderCode
21        #include <wx/tipwin.h>
22    %End
23
24public:
25    wxTipWindow(
26        wxWindow * parent   /TransferThis/,
27        const wxString & text,
28        wxCoord maxLength = 100
29    );
30    %PreMethodCode
31        if (!wxPyCheckForApp()) return NULL;
32    %End
33
34    void SetBoundingRect(
35        const wxRect & rectBound
36    );
37    %Docstring
38        SetBoundingRect(rectBound)
39
40        By default, the tip window disappears when the user clicks the mouse
41        or presses a keyboard key or if it loses focus in any other way - for
42        example because the user switched to another application window.
43    %End
44
45    public:
46    virtual wxPoint GetClientAreaOrigin() const;
47    virtual bool Validate();
48    virtual bool TransferDataToWindow();
49    virtual bool TransferDataFromWindow();
50    virtual void InitDialog();
51    virtual bool AcceptsFocus() const;
52    virtual bool AcceptsFocusRecursively() const;
53    virtual bool AcceptsFocusFromKeyboard() const;
54    virtual void AddChild( wxWindowBase *child );
55    virtual void RemoveChild( wxWindowBase *child );
56    virtual void InheritAttributes();
57    virtual bool ShouldInheritColours() const;
58    virtual void OnInternalIdle();
59    virtual wxWindow *GetMainWindowOfCompositeControl();
60    virtual bool InformFirstDirection(int direction, int size, int availableOtherDir);
61    virtual void SetCanFocus(bool canFocus);
62    virtual bool Destroy();
63    virtual void SetValidator( const wxValidator &validator );
64    virtual wxValidator* GetValidator();
65
66
67    protected:
68    virtual bool ProcessEvent(wxEvent & event);
69    virtual void DoEnable(bool enable);
70    virtual void DoGetPosition(int *x, int *y) const;
71    virtual void DoGetSize(int *width, int *height) const;
72    virtual void DoGetClientSize(int *width, int *height) const;
73    virtual wxSize DoGetBestSize() const;
74    virtual wxSize DoGetBestClientSize() const;
75    virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags);
76    virtual void DoSetClientSize(int width, int height);
77    virtual void DoSetSizeHints( int minW, int minH, int maxW, int maxH, int incW, int incH );
78    virtual wxSize DoGetBorderSize() const;
79    virtual void DoMoveWindow(int x, int y, int width, int height);
80    virtual void DoSetWindowVariant( wxWindowVariant variant);
81    virtual wxBorder GetDefaultBorder() const;
82    virtual wxBorder GetDefaultBorderForControl() const;
83    virtual void DoFreeze();
84    virtual void DoThaw();
85    virtual bool HasTransparentBackground();
86    virtual bool TryBefore(wxEvent& event);
87    virtual bool TryAfter(wxEvent& event);
88
89
90    public:
91
92
93    static
94    wxVisualAttributes GetClassDefaultAttributes(
95        wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL
96    );
97    %Docstring
98        GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
99    %End
100    %PreMethodCode
101        if (!wxPyCheckForApp()) return NULL;
102    %End
103
104    public:
105
106
107};  // end of class wxTipWindow
108
109
110
111//---------------------------------------------------------------------------
112
113