Logo Search packages:      
Sourcecode: harpia version File versions  Download package

def harpia::harpiagcfrontend::S2iHarpiaFrontend::on_DeleteMenuBar_activate (   self,
  args 
)

Callback function called when DeleteMenuBar is activated. Deletes the selected item.

Definition at line 359 of file harpiagcfrontend.py.

00359                                                 :
            """
            Callback function called when DeleteMenuBar is activated. Deletes the selected item.
            """
            if self.m_oGcDiagrams.has_key( self.widgets['WorkArea'].get_current_page() ): 
                  t_oGcDiagram = self.m_oGcDiagrams[self.widgets['WorkArea'].get_current_page()]
                  blockId = t_oGcDiagram.GetBlockOnFocus()
                  if t_oGcDiagram.m_oBlocks.has_key(blockId):
                        t_oGcDiagram.DeleteBlock(blockId)
            
                  
      #----------------------------------------------------------------------


Generated by  Doxygen 1.6.0   Back to index