File: README

package info (click to toggle)
sip 2.5-2.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 1,472
  • sloc: ansic: 11,902; sh: 6,482; yacc: 1,987; cpp: 540; lex: 423; makefile: 104
file content (36 lines) | stat: -rw-r--r-- 1,395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
                     SIP - Python/C++ Bindings Generator


SIP is a tool for generating bindings for C++ classes so that they can be
accessed as normal Python classes.  SIP takes many of its ideas from SWIG but,
because it is specifically designed for C++ and Python, is able to generate
tighter bindings.  SIP is so called because it is a small SWIG.

SIP was originally designed to generate Python bindings for KDE and so has
explicit support for the signal slot mechanism used by the Qt/KDE class
libraries.  However, SIP can be used to generate Python bindings for any C++
class library.

The bindings generated by SIP support access to the following C++ and Qt
features:
	- connecting Qt signals to Python functions and class methods
	- connecting Python signals to Qt slots
	- overloading virtual member functions with Python class methods
	- protected member functions
	- abstract classes
	- enumerated types
	- global class instances
	- static member functions.

This package comprises the SIP binary that generates the C++ code, a couple of
header files that are needed compile the generated C++ code, and a run-time
library that is needed by any set of compiled bindings.

See the INSTALL file for the generic UNIX build and installation instructions.

See the INSTALL.win32 file for the generic Windows build and installation
instructions.


Phil Thompson
phil@river-bank.demon.co.uk