X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9df61a29d2ff6ec6037c04a4da6d5418c1a5fbc9..45eb5249574b0f1f50db5e6a7eb5bba43fd99cb9:/wxPython/src/gtk/events.py?ds=inline diff --git a/wxPython/src/gtk/events.py b/wxPython/src/gtk/events.py index fafb968f4c..85de45a1f6 100644 --- a/wxPython/src/gtk/events.py +++ b/wxPython/src/gtk/events.py @@ -135,6 +135,9 @@ class wxCommandEventPtr(wxEventPtr): def SetInt(self, *_args, **_kwargs): val = apply(eventsc.wxCommandEvent_SetInt,(self,) + _args, _kwargs) return val + def GetClientData(self, *_args, **_kwargs): + val = apply(eventsc.wxCommandEvent_GetClientData,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxCommandEvent(wxCommandEventPtr): @@ -640,6 +643,9 @@ class wxIconizeEventPtr(wxEventPtr): def __init__(self,this): self.this = this self.thisown = 0 + def Iconized(self, *_args, **_kwargs): + val = apply(eventsc.wxIconizeEvent_Iconized,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxIconizeEvent(wxIconizeEventPtr): @@ -939,6 +945,29 @@ class wxTimerEvent(wxTimerEventPtr): +class wxTextUrlEventPtr(wxCommandEventPtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def GetMouseEvent(self, *_args, **_kwargs): + val = apply(eventsc.wxTextUrlEvent_GetMouseEvent,(self,) + _args, _kwargs) + return val + def GetURLStart(self, *_args, **_kwargs): + val = apply(eventsc.wxTextUrlEvent_GetURLStart,(self,) + _args, _kwargs) + return val + def GetURLEnd(self, *_args, **_kwargs): + val = apply(eventsc.wxTextUrlEvent_GetURLEnd,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxTextUrlEvent(wxTextUrlEventPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(eventsc.new_wxTextUrlEvent,_args,_kwargs) + self.thisown = 1 + + + + class wxPyEventPtr(wxEventPtr): def __init__(self,this): self.this = this