(self, request)
Sets the request mode (stop, reset, go, fail). The request is read by
        gps_main before sampling, and the appropriate action is taken.
Sets the request mode (stop, reset, go, fail). The request is read by
        gps_main before sampling, and the appropriate action is taken.
Sets the request mode ( stop reset go fail ) . The request is read by gps_main before sampling and the appropriate action is taken .
def request_mode(self, request):
        """
        Sets the request mode (stop, reset, go, fail). The request is read by
        gps_main before sampling, and the appropriate action is taken.
        """
        self.mode = 'request'
        self.request = request
        self.set_action_text(self.request + ' requested')
        self.set_action_bgcolor(self._colors[self.request], alpha=0.2)
def request_mode ( self , request ) : self . mode = 'request' self . request = request self . set_action_text ( self . request + ' requested' ) self . set_action_bgcolor ( self . _colors [ self . request ] , alpha = 0.2 )