Changeset 4029

Show
Ignore:
Timestamp:
05/30/07 16:00:44 (6 years ago)
Author:
DrewCormier
Message:

additional support for referencing the grandparent frame. removed unused app.refresh method

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/image_display/trunk/image_display/image_display.py

    r4028 r4029  
    4545class image_display_i(CF__POA.Resource): 
    4646    def __init__(self, prnt_orb, uuid, label, poa): 
     47        self.prnt_orb = prnt_orb 
     48 
    4749        CF._objref_Resource.__init__(self._this()) 
    4850        print "image_display_i __init__: " + label 
     
    111113     
    112114    def __init__(self, prnt_frame, uuid, label): 
     115        self.prnt_frame = prnt_frame 
     116 
    113117        # initialize the orb 
    114118        self.orb = CORBA.ORB_init() 
     
    190194        return True 
    191195 
    192     def refresh(self,image_name): 
    193         image = wx.Image(image_name, wx.BITMAP_TYPE_JPEG) 
    194         self.frame.refresh(image) 
    195         self.frame.Show() 
    196196 
    197197