X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc29c5e0e116edd9552cf023711b13e3495bcfaf..64d8470859a25270ed08ec66f25ad58bab091d7a:/utils/wxPython/src/gtk/misc2.py diff --git a/utils/wxPython/src/gtk/misc2.py b/utils/wxPython/src/gtk/misc2.py index 1ac58a1154..bae1cec70f 100644 --- a/utils/wxPython/src/gtk/misc2.py +++ b/utils/wxPython/src/gtk/misc2.py @@ -6,6 +6,10 @@ from windows import * from misc import * from gdi import * + +from clip_dnd import * + +from events import * class wxToolTipPtr : def __init__(self,this): self.this = this @@ -89,6 +93,56 @@ class wxCaret(wxCaretPtr): +class wxFontEnumeratorPtr : + def __init__(self,this): + self.this = this + self.thisown = 0 + def __del__(self,misc2c=misc2c): + if self.thisown == 1 : + misc2c.delete_wxFontEnumerator(self) + def _setSelf(self, *_args, **_kwargs): + val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs) + return val + def EnumerateFacenames(self, *_args, **_kwargs): + val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs) + return val + def EnumerateEncodings(self, *_args, **_kwargs): + val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs) + return val + def GetEncodings(self, *_args, **_kwargs): + val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs) + return val + def GetFacenames(self, *_args, **_kwargs): + val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxFontEnumerator(wxFontEnumeratorPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) + self.thisown = 1 + self._setSelf(self) + + + + +class wxBusyCursorPtr : + def __init__(self,this): + self.this = this + self.thisown = 0 + def __del__(self,misc2c=misc2c): + if self.thisown == 1 : + misc2c.delete_wxBusyCursor(self) + def __repr__(self): + return "" % (self.this,) +class wxBusyCursor(wxBusyCursorPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) + self.thisown = 1 + + + + #-------------- FUNCTION WRAPPERS ------------------ @@ -175,6 +229,10 @@ wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime +wxPostEvent = misc2c.wxPostEvent + +wxWakeUpIdle = misc2c.wxWakeUpIdle + #-------------- VARIABLE WRAPPERS ------------------