Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/m/i/mieru-HEAD/platforms/maemo5.py   mieru(Download)
    lastModeNumber = self._getRotationModeNumber(rotationMode) # get last used mode number
    applicationName = "mieru"
    import maemo5_autorotation
    rObject = maemo5_autorotation.FremantleRotation(applicationName, main_window=self.mieru.gui.getWindow(), mode=lastModeNumber)
    return rObject