Logo Search packages:      
Sourcecode: kde-guidance version File versions  Download package

def displayconfigabstraction::Screen::getAvailableRotations (   self  ) 

Get the supported rotations for this screen.

Returns a bitmask of support rotations for this screen. The returned
integer is the bitwise OR of one or more of the constants here below.
* Screen.RR_Rotate_0
* Screen.RR_Rotate_90
* Screen.RR_Rotate_180
* Screen.RR_Rotate_270

Definition at line 1930 of file displayconfigabstraction.py.

01930                                    :
        """Get the supported rotations for this screen.
        
        Returns a bitmask of support rotations for this screen. The returned
        integer is the bitwise OR of one or more of the constants here below.
        * Screen.RR_Rotate_0
        * Screen.RR_Rotate_90
        * Screen.RR_Rotate_180
        * Screen.RR_Rotate_270
        """
        if self.x_live_screen is not None and self.x_live_screen.resolutionSupportAvailable():
            return self.x_live_screen.getAvailableRotations() & \
                (self.RR_Rotate_0 | self.RR_Rotate_90 | self.RR_Rotate_180 | self.RR_Rotate_270)
        else:
            return self.RR_Rotate_0 # FIXME
            
            
    # Reflection
    def getReflection(self):


Generated by  Doxygen 1.6.0   Back to index