X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ef752932bd40c566f0ea003f78e48a00c8295a9..f07962f933088c85ae0776cd2e4aec4579d31ffa:/wxPython/src/gtk/_windows.py diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 467f58598b..a970721b6d 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -286,6 +286,7 @@ FRAME_FLOAT_ON_PARENT = _windows_.FRAME_FLOAT_ON_PARENT FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR FRAME_SHAPED = _windows_.FRAME_SHAPED +FRAME_DRAWER = _windows_.FRAME_DRAWER DIALOG_MODAL = _windows_.DIALOG_MODAL DIALOG_MODELESS = _windows_.DIALOG_MODELESS USER_COLOURS = _windows_.USER_COLOURS @@ -367,6 +368,10 @@ class TopLevelWindow(_core.Window): """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)""" return _windows_.TopLevelWindow_RequestUserAttention(*args, **kwargs) + def IsActive(*args, **kwargs): + """IsActive(self) -> bool""" + return _windows_.TopLevelWindow_IsActive(*args, **kwargs) + class TopLevelWindowPtr(TopLevelWindow): def __init__(self, this): @@ -2045,18 +2050,18 @@ def PreHtmlListBox(*args, **kwargs): class TaskBarIcon(_core.EvtHandler): def __repr__(self): - return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): """__init__(self) -> TaskBarIcon""" newobj = _windows_.new_TaskBarIcon(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def __del__(self, destroy=_windows_.delete_TaskBarIcon): - """__del__(self)""" - try: - if self.thisown: destroy(self) - except: pass + self._setCallbackInfo(self, TaskBarIcon, 0) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)""" + return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs) def Destroy(*args, **kwargs): """ @@ -2099,7 +2104,7 @@ class TaskBarIconEvent(_core.Event): def __repr__(self): return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent""" + """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent""" newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1