Did I find the right examples for you? yes no

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

src/d/e/deepin-music-player-HEAD/plugins/mpris2/mpris_adapter.py   deepin-music-player(Download)
    def Pause(self):
        Player.pause()
 
    @dbus.service.method(ORG_MPRIS_MEDIAPLAYER2_PLAYER)
    def Play(self):

src/d/e/deepin-music-player-HEAD/src/widget/instance.py   deepin-music-player(Download)
    def force_quit(self, *args):    
        self.loginfo("Start quit...")
        self.app_hide_all()
        Player.save_state()
        if not Player.is_paused(): Player.pause()