def ProcessEvent(self, *_args, **_kwargs):
val = apply(windowsc.wxEvtHandler_ProcessEvent,(self,) + _args, _kwargs)
return val
+ def GetEvtHandlerEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetEvtHandlerEnabled,(self,) + _args, _kwargs)
+ return val
+ def SetEvtHandlerEnabled(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetEvtHandlerEnabled,(self,) + _args, _kwargs)
+ return val
+ def GetNextHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetNextHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def GetPreviousHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_GetPreviousHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def SetNextHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetNextHandler,(self,) + _args, _kwargs)
+ return val
+ def SetPreviousHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxEvtHandler_SetPreviousHandler,(self,) + _args, _kwargs)
+ return val
def Connect(self, *_args, **_kwargs):
val = apply(windowsc.wxEvtHandler_Connect,(self,) + _args, _kwargs)
return val
+class wxValidatorPtr(wxEvtHandlerPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Clone(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_Clone,(self,) + _args, _kwargs)
+ if val: val = wxValidatorPtr(val)
+ return val
+ def GetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_GetWindow,(self,) + _args, _kwargs)
+ if val: val = wxWindowPtr(val)
+ return val
+ def SetWindow(self, *_args, **_kwargs):
+ val = apply(windowsc.wxValidator_SetWindow,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxValidator instance at %s>" % (self.this,)
+class wxValidator(wxValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxValidator,_args,_kwargs)
+ self.thisown = 1
+
+
+
+
+class wxPyValidatorPtr(wxValidatorPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def Destroy(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator_Destroy,(self,) + _args, _kwargs)
+ return val
+ def _setSelf(self, *_args, **_kwargs):
+ val = apply(windowsc.wxPyValidator__setSelf,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxPyValidator instance at %s>" % (self.this,)
+class wxPyValidator(wxPyValidatorPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(windowsc.new_wxPyValidator,_args,_kwargs)
+ self.thisown = 1
+ self._setSelf(self, 0)
+
+
+
+
class wxWindowPtr(wxEvtHandlerPtr):
def __init__(self,this):
self.this = this
val = apply(windowsc.wxWindow_GetBackgroundColour,(self,) + _args, _kwargs)
if val: val = wxColourPtr(val) ; val.thisown = 1
return val
+ def GetChildren(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetChildren,(self,) + _args, _kwargs)
+ return val
def GetCharHeight(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetCharHeight,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetConstraints,(self,) + _args, _kwargs)
if val: val = wxLayoutConstraintsPtr(val)
return val
+ def GetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetEventHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
def GetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_GetFont,(self,) + _args, _kwargs)
if val: val = wxFontPtr(val)
def Move(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_Move,(self,) + _args, _kwargs)
return val
+ def PopEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_PopEventHandler,(self,) + _args, _kwargs)
+ if val: val = wxEvtHandlerPtr(val)
+ return val
+ def PushEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_PushEventHandler,(self,) + _args, _kwargs)
+ return val
def PopupMenuXY(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_PopupMenuXY,(self,) + _args, _kwargs)
return val
def SetAutoLayout(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetAutoLayout,(self,) + _args, _kwargs)
return val
+ def GetAutoLayout(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetAutoLayout,(self,) + _args, _kwargs)
+ return val
def SetBackgroundColour(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetBackgroundColour,(self,) + _args, _kwargs)
return val
def SetConstraints(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetConstraints,(self,) + _args, _kwargs)
return val
+ def UnsetConstraints(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_UnsetConstraints,(self,) + _args, _kwargs)
+ return val
def SetFocus(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetFocus,(self,) + _args, _kwargs)
return val
+ def AcceptsFocus(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_AcceptsFocus,(self,) + _args, _kwargs)
+ return val
def SetFont(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetFont,(self,) + _args, _kwargs)
return val
def SetCursor(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs)
return val
+ def SetEventHandler(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetEventHandler,(self,) + _args, _kwargs)
+ return val
def SetTitle(self, *_args, **_kwargs):
val = apply(windowsc.wxWindow_SetTitle,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxWindow_GetToolTip,(self,) + _args, _kwargs)
if val: val = wxToolTipPtr(val)
return val
+ def SetSizer(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetSizer,(self,) + _args, _kwargs)
+ return val
+ def GetValidator(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_GetValidator,(self,) + _args, _kwargs)
+ if val: val = wxValidatorPtr(val)
+ return val
+ def SetValidator(self, *_args, **_kwargs):
+ val = apply(windowsc.wxWindow_SetValidator,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxWindow instance at %s>" % (self.this,)
class wxWindow(wxWindowPtr):
def ViewStart(self, *_args, **_kwargs):
val = apply(windowsc.wxScrolledWindow_ViewStart,(self,) + _args, _kwargs)
return val
+ def CalcScrolledPosition(self, *_args, **_kwargs):
+ val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition,(self,) + _args, _kwargs)
+ return val
+ def CalcUnscrolledPosition(self, *_args, **_kwargs):
+ val = apply(windowsc.wxScrolledWindow_CalcUnscrolledPosition,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxScrolledWindow instance at %s>" % (self.this,)
class wxScrolledWindow(wxScrolledWindowPtr):
val = apply(windowsc.wxMenuBar_FindItemForId,(self,) + _args, _kwargs)
if val: val = wxMenuItemPtr(val)
return val
+ def SetLabel(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_SetLabel,(self,) + _args, _kwargs)
+ return val
def EnableTop(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_EnableTop,(self,) + _args, _kwargs)
return val
def SetHelpString(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_SetHelpString,(self,) + _args, _kwargs)
return val
- def SetLabel(self, *_args, **_kwargs):
- val = apply(windowsc.wxMenuBar_SetLabel,(self,) + _args, _kwargs)
- return val
def GetLabelTop(self, *_args, **_kwargs):
val = apply(windowsc.wxMenuBar_GetLabelTop,(self,) + _args, _kwargs)
return val
val = apply(windowsc.wxMenuBar_GetMenu,(self,) + _args, _kwargs)
if val: val = wxMenuPtr(val)
return val
+ def Refresh(self, *_args, **_kwargs):
+ val = apply(windowsc.wxMenuBar_Refresh,(self,) + _args, _kwargs)
+ return val
def __repr__(self):
return "<C wxMenuBar instance at %s>" % (self.this,)
class wxMenuBar(wxMenuBarPtr):
#-------------- FUNCTION WRAPPERS ------------------
+wxValidator_IsSilent = windowsc.wxValidator_IsSilent
+
+wxValidator_SetBellOnError = windowsc.wxValidator_SetBellOnError
+
def wxWindow_FindFocus(*_args, **_kwargs):
val = apply(windowsc.wxWindow_FindFocus,_args,_kwargs)
if val: val = wxWindowPtr(val)