Пример #1
0
 def destroy(self):
     GComponent.destroy(self)
     wo = self._win
     if wo:
         wo.AttachObject(None)
         wo.ShowWindow(wc.SW_HIDE)
         application()._win_recycle(wo)
Пример #2
0
 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
Пример #3
0
 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
Пример #4
0
 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)
Пример #5
0
 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)