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

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

Callback function called when CopyMenuBar is activated. Just copy the block.

Definition at line 322 of file harpiagcfrontend.py.

00322                                               :
            """
            Callback function called when CopyMenuBar is activated. Just copy the block.
            """
            if self.m_oGcDiagrams.has_key( self.widgets['WorkArea'].get_current_page() ): 
                  t_oGcDiagram = self.m_oGcDiagrams[self.widgets['WorkArea'].get_current_page()]
            
            self.m_oCopyBuffer = ( self.widgets['WorkArea'].get_current_page(), t_oGcDiagram.GetBlockOnFocus() ) ##apends tuple (pageN, blockN)
            print self.m_oCopyBuffer

      #----------------------------------------------------------------------


Generated by  Doxygen 1.6.0   Back to index