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

def AmpacheTools::AmpacheGUI::AmpacheGUI::on_time_elapsed_slider_change (   self,

Misc Selection Methods.

When the user moves the seek bar.

Definition at line 2269 of file AmpacheGUI.py.

            """When the user moves the seek bar."""
            seek_time_secs = slider.get_value()
            human_readable = helperfunctions.convert_seconds_to_human_readable(seek_time_secs)
            gobject.idle_add(self.time_seek_label.set_text, human_readable)
            if self.audio_engine.seek(seek_time_secs):
                  print "Seek to %s successful" % human_readable
                  print "Seek to %s failed!" % human_readable
            return True

Generated by  Doxygen 1.6.0   Back to index