reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-01-13 05:21:18 +00:00
parent 80667df394
commit 091f5bedb4
5 changed files with 4355 additions and 1235 deletions

View File

@ -663,6 +663,7 @@
%rename(SetDefaultPyEncoding) wxSetDefaultPyEncoding;
%rename(GetDefaultPyEncoding) wxGetDefaultPyEncoding;
%rename(EventLoop) wxEventLoop;
%rename(EventLoopActivator) wxEventLoopActivator;
%rename(AcceleratorEntry) wxAcceleratorEntry;
%rename(AcceleratorTable) wxAcceleratorTable;
%rename(NullAcceleratorTable) wxNullAcceleratorTable;

View File

@ -7865,6 +7865,30 @@ def EventLoop_SetActive(*args, **kwargs):
"""EventLoop_SetActive(EventLoop loop)"""
return _core_.EventLoop_SetActive(*args, **kwargs)
class EventLoopActivator(object):
"""Proxy of C++ EventLoopActivator class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxEventLoopActivator instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, EventLoop evtLoop) -> EventLoopActivator"""
newobj = _core_.new_EventLoopActivator(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def __del__(self, destroy=_core_.delete_EventLoopActivator):
"""__del__(self)"""
try:
if self.thisown: destroy(self)
except: pass
class EventLoopActivatorPtr(EventLoopActivator):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = EventLoopActivator
_core_.EventLoopActivator_swigregister(EventLoopActivatorPtr)
#---------------------------------------------------------------------------
class AcceleratorEntry(object):
@ -10871,6 +10895,14 @@ class MenuItem(Object):
"""SetAccel(self, AcceleratorEntry accel)"""
return _core_.MenuItem_SetAccel(*args, **kwargs)
def SetBitmap(*args, **kwargs):
"""SetBitmap(self, Bitmap bitmap)"""
return _core_.MenuItem_SetBitmap(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""GetBitmap(self) -> Bitmap"""
return _core_.MenuItem_GetBitmap(*args, **kwargs)
def SetFont(*args, **kwargs):
"""SetFont(self, Font font)"""
return _core_.MenuItem_SetFont(*args, **kwargs)
@ -10932,14 +10964,6 @@ class MenuItem(Object):
"""ResetOwnerDrawn(self)"""
return _core_.MenuItem_ResetOwnerDrawn(*args, **kwargs)
def SetBitmap(*args, **kwargs):
"""SetBitmap(self, Bitmap bitmap)"""
return _core_.MenuItem_SetBitmap(*args, **kwargs)
def GetBitmap(*args, **kwargs):
"""GetBitmap(self) -> Bitmap"""
return _core_.MenuItem_GetBitmap(*args, **kwargs)
class MenuItemPtr(MenuItem):
def __init__(self, this):
@ -11565,6 +11589,14 @@ class SizerItem(Object):
"""
return _core_.SizerItem_GetUserData(*args, **kwargs)
def SetUserData(*args, **kwargs):
"""
SetUserData(self, PyObject userData)
Associate a Python object with this sizer item.
"""
return _core_.SizerItem_SetUserData(*args, **kwargs)
class SizerItemPtr(SizerItem):
def __init__(self, this):

View File

@ -1341,136 +1341,137 @@ SWIG_Python_GetTypeList() {
#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
#define SWIGTYPE_p_wxRealPoint swig_types[1]
#define SWIGTYPE_p_wxSizerItem swig_types[2]
#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
#define SWIGTYPE_p_wxScrollEvent swig_types[4]
#define SWIGTYPE_p_wxEventLoop swig_types[5]
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
#define SWIGTYPE_p_wxSizer swig_types[7]
#define SWIGTYPE_p_wxBoxSizer swig_types[8]
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
#define SWIGTYPE_p_wxGridBagSizer swig_types[10]
#define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
#define SWIGTYPE_p_wxEvent swig_types[13]
#define SWIGTYPE_p_buffer swig_types[14]
#define SWIGTYPE_p_wxMenu swig_types[15]
#define SWIGTYPE_p_wxGridSizer swig_types[16]
#define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
#define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
#define SWIGTYPE_p_wxItemContainer swig_types[19]
#define SWIGTYPE_p_wxPaintEvent swig_types[20]
#define SWIGTYPE_p_wxNcPaintEvent swig_types[21]
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
#define SWIGTYPE_p_wxControl swig_types[26]
#define SWIGTYPE_p_wxFont swig_types[27]
#define SWIGTYPE_p_wxMenuBarBase swig_types[28]
#define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
#define SWIGTYPE_p_wxFSFile swig_types[30]
#define SWIGTYPE_p_wxCaret swig_types[31]
#define SWIGTYPE_ptrdiff_t swig_types[32]
#define SWIGTYPE_std__ptrdiff_t swig_types[33]
#define SWIGTYPE_p_wxRegion swig_types[34]
#define SWIGTYPE_p_wxPoint2D swig_types[35]
#define SWIGTYPE_p_wxImage_HSVValue swig_types[36]
#define SWIGTYPE_p_int swig_types[37]
#define SWIGTYPE_p_wxSize swig_types[38]
#define SWIGTYPE_p_wxDC swig_types[39]
#define SWIGTYPE_p_wxPySizer swig_types[40]
#define SWIGTYPE_p_wxVisualAttributes swig_types[41]
#define SWIGTYPE_p_wxImage_RGBValue swig_types[42]
#define SWIGTYPE_p_wxNotifyEvent swig_types[43]
#define SWIGTYPE_p_wxPyEvent swig_types[44]
#define SWIGTYPE_p_wxPropagationDisabler swig_types[45]
#define SWIGTYPE_p_form_ops_t swig_types[46]
#define SWIGTYPE_p_wxAppTraits swig_types[47]
#define SWIGTYPE_p_wxArrayString swig_types[48]
#define SWIGTYPE_p_wxShowEvent swig_types[49]
#define SWIGTYPE_p_wxToolTip swig_types[50]
#define SWIGTYPE_p_wxMoveEvent swig_types[51]
#define SWIGTYPE_p_wxSizeEvent swig_types[52]
#define SWIGTYPE_p_wxActivateEvent swig_types[53]
#define SWIGTYPE_p_wxIconizeEvent swig_types[54]
#define SWIGTYPE_p_wxMaximizeEvent swig_types[55]
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[56]
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[57]
#define SWIGTYPE_p_wxIdleEvent swig_types[58]
#define SWIGTYPE_p_wxDateEvent swig_types[59]
#define SWIGTYPE_p_wxMenuItem swig_types[60]
#define SWIGTYPE_p_wxStaticBox swig_types[61]
#define SWIGTYPE_p_long swig_types[62]
#define SWIGTYPE_p_wxDuplexMode swig_types[63]
#define SWIGTYPE_p_wxTIFFHandler swig_types[64]
#define SWIGTYPE_p_wxXPMHandler swig_types[65]
#define SWIGTYPE_p_wxPNMHandler swig_types[66]
#define SWIGTYPE_p_wxJPEGHandler swig_types[67]
#define SWIGTYPE_p_wxPCXHandler swig_types[68]
#define SWIGTYPE_p_wxGIFHandler swig_types[69]
#define SWIGTYPE_p_wxPNGHandler swig_types[70]
#define SWIGTYPE_p_wxANIHandler swig_types[71]
#define SWIGTYPE_p_wxPyImageHandler swig_types[72]
#define SWIGTYPE_p_wxMemoryFSHandler swig_types[73]
#define SWIGTYPE_p_wxZipFSHandler swig_types[74]
#define SWIGTYPE_p_wxInternetFSHandler swig_types[75]
#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[76]
#define SWIGTYPE_p_wxEvtHandler swig_types[77]
#define SWIGTYPE_p_wxCURHandler swig_types[78]
#define SWIGTYPE_p_wxICOHandler swig_types[79]
#define SWIGTYPE_p_wxBMPHandler swig_types[80]
#define SWIGTYPE_p_wxImageHandler swig_types[81]
#define SWIGTYPE_p_wxFileSystemHandler swig_types[82]
#define SWIGTYPE_p_wxRect swig_types[83]
#define SWIGTYPE_p_wxButton swig_types[84]
#define SWIGTYPE_p_wxGBSpan swig_types[85]
#define SWIGTYPE_p_wxPropagateOnce swig_types[86]
#define SWIGTYPE_p_wxAcceleratorTable swig_types[87]
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[88]
#define SWIGTYPE_p_char swig_types[89]
#define SWIGTYPE_p_wxGBPosition swig_types[90]
#define SWIGTYPE_p_wxImage swig_types[91]
#define SWIGTYPE_p_wxFrame swig_types[92]
#define SWIGTYPE_p_wxScrollWinEvent swig_types[93]
#define SWIGTYPE_p_wxPaperSize swig_types[94]
#define SWIGTYPE_p_wxImageHistogram swig_types[95]
#define SWIGTYPE_p_wxPoint swig_types[96]
#define SWIGTYPE_p_wxCursor swig_types[97]
#define SWIGTYPE_p_wxObject swig_types[98]
#define SWIGTYPE_p_wxInputStream swig_types[99]
#define SWIGTYPE_p_wxOutputStream swig_types[100]
#define SWIGTYPE_p_wxPyInputStream swig_types[101]
#define SWIGTYPE_p_wxDateTime swig_types[102]
#define SWIGTYPE_p_wxKeyEvent swig_types[103]
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[105]
#define SWIGTYPE_p_unsigned_long swig_types[106]
#define SWIGTYPE_p_wxWindow swig_types[107]
#define SWIGTYPE_p_wxMenuBar swig_types[108]
#define SWIGTYPE_p_wxFileSystem swig_types[109]
#define SWIGTYPE_p_wxBitmap swig_types[110]
#define SWIGTYPE_unsigned_int swig_types[111]
#define SWIGTYPE_p_unsigned_int swig_types[112]
#define SWIGTYPE_p_wxMenuEvent swig_types[113]
#define SWIGTYPE_p_wxContextMenuEvent swig_types[114]
#define SWIGTYPE_p_unsigned_char swig_types[115]
#define SWIGTYPE_p_wxMouseEvent swig_types[116]
#define SWIGTYPE_p_wxEraseEvent swig_types[117]
#define SWIGTYPE_p_wxCloseEvent swig_types[118]
#define SWIGTYPE_p_wxPyApp swig_types[119]
#define SWIGTYPE_p_wxCommandEvent swig_types[120]
#define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
#define SWIGTYPE_p_wxPyDropTarget swig_types[122]
#define SWIGTYPE_p_wxQuantize swig_types[123]
#define SWIGTYPE_p_wxFocusEvent swig_types[124]
#define SWIGTYPE_p_wxChildFocusEvent swig_types[125]
#define SWIGTYPE_p_wxDropFilesEvent swig_types[126]
#define SWIGTYPE_p_wxControlWithItems swig_types[127]
#define SWIGTYPE_p_wxColour swig_types[128]
#define SWIGTYPE_p_wxValidator swig_types[129]
#define SWIGTYPE_p_wxPyValidator swig_types[130]
static swig_type_info *swig_types[132];
#define SWIGTYPE_p_wxEventLoopActivator swig_types[2]
#define SWIGTYPE_p_wxSizerItem swig_types[3]
#define SWIGTYPE_p_wxGBSizerItem swig_types[4]
#define SWIGTYPE_p_wxScrollEvent swig_types[5]
#define SWIGTYPE_p_wxEventLoop swig_types[6]
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[7]
#define SWIGTYPE_p_wxSizer swig_types[8]
#define SWIGTYPE_p_wxBoxSizer swig_types[9]
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[10]
#define SWIGTYPE_p_wxGridBagSizer swig_types[11]
#define SWIGTYPE_p_wxAcceleratorEntry swig_types[12]
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[13]
#define SWIGTYPE_p_wxEvent swig_types[14]
#define SWIGTYPE_p_buffer swig_types[15]
#define SWIGTYPE_p_wxMenu swig_types[16]
#define SWIGTYPE_p_wxGridSizer swig_types[17]
#define SWIGTYPE_p_wxFlexGridSizer swig_types[18]
#define SWIGTYPE_p_wxInitDialogEvent swig_types[19]
#define SWIGTYPE_p_wxItemContainer swig_types[20]
#define SWIGTYPE_p_wxPaintEvent swig_types[21]
#define SWIGTYPE_p_wxNcPaintEvent swig_types[22]
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[23]
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[24]
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[25]
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[26]
#define SWIGTYPE_p_wxControl swig_types[27]
#define SWIGTYPE_p_wxFont swig_types[28]
#define SWIGTYPE_p_wxMenuBarBase swig_types[29]
#define SWIGTYPE_p_wxSetCursorEvent swig_types[30]
#define SWIGTYPE_p_wxFSFile swig_types[31]
#define SWIGTYPE_p_wxCaret swig_types[32]
#define SWIGTYPE_ptrdiff_t swig_types[33]
#define SWIGTYPE_std__ptrdiff_t swig_types[34]
#define SWIGTYPE_p_wxRegion swig_types[35]
#define SWIGTYPE_p_wxPoint2D swig_types[36]
#define SWIGTYPE_p_wxImage_HSVValue swig_types[37]
#define SWIGTYPE_p_int swig_types[38]
#define SWIGTYPE_p_wxSize swig_types[39]
#define SWIGTYPE_p_wxDC swig_types[40]
#define SWIGTYPE_p_wxPySizer swig_types[41]
#define SWIGTYPE_p_wxVisualAttributes swig_types[42]
#define SWIGTYPE_p_wxImage_RGBValue swig_types[43]
#define SWIGTYPE_p_wxNotifyEvent swig_types[44]
#define SWIGTYPE_p_wxPyEvent swig_types[45]
#define SWIGTYPE_p_wxPropagationDisabler swig_types[46]
#define SWIGTYPE_p_form_ops_t swig_types[47]
#define SWIGTYPE_p_wxAppTraits swig_types[48]
#define SWIGTYPE_p_wxArrayString swig_types[49]
#define SWIGTYPE_p_wxShowEvent swig_types[50]
#define SWIGTYPE_p_wxToolTip swig_types[51]
#define SWIGTYPE_p_wxMoveEvent swig_types[52]
#define SWIGTYPE_p_wxSizeEvent swig_types[53]
#define SWIGTYPE_p_wxActivateEvent swig_types[54]
#define SWIGTYPE_p_wxIconizeEvent swig_types[55]
#define SWIGTYPE_p_wxMaximizeEvent swig_types[56]
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[57]
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[58]
#define SWIGTYPE_p_wxIdleEvent swig_types[59]
#define SWIGTYPE_p_wxDateEvent swig_types[60]
#define SWIGTYPE_p_wxMenuItem swig_types[61]
#define SWIGTYPE_p_wxStaticBox swig_types[62]
#define SWIGTYPE_p_long swig_types[63]
#define SWIGTYPE_p_wxDuplexMode swig_types[64]
#define SWIGTYPE_p_wxTIFFHandler swig_types[65]
#define SWIGTYPE_p_wxXPMHandler swig_types[66]
#define SWIGTYPE_p_wxPNMHandler swig_types[67]
#define SWIGTYPE_p_wxJPEGHandler swig_types[68]
#define SWIGTYPE_p_wxPCXHandler swig_types[69]
#define SWIGTYPE_p_wxGIFHandler swig_types[70]
#define SWIGTYPE_p_wxPNGHandler swig_types[71]
#define SWIGTYPE_p_wxANIHandler swig_types[72]
#define SWIGTYPE_p_wxPyImageHandler swig_types[73]
#define SWIGTYPE_p_wxMemoryFSHandler swig_types[74]
#define SWIGTYPE_p_wxZipFSHandler swig_types[75]
#define SWIGTYPE_p_wxInternetFSHandler swig_types[76]
#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[77]
#define SWIGTYPE_p_wxEvtHandler swig_types[78]
#define SWIGTYPE_p_wxCURHandler swig_types[79]
#define SWIGTYPE_p_wxICOHandler swig_types[80]
#define SWIGTYPE_p_wxBMPHandler swig_types[81]
#define SWIGTYPE_p_wxImageHandler swig_types[82]
#define SWIGTYPE_p_wxFileSystemHandler swig_types[83]
#define SWIGTYPE_p_wxRect swig_types[84]
#define SWIGTYPE_p_wxButton swig_types[85]
#define SWIGTYPE_p_wxGBSpan swig_types[86]
#define SWIGTYPE_p_wxPropagateOnce swig_types[87]
#define SWIGTYPE_p_wxAcceleratorTable swig_types[88]
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[89]
#define SWIGTYPE_p_char swig_types[90]
#define SWIGTYPE_p_wxGBPosition swig_types[91]
#define SWIGTYPE_p_wxImage swig_types[92]
#define SWIGTYPE_p_wxFrame swig_types[93]
#define SWIGTYPE_p_wxScrollWinEvent swig_types[94]
#define SWIGTYPE_p_wxPaperSize swig_types[95]
#define SWIGTYPE_p_wxImageHistogram swig_types[96]
#define SWIGTYPE_p_wxPoint swig_types[97]
#define SWIGTYPE_p_wxCursor swig_types[98]
#define SWIGTYPE_p_wxObject swig_types[99]
#define SWIGTYPE_p_wxInputStream swig_types[100]
#define SWIGTYPE_p_wxOutputStream swig_types[101]
#define SWIGTYPE_p_wxPyInputStream swig_types[102]
#define SWIGTYPE_p_wxDateTime swig_types[103]
#define SWIGTYPE_p_wxKeyEvent swig_types[104]
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[106]
#define SWIGTYPE_p_unsigned_long swig_types[107]
#define SWIGTYPE_p_wxWindow swig_types[108]
#define SWIGTYPE_p_wxMenuBar swig_types[109]
#define SWIGTYPE_p_wxFileSystem swig_types[110]
#define SWIGTYPE_p_wxBitmap swig_types[111]
#define SWIGTYPE_unsigned_int swig_types[112]
#define SWIGTYPE_p_unsigned_int swig_types[113]
#define SWIGTYPE_p_wxMenuEvent swig_types[114]
#define SWIGTYPE_p_wxContextMenuEvent swig_types[115]
#define SWIGTYPE_p_unsigned_char swig_types[116]
#define SWIGTYPE_p_wxMouseEvent swig_types[117]
#define SWIGTYPE_p_wxEraseEvent swig_types[118]
#define SWIGTYPE_p_wxCloseEvent swig_types[119]
#define SWIGTYPE_p_wxPyApp swig_types[120]
#define SWIGTYPE_p_wxCommandEvent swig_types[121]
#define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
#define SWIGTYPE_p_wxPyDropTarget swig_types[123]
#define SWIGTYPE_p_wxQuantize swig_types[124]
#define SWIGTYPE_p_wxFocusEvent swig_types[125]
#define SWIGTYPE_p_wxChildFocusEvent swig_types[126]
#define SWIGTYPE_p_wxDropFilesEvent swig_types[127]
#define SWIGTYPE_p_wxControlWithItems swig_types[128]
#define SWIGTYPE_p_wxColour swig_types[129]
#define SWIGTYPE_p_wxValidator swig_types[130]
#define SWIGTYPE_p_wxPyValidator swig_types[131]
static swig_type_info *swig_types[133];
/* -------- TYPES TABLE (END) -------- */
@ -2705,7 +2706,7 @@ SWIG_FromCharPtr(const char* cptr)
}
#ifdef __WXMAC__
#if 0 // #ifdef __WXMAC__
// A dummy class that raises an exception if used...
class wxEventLoop
@ -2823,7 +2824,7 @@ static void wxMenuItem_SetTextColour(wxMenuItem *self,wxColour const &colText){}
static wxColour wxMenuItem_GetTextColour(wxMenuItem *self){ return wxNullColour; }
static void wxMenuItem_SetBackgroundColour(wxMenuItem *self,wxColour const &colBack){}
static wxColour wxMenuItem_GetBackgroundColour(wxMenuItem *self){ return wxNullColour; }
static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){}
static void wxMenuItem_SetBitmaps(wxMenuItem *self,wxBitmap const &bmpChecked,wxBitmap const &bmpUnchecked=wxNullBitmap){ self->SetBitmap( bmpChecked ); }
static void wxMenuItem_SetDisabledBitmap(wxMenuItem *self,wxBitmap const &bmpDisabled){}
static wxBitmap const &wxMenuItem_GetDisabledBitmap(wxMenuItem const *self){ return wxNullBitmap; }
static void wxMenuItem_SetMarginWidth(wxMenuItem *self,int nWidth){}
@ -2972,6 +2973,15 @@ static PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
return Py_None;
}
}
static void wxSizerItem_SetUserData(wxSizerItem *self,PyObject *userData){
wxPyUserData* data = NULL;
if ( userData ) {
wxPyBlock_t blocked = wxPyBeginBlockThreads();
data = new wxPyUserData(userData);
wxPyEndBlockThreads(blocked);
}
self->SetUserData(data);
}
// Figure out the type of the sizer item
@ -25025,6 +25035,64 @@ static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxEventLoop *arg1 = (wxEventLoop *) 0 ;
wxEventLoopActivator *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "evtLoop", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_EventLoopActivator",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoop, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxEventLoopActivator *)new wxEventLoopActivator(arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoopActivator, 1);
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_delete_EventLoopActivator(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxEventLoopActivator *arg1 = (wxEventLoopActivator *) 0 ;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoopActivator",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEventLoopActivator, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
delete arg1;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject * EventLoopActivator_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
SWIG_TypeClientData(SWIGTYPE_p_wxEventLoopActivator, obj);
Py_INCREF(obj);
return Py_BuildValue((char *)"");
}
static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
int arg1 = (int) 0 ;
@ -37409,6 +37477,73 @@ static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *k
}
static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *arg2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "bitmap", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(2)) SWIG_fail;
if (arg2 == NULL) {
SWIG_null_ref("wxBitmap");
}
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetBitmap((wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxBitmap const &_result_ref = (arg1)->GetBitmap();
result = (wxBitmap *) &_result_ref;
}
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxBitmap* resultptr = new wxBitmap(*result);
resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_MenuItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
@ -37882,73 +38017,6 @@ static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *, PyObject *args, PyOb
}
static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *arg2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "bitmap", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(2)) SWIG_fail;
if (arg2 == NULL) {
SWIG_null_ref("wxBitmap");
}
if (SWIG_arg_fail(2)) SWIG_fail;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetBitmap((wxBitmap const &)*arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxMenuItem *arg1 = (wxMenuItem *) 0 ;
wxBitmap *result;
PyObject * obj0 = 0 ;
char *kwnames[] = {
(char *) "self", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMenuItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
{
wxBitmap const &_result_ref = (arg1)->GetBitmap();
result = (wxBitmap *) &_result_ref;
}
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
{
wxBitmap* resultptr = new wxBitmap(*result);
resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
}
return resultobj;
fail:
return NULL;
}
static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
@ -40156,6 +40224,34 @@ static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObjec
}
static PyObject *_wrap_SizerItem_SetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
PyObject *resultobj;
wxSizerItem *arg1 = (wxSizerItem *) 0 ;
PyObject *arg2 = (PyObject *) 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char *kwnames[] = {
(char *) "self",(char *) "userData", NULL
};
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetUserData",kwnames,&obj0,&obj1)) goto fail;
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSizerItem, SWIG_POINTER_EXCEPTION | 0);
if (SWIG_arg_fail(1)) SWIG_fail;
arg2 = obj1;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
wxSizerItem_SetUserData(arg1,arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
Py_INCREF(Py_None); resultobj = Py_None;
return resultobj;
fail:
return NULL;
}
static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
PyObject *obj;
if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
@ -46656,6 +46752,9 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL},
{ (char *)"new_EventLoopActivator", (PyCFunction) _wrap_new_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_EventLoopActivator", (PyCFunction) _wrap_delete_EventLoopActivator, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister, METH_VARARGS, NULL},
{ (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL},
@ -47017,6 +47116,8 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
@ -47032,8 +47133,6 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL},
{ (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL},
@ -47099,6 +47198,7 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_SetUserData", (PyCFunction) _wrap_SizerItem_SetUserData, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL},
{ (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL},
@ -47781,6 +47881,7 @@ static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
}
static swig_type_info _swigt__p_wxLayoutConstraints[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxRealPoint[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0, 0, 0, 0},{"_p_wxRealPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxEventLoopActivator[] = {{"_p_wxEventLoopActivator", 0, "wxEventLoopActivator *", 0, 0, 0, 0},{"_p_wxEventLoopActivator", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxSizerItem[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0, 0, 0, 0},{"_p_wxSizerItem", 0, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxGBSizerItem[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0, 0, 0, 0},{"_p_wxGBSizerItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
static swig_type_info _swigt__p_wxScrollEvent[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0, 0, 0, 0},{"_p_wxScrollEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
@ -47914,6 +48015,7 @@ static swig_type_info _swigt__p_wxPyValidator[] = {{"_p_wxPyValidator", 0, "wxPy
static swig_type_info *swig_types_initial[] = {
_swigt__p_wxLayoutConstraints,
_swigt__p_wxRealPoint,
_swigt__p_wxEventLoopActivator,
_swigt__p_wxSizerItem,
_swigt__p_wxGBSizerItem,
_swigt__p_wxScrollEvent,

View File

@ -1565,13 +1565,193 @@ class HtmlHelpDataPtr(HtmlHelpData):
self.__class__ = HtmlHelpData
_html.HtmlHelpData_swigregister(HtmlHelpDataPtr)
HF_TOOLBAR = _html.HF_TOOLBAR
HF_CONTENTS = _html.HF_CONTENTS
HF_INDEX = _html.HF_INDEX
HF_SEARCH = _html.HF_SEARCH
HF_BOOKMARKS = _html.HF_BOOKMARKS
HF_OPEN_FILES = _html.HF_OPEN_FILES
HF_PRINT = _html.HF_PRINT
HF_FLAT_TOOLBAR = _html.HF_FLAT_TOOLBAR
HF_MERGE_BOOKS = _html.HF_MERGE_BOOKS
HF_ICONS_BOOK = _html.HF_ICONS_BOOK
HF_ICONS_BOOK_CHAPTER = _html.HF_ICONS_BOOK_CHAPTER
HF_ICONS_FOLDER = _html.HF_ICONS_FOLDER
HF_DEFAULT_STYLE = _html.HF_DEFAULT_STYLE
HF_EMBEDDED = _html.HF_EMBEDDED
HF_DIALOG = _html.HF_DIALOG
HF_FRAME = _html.HF_FRAME
HF_MODAL = _html.HF_MODAL
ID_HTML_PANEL = _html.ID_HTML_PANEL
ID_HTML_BACK = _html.ID_HTML_BACK
ID_HTML_FORWARD = _html.ID_HTML_FORWARD
ID_HTML_UPNODE = _html.ID_HTML_UPNODE
ID_HTML_UP = _html.ID_HTML_UP
ID_HTML_DOWN = _html.ID_HTML_DOWN
ID_HTML_PRINT = _html.ID_HTML_PRINT
ID_HTML_OPENFILE = _html.ID_HTML_OPENFILE
ID_HTML_OPTIONS = _html.ID_HTML_OPTIONS
ID_HTML_BOOKMARKSLIST = _html.ID_HTML_BOOKMARKSLIST
ID_HTML_BOOKMARKSADD = _html.ID_HTML_BOOKMARKSADD
ID_HTML_BOOKMARKSREMOVE = _html.ID_HTML_BOOKMARKSREMOVE
ID_HTML_TREECTRL = _html.ID_HTML_TREECTRL
ID_HTML_INDEXPAGE = _html.ID_HTML_INDEXPAGE
ID_HTML_INDEXLIST = _html.ID_HTML_INDEXLIST
ID_HTML_INDEXTEXT = _html.ID_HTML_INDEXTEXT
ID_HTML_INDEXBUTTON = _html.ID_HTML_INDEXBUTTON
ID_HTML_INDEXBUTTONALL = _html.ID_HTML_INDEXBUTTONALL
ID_HTML_NOTEBOOK = _html.ID_HTML_NOTEBOOK
ID_HTML_SEARCHPAGE = _html.ID_HTML_SEARCHPAGE
ID_HTML_SEARCHTEXT = _html.ID_HTML_SEARCHTEXT
ID_HTML_SEARCHLIST = _html.ID_HTML_SEARCHLIST
ID_HTML_SEARCHBUTTON = _html.ID_HTML_SEARCHBUTTON
ID_HTML_SEARCHCHOICE = _html.ID_HTML_SEARCHCHOICE
ID_HTML_COUNTINFO = _html.ID_HTML_COUNTINFO
class HtmlHelpWindow(_core.Window):
"""Proxy of C++ HtmlHelpWindow class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ??, Point pos=DefaultPosition, Size size=DefaultSize,
int style=wxTAB_TRAVERSAL|wxNO_BORDER,
int helpStyle=HF_DEFAULT_STYLE,
HtmlHelpData data=None) -> HtmlHelpWindow
"""
newobj = _html.new_HtmlHelpWindow(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs):
"""
Create(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
int style=wxTAB_TRAVERSAL|wxNO_BORDER,
int helpStyle=HF_DEFAULT_STYLE) -> bool
"""
return _html.HtmlHelpWindow_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpWindow_GetData(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpWindow_GetController(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpWindow_SetController(*args, **kwargs)
def Display(*args, **kwargs):
"""Display(self, String x) -> bool"""
return _html.HtmlHelpWindow_Display(*args, **kwargs)
def DisplayID(*args, **kwargs):
"""DisplayID(self, int id) -> bool"""
return _html.HtmlHelpWindow_DisplayID(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self) -> bool"""
return _html.HtmlHelpWindow_DisplayContents(*args, **kwargs)
def DisplayIndex(*args, **kwargs):
"""DisplayIndex(self) -> bool"""
return _html.HtmlHelpWindow_DisplayIndex(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String keyword, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
return _html.HtmlHelpWindow_KeywordSearch(*args, **kwargs)
def UseConfig(*args, **kwargs):
"""UseConfig(self, ConfigBase config, String rootpath=wxEmptyString)"""
return _html.HtmlHelpWindow_UseConfig(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
"""ReadCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
return _html.HtmlHelpWindow_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
"""WriteCustomization(self, ConfigBase cfg, String path=wxEmptyString)"""
return _html.HtmlHelpWindow_WriteCustomization(*args, **kwargs)
def NotifyPageChanged(*args, **kwargs):
"""NotifyPageChanged(self)"""
return _html.HtmlHelpWindow_NotifyPageChanged(*args, **kwargs)
def RefreshLists(*args, **kwargs):
"""RefreshLists(self)"""
return _html.HtmlHelpWindow_RefreshLists(*args, **kwargs)
def GetHtmlWindow(*args, **kwargs):
"""GetHtmlWindow(self) -> wxHtmlWindow"""
return _html.HtmlHelpWindow_GetHtmlWindow(*args, **kwargs)
def GetSplitterWindow(*args, **kwargs):
"""GetSplitterWindow(self) -> SplitterWindow"""
return _html.HtmlHelpWindow_GetSplitterWindow(*args, **kwargs)
def GetToolBar(*args, **kwargs):
"""GetToolBar(self) -> wxToolBar"""
return _html.HtmlHelpWindow_GetToolBar(*args, **kwargs)
def GetCfgData(*args, **kwargs):
"""GetCfgData(self) -> wxHtmlHelpFrameCfg"""
return _html.HtmlHelpWindow_GetCfgData(*args, **kwargs)
def GetTreeCtrl(*args, **kwargs):
"""GetTreeCtrl(self) -> wxTreeCtrl"""
return _html.HtmlHelpWindow_GetTreeCtrl(*args, **kwargs)
class HtmlHelpWindowPtr(HtmlHelpWindow):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = HtmlHelpWindow
_html.HtmlHelpWindow_swigregister(HtmlHelpWindowPtr)
def PreHtmlHelpWindow(*args, **kwargs):
"""PreHtmlHelpWindow(HtmlHelpData data=None) -> HtmlHelpWindow"""
val = _html.new_PreHtmlHelpWindow(*args, **kwargs)
val.thisown = 1
self._setOORInfo(self)
return val
class HtmlWindowEvent(_core.NotifyEvent):
"""Proxy of C++ HtmlWindowEvent class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlWindowEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, wxEventType commandType=wxEVT_NULL, int id=0) -> HtmlWindowEvent"""
newobj = _html.new_HtmlWindowEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
def SetURL(*args, **kwargs):
"""SetURL(self, String url)"""
return _html.HtmlWindowEvent_SetURL(*args, **kwargs)
def GetURL(*args, **kwargs):
"""GetURL(self) -> String"""
return _html.HtmlWindowEvent_GetURL(*args, **kwargs)
class HtmlWindowEventPtr(HtmlWindowEvent):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = HtmlWindowEvent
_html.HtmlWindowEvent_swigregister(HtmlWindowEventPtr)
class HtmlHelpFrame(_windows.Frame):
"""Proxy of C++ HtmlHelpFrame class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULTSTYLE,
__init__(self, Window parent, int ??, String title=EmptyString, int style=wxHF_DEFAULTSTYLE,
HtmlHelpData data=None) -> HtmlHelpFrame
"""
newobj = _html.new_HtmlHelpFrame(*args, **kwargs)
@ -1580,6 +1760,10 @@ class HtmlHelpFrame(_windows.Frame):
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs):
"""Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
return _html.HtmlHelpFrame_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpFrame_GetData(*args, **kwargs)
@ -1588,37 +1772,41 @@ class HtmlHelpFrame(_windows.Frame):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpFrame_SetTitleFormat(*args, **kwargs)
def Display(*args, **kwargs):
"""Display(self, String x)"""
return _html.HtmlHelpFrame_Display(*args, **kwargs)
def AddGrabIfNeeded(*args, **kwargs):
"""AddGrabIfNeeded(self)"""
return _html.HtmlHelpFrame_AddGrabIfNeeded(*args, **kwargs)
def DisplayID(*args, **kwargs):
"""DisplayID(self, int id)"""
return _html.HtmlHelpFrame_DisplayID(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpFrame_GetController(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self)"""
return _html.HtmlHelpFrame_DisplayContents(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpFrame_SetController(*args, **kwargs)
def DisplayIndex(*args, **kwargs):
"""DisplayIndex(self)"""
return _html.HtmlHelpFrame_DisplayIndex(*args, **kwargs)
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpFrame_GetHelpWindow(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String keyword) -> bool"""
return _html.HtmlHelpFrame_KeywordSearch(*args, **kwargs)
# For compatibility from before the refactor
def Display(self, x):
return self.GetHelpWindow().Display(x)
def DisplayID(self, x):
return self.GetHelpWindow().DisplayID(id)
def DisplayContents(self):
return self.GetHelpWindow().DisplayContents()
def DisplayIndex(self):
return self.GetHelpWindow().DisplayIndex()
def UseConfig(*args, **kwargs):
"""UseConfig(self, ConfigBase config, String rootpath=EmptyString)"""
return _html.HtmlHelpFrame_UseConfig(*args, **kwargs)
def ReadCustomization(*args, **kwargs):
"""ReadCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpFrame_ReadCustomization(*args, **kwargs)
def WriteCustomization(*args, **kwargs):
"""WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpFrame_WriteCustomization(*args, **kwargs)
def KeywordSearch(self, keyword):
return self.GetHelpWindow().KeywordSearch(keyword)
def UseConfig(self, config, rootpath=""):
return self.GetHelpWindow().UseConfig(config, rootpath)
def ReadCustomization(self, config, rootpath=""):
return self.GetHelpWindow().ReadCustomization(config, rootpath)
def WriteCustomization(self, config, rootpath=""):
return self.GetHelpWindow().WriteCustomization(config, rootpath)
class HtmlHelpFramePtr(HtmlHelpFrame):
@ -1628,21 +1816,155 @@ class HtmlHelpFramePtr(HtmlHelpFrame):
self.__class__ = HtmlHelpFrame
_html.HtmlHelpFrame_swigregister(HtmlHelpFramePtr)
HF_TOOLBAR = _html.HF_TOOLBAR
HF_FLATTOOLBAR = _html.HF_FLATTOOLBAR
HF_CONTENTS = _html.HF_CONTENTS
HF_INDEX = _html.HF_INDEX
HF_SEARCH = _html.HF_SEARCH
HF_BOOKMARKS = _html.HF_BOOKMARKS
HF_OPENFILES = _html.HF_OPENFILES
HF_PRINT = _html.HF_PRINT
HF_DEFAULTSTYLE = _html.HF_DEFAULTSTYLE
class HtmlHelpController(_core.Object):
def PreHtmlHelpFrame(*args, **kwargs):
"""PreHtmlHelpFrame(HtmlHelpData data=None) -> HtmlHelpFrame"""
val = _html.new_PreHtmlHelpFrame(*args, **kwargs)
val.thisown = 1
self._setOORInfo(self)
return val
class HtmlHelpDialog(_windows.Dialog):
"""Proxy of C++ HtmlHelpDialog class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, int ??, String title=EmptyString, int style=HF_DEFAULT_STYLE,
HtmlHelpData data=None) -> HtmlHelpDialog
"""
newobj = _html.new_HtmlHelpDialog(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
self._setOORInfo(self)
def Create(*args, **kwargs):
"""Create(self, Window parent, int id, String title=EmptyString, int style=HF_DEFAULT_STYLE) -> bool"""
return _html.HtmlHelpDialog_Create(*args, **kwargs)
def GetData(*args, **kwargs):
"""GetData(self) -> HtmlHelpData"""
return _html.HtmlHelpDialog_GetData(*args, **kwargs)
def GetController(*args, **kwargs):
"""GetController(self) -> HtmlHelpController"""
return _html.HtmlHelpDialog_GetController(*args, **kwargs)
def SetController(*args, **kwargs):
"""SetController(self, HtmlHelpController controller)"""
return _html.HtmlHelpDialog_SetController(*args, **kwargs)
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpDialog_GetHelpWindow(*args, **kwargs)
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpDialog_SetTitleFormat(*args, **kwargs)
class HtmlHelpDialogPtr(HtmlHelpDialog):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = HtmlHelpDialog
_html.HtmlHelpDialog_swigregister(HtmlHelpDialogPtr)
def PreHtmlHelpDialog(*args, **kwargs):
"""PreHtmlHelpDialog(HtmlHelpData data=None) -> HtmlHelpDialog"""
val = _html.new_PreHtmlHelpDialog(*args, **kwargs)
val.thisown = 1
self._setOORInfo(self)
return val
class HelpControllerBase(_core.Object):
"""Proxy of C++ HelpControllerBase class"""
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
return "<%s.%s; proxy of C++ wxHelpControllerBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def Initialize(*args):
"""
Initialize(self, String file, int server) -> bool
Initialize(self, String file) -> bool
"""
return _html.HelpControllerBase_Initialize(*args)
def SetViewer(*args, **kwargs):
"""SetViewer(self, String viewer, long flags=0)"""
return _html.HelpControllerBase_SetViewer(*args, **kwargs)
def LoadFile(*args, **kwargs):
"""LoadFile(self, String file=wxEmptyString) -> bool"""
return _html.HelpControllerBase_LoadFile(*args, **kwargs)
def DisplayContents(*args, **kwargs):
"""DisplayContents(self) -> bool"""
return _html.HelpControllerBase_DisplayContents(*args, **kwargs)
def DisplayContextPopup(*args, **kwargs):
"""DisplayContextPopup(self, int contextId) -> bool"""
return _html.HelpControllerBase_DisplayContextPopup(*args, **kwargs)
def DisplayTextPopup(*args, **kwargs):
"""DisplayTextPopup(self, String text, Point pos) -> bool"""
return _html.HelpControllerBase_DisplayTextPopup(*args, **kwargs)
def DisplaySection(*args):
"""
DisplaySection(self, int sectionNo) -> bool
DisplaySection(self, String section) -> bool
"""
return _html.HelpControllerBase_DisplaySection(*args)
def DisplayBlock(*args, **kwargs):
"""DisplayBlock(self, long blockNo) -> bool"""
return _html.HelpControllerBase_DisplayBlock(*args, **kwargs)
def KeywordSearch(*args, **kwargs):
"""KeywordSearch(self, String k, wxHelpSearchMode mode=wxHELP_SEARCH_ALL) -> bool"""
return _html.HelpControllerBase_KeywordSearch(*args, **kwargs)
def SetFrameParameters(*args, **kwargs):
"""
SetFrameParameters(self, String title, Size size, Point pos=DefaultPosition,
bool newFrameEachTime=False)
"""
return _html.HelpControllerBase_SetFrameParameters(*args, **kwargs)
def GetFrameParameters(*args, **kwargs):
"""GetFrameParameters(self, Size size=None, Point pos=None, bool newFrameEachTime=None) -> Frame"""
return _html.HelpControllerBase_GetFrameParameters(*args, **kwargs)
def Quit(*args, **kwargs):
"""Quit(self) -> bool"""
return _html.HelpControllerBase_Quit(*args, **kwargs)
def OnQuit(*args, **kwargs):
"""OnQuit(self)"""
return _html.HelpControllerBase_OnQuit(*args, **kwargs)
def SetParentWindow(*args, **kwargs):
"""SetParentWindow(self, Window win)"""
return _html.HelpControllerBase_SetParentWindow(*args, **kwargs)
def GetParentWindow(*args, **kwargs):
"""GetParentWindow(self) -> Window"""
return _html.HelpControllerBase_GetParentWindow(*args, **kwargs)
class HelpControllerBasePtr(HelpControllerBase):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = HelpControllerBase
_html.HelpControllerBase_swigregister(HelpControllerBasePtr)
class HtmlHelpController(HelpControllerBase):
"""Proxy of C++ HtmlHelpController class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlHelpController instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self, int style=HF_DEFAULTSTYLE) -> HtmlHelpController"""
"""__init__(self, int style=HF_DEFAULT_STYLE, Window parentWindow=None) -> HtmlHelpController"""
newobj = _html.new_HtmlHelpController(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
@ -1653,6 +1975,22 @@ class HtmlHelpController(_core.Object):
if self.thisown: destroy(self)
except: pass
def GetHelpWindow(*args, **kwargs):
"""GetHelpWindow(self) -> HtmlHelpWindow"""
return _html.HtmlHelpController_GetHelpWindow(*args, **kwargs)
def SetHelpWindow(*args, **kwargs):
"""SetHelpWindow(self, HtmlHelpWindow helpWindow)"""
return _html.HtmlHelpController_SetHelpWindow(*args, **kwargs)
def GetFrame(*args, **kwargs):
"""GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def GetDialog(*args, **kwargs):
"""GetDialog(self) -> HtmlHelpDialog"""
return _html.HtmlHelpController_GetDialog(*args, **kwargs)
def SetTitleFormat(*args, **kwargs):
"""SetTitleFormat(self, String format)"""
return _html.HtmlHelpController_SetTitleFormat(*args, **kwargs)
@ -1697,9 +2035,13 @@ class HtmlHelpController(_core.Object):
"""WriteCustomization(self, ConfigBase cfg, String path=EmptyString)"""
return _html.HtmlHelpController_WriteCustomization(*args, **kwargs)
def GetFrame(*args, **kwargs):
"""GetFrame(self) -> HtmlHelpFrame"""
return _html.HtmlHelpController_GetFrame(*args, **kwargs)
def MakeModalIfNeeded(*args, **kwargs):
"""MakeModalIfNeeded(self)"""
return _html.HtmlHelpController_MakeModalIfNeeded(*args, **kwargs)
def FindTopLevelWindow(*args, **kwargs):
"""FindTopLevelWindow(self) -> Window"""
return _html.HtmlHelpController_FindTopLevelWindow(*args, **kwargs)
def Destroy(self): pass
@ -1710,4 +2052,25 @@ class HtmlHelpControllerPtr(HtmlHelpController):
self.__class__ = HtmlHelpController
_html.HtmlHelpController_swigregister(HtmlHelpControllerPtr)
class HtmlModalHelp(object):
"""Proxy of C++ HtmlModalHelp class"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxHtmlModalHelp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""
__init__(self, Window parent, String helpFile, String topic=wxEmptyString,
int style=wxHF_DEFAULT_STYLE|wxHF_DIALOG|wxHF_MODAL) -> HtmlModalHelp
"""
newobj = _html.new_HtmlModalHelp(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
class HtmlModalHelpPtr(HtmlModalHelp):
def __init__(self, this):
self.this = this
if not hasattr(self,"thisown"): self.thisown = 0
self.__class__ = HtmlModalHelp
_html.HtmlModalHelp_swigregister(HtmlModalHelpPtr)

File diff suppressed because one or more lines are too long