]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/stc.i
added obsolescence note
[wxWidgets.git] / wxPython / contrib / stc / stc.i
CommitLineData
d14a1e28
RD
1/////////////////////////////////////////////////////////////////////////////
2// Name: stc.i
3// Purpose: Wrappers for the wxStyledTextCtrl.
4//
5// Author: Robin Dunn
6//
7// Created: 12-Oct-1999
8// RCS-ID: $Id$
9// Copyright: (c) 2000 by Total Control Software
10// Licence: wxWindows license
11/////////////////////////////////////////////////////////////////////////////
12
13%module stc
14
15
16%{
17#include "wx/wxPython/wxPython.h"
18#include "wx/wxPython/pyclasses.h"
19#include <wx/stc/stc.h>
20
21 DECLARE_DEF_STRING(STCNameStr);
22%}
23
24//---------------------------------------------------------------------------
25
26%import core.i
27%pythoncode { wx = core }
28
29%include _stc_rename.i
30
31
32//---------------------------------------------------------------------------
33// Get all our defs from the REAL header file.
34
35%include stc.h
36
37//---------------------------------------------------------------------------
38// Python functions to act like the event macros
39
40%pythoncode {
41EVT_STC_CHANGE = wx.PyEventBinder( wxEVT_STC_CHANGE, 1 )
42EVT_STC_STYLENEEDED = wx.PyEventBinder( wxEVT_STC_STYLENEEDED, 1 )
43EVT_STC_CHARADDED = wx.PyEventBinder( wxEVT_STC_CHARADDED, 1 )
44EVT_STC_SAVEPOINTREACHED = wx.PyEventBinder( wxEVT_STC_SAVEPOINTREACHED, 1 )
45EVT_STC_SAVEPOINTLEFT = wx.PyEventBinder( wxEVT_STC_SAVEPOINTLEFT, 1 )
46EVT_STC_ROMODIFYATTEMPT = wx.PyEventBinder( wxEVT_STC_ROMODIFYATTEMPT, 1 )
47EVT_STC_KEY = wx.PyEventBinder( wxEVT_STC_KEY, 1 )
48EVT_STC_DOUBLECLICK = wx.PyEventBinder( wxEVT_STC_DOUBLECLICK, 1 )
49EVT_STC_UPDATEUI = wx.PyEventBinder( wxEVT_STC_UPDATEUI, 1 )
50EVT_STC_MODIFIED = wx.PyEventBinder( wxEVT_STC_MODIFIED, 1 )
51EVT_STC_MACRORECORD = wx.PyEventBinder( wxEVT_STC_MACRORECORD, 1 )
52EVT_STC_MARGINCLICK = wx.PyEventBinder( wxEVT_STC_MARGINCLICK, 1 )
53EVT_STC_NEEDSHOWN = wx.PyEventBinder( wxEVT_STC_NEEDSHOWN, 1 )
54EVT_STC_POSCHANGED = wx.PyEventBinder( wxEVT_STC_POSCHANGED, 1 )
55EVT_STC_PAINTED = wx.PyEventBinder( wxEVT_STC_PAINTED, 1 )
56EVT_STC_USERLISTSELECTION = wx.PyEventBinder( wxEVT_STC_USERLISTSELECTION, 1 )
57EVT_STC_URIDROPPED = wx.PyEventBinder( wxEVT_STC_URIDROPPED, 1 )
58EVT_STC_DWELLSTART = wx.PyEventBinder( wxEVT_STC_DWELLSTART, 1 )
59EVT_STC_DWELLEND = wx.PyEventBinder( wxEVT_STC_DWELLEND, 1 )
60EVT_STC_START_DRAG = wx.PyEventBinder( wxEVT_STC_START_DRAG, 1 )
61EVT_STC_DRAG_OVER = wx.PyEventBinder( wxEVT_STC_DRAG_OVER, 1 )
62EVT_STC_DO_DROP = wx.PyEventBinder( wxEVT_STC_DO_DROP, 1 )
63EVT_STC_ZOOM = wx.PyEventBinder( wxEVT_STC_ZOOM, 1 )
64EVT_STC_HOTSPOT_CLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_CLICK, 1 )
65EVT_STC_HOTSPOT_DCLICK = wx.PyEventBinder( wxEVT_STC_HOTSPOT_DCLICK, 1 )
66EVT_STC_CALLTIP_CLICK = wx.PyEventBinder( wxEVT_STC_CALLTIP_CLICK, 1 )
67}
68
69//---------------------------------------------------------------------------
70
71%init %{
72%}
73
74
75//---------------------------------------------------------------------------
76