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,10 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module calendar
%define DOCSTRING
"Classes for an interactive Calendar control."
%enddef
%module(docstring=DOCSTRING) calendar
%{
@@ -184,12 +187,13 @@ Window Styles
CAL_SEQUENTIAL_MONTH_SELECTION Use alternative, more compact,
style for the month and year
selection controls.
============================== ============================
The default calendar style is CAL_SHOW_HOLIDAYS.
Events
-------
=========================== ==============================
============================= ==============================
EVT_CALENDAR A day was double clicked in the
calendar.
EVT_CALENDAR_SEL_CHANGED The selected date changed.
@@ -198,6 +202,7 @@ Events
EVT_CALENDAR_YEAR The selected year changed.
EVT_CALENDAR_WEEKDAY_CLICKED User clicked on the week day
header
============================= ==============================
Note that changing the selected date will result in one of
EVT_CALENDAR_DAY, MONTH or YEAR events and an EVT_CALENDAR_SEL_CHANGED

View File

@@ -10,7 +10,11 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module grid
%define DOCSTRING
"Classes for implementing a spreadsheet-like control."
%enddef
%module(docstring=DOCSTRING) grid
%{
#include "wx/wxPython/wxPython.h"

View File

@@ -10,8 +10,11 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%define DOCSTRING
"Classes for a simple HTML rendering window, HTML Help Window, etc."
%enddef
%module html
%module(docstring=DOCSTRING) html
%{
#include "wx/wxPython/wxPython.h"

View File

@@ -10,7 +10,11 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module wizard
%define DOCSTRING
"`Wizard` is a dialog class that guides the user through a sequence of steps,
or pages."
%enddef
%module(docstring=DOCSTRING) wizard
%{
#include "wx/wxPython/wxPython.h"