Modules generated by SWIG can now have module docstrings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-14 21:25:33 +00:00
parent 969d9b6fa9
commit c8fac2b60d
10 changed files with 97 additions and 38 deletions

View File

@@ -10,7 +10,12 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module gizmos
%define DOCSTRING
"Various *gizmo* classes: `DynamicSashWindow`, `EditableListBox`,
`LEDNumberCtrl`, `TreeListCtrl`, etc."
%enddef
%module(docstring=DOCSTRING) gizmos
%{

View File

@@ -11,7 +11,10 @@
/////////////////////////////////////////////////////////////////////////////
%module glcanvas
%define DOCSTRING
"`GLCanvas` provides an OpenGL Context on a `wx.Window`."
%enddef
%module(docstring=DOCSTRING) glcanvas
%{
#include "wx/wxPython/wxPython.h"

View File

@@ -10,8 +10,11 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module ogl
%define DOCSTRING
"The Object Graphics Library provides for simple drawing and manipulation
of 2D objects."
%enddef
%module(docstring=DOCSTRING) ogl
%{
#include "wx/wxPython/wxPython.h"

View File

@@ -10,7 +10,12 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module stc
%define DOCSTRING
"The `StyledTextCtrl` provides a text editor that can used as a syntax
highlighting source code editor, or similar. Lexers for several programming
languages are built-in."
%enddef
%module(docstring=DOCSTRING) stc
%{

View File

@@ -10,7 +10,11 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module xrc
%define DOCSTRING
"The `XmlResource` class allows program resources defining menus, layout of
controls on a panel, etc."
%enddef
%module(docstring=DOCSTRING) xrc
%{