#3046 NORM Trial-3: need way to hide and show multiple gtk.Windows
    Zarro Boogs per Child 
    bugtracker at laptop.org
       
    Mon Aug 27 15:53:14 EDT 2007
    
    
  
#3046: need way to hide and show multiple gtk.Windows
-----------------------------+----------------------------------------------
 Reporter:  erikb            |       Owner:  dcbw     
     Type:  defect           |      Status:  new      
 Priority:  normal           |   Milestone:  Trial-3  
Component:  camera-activity  |     Version:  Build 542
 Keywords:                   |    Verified:  0        
-----------------------------+----------------------------------------------
 If multiple gtk.Windows are set_transient() for each other, they cannot
 reliably hide() and show() without sometimes not re-showing...
 Here is an attempt at how this could be done (but is not successful):
 {{{
 self.windowOne.hide()
 self.windowTwo.hide()
 #move the windows around, resize them, but cloaked from sight
 self.windowOne.realize()
 self.windowOne.set_transient_for( self.activity )
 self.windowOne.raise_()
 self.windowOne.show_all()
 self.windowTwo.realize()
 self.windowTwo.set_transient_for( self.windowOne )
 self.windowTwo.raise_()
 self.windowTwo.show_all()
 }}}
-- 
Ticket URL: <https://dev.laptop.org/ticket/3046>
One Laptop Per Child <http://laptop.org/>
    
    
More information about the Bugs
mailing list