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

def AmpacheTools::AmpacheGUI::AmpacheGUI::media_key_pressed (   self,
  args 
)
Support Media Key Presses -- Merged from Andrew Barr

Definition at line 823 of file AmpacheGUI.py.

                                        :
            """Support Media Key Presses -- Merged from Andrew Barr"""
            key = args[1]
            op_function = { "Previous" : self.button_prev_clicked,
                  "Next" : self.button_next_clicked ,
                  "Stop" : self.audio_engine.stop ,
                  "Play" : self.button_play_pause_clicked   }
            op_function[key]()
            

Generated by  Doxygen 1.6.0   Back to index