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

def mago::application::ubuntu::UpdateManager::toggle_changes (   self,
  show 
)

It shows or hides the Description of the updates 

@type show: boolean
@param show: True, to show the description; False, to hide the description.

Definition at line 507 of file ubuntu.py.

00507                                   :
        """
        It shows or hides the Description of the updates 

        @type show: boolean
        @param show: True, to show the description; False, to hide the description.
        """
        try:
            updateManager = ooldtp.context(self.name)
        except ldtp.LdtpExecutionError:
            raise ldtp.LdtpExecutionError, "The Update Manager window was not found."
        
        try:
            toggle_button = updateManager.getchild(role='toggle button')
            state = toggle_button[0].verifytoggled()

            if state != show:
                toggle_button[0].click()
        except ldtp.LdtpExecutionError:
            raise ldtp.LdtpExecutionError, "The description button was not found."
        
        return state
        return state


Generated by  Doxygen 1.6.0   Back to index