def destroy(self): GComponent.destroy(self) wo = self._win if wo: wo.AttachObject(None) wo.ShowWindow(wc.SW_HIDE) application()._win_recycle(wo)
def destroy(self): #print "Component.destroy:", self ### GComponent.destroy(self) _ns_view = self._ns_view if _ns_view in Globals._ns_view_to_component: #print "Component.destroy: removing", _ns_view, "from mapping" ### del Globals._ns_view_to_component[_ns_view] #print "Component.destroy: breaking link to", self._ns_view ### self._ns_view = None #if self._ns_inner_view: print "Component.destroy: breaking inner link to", self._ns_inner_view ### self._ns_inner_view = None self._ns_responder = None
def destroy(self): gtk_widget = self._gtk_outer_widget if gtk_widget in _gtk_widget_to_component: del _gtk_widget_to_component[gtk_widget] GComponent.destroy(self)