Ejemplo n.º 1
0
 def cb():
     valid = [('mp3', ''), ('wav', '')]
     file_path = nanogui.file_dialog(valid, False)
     song = open_song_from_file(file_path)
     layer = self.layers.add_layer('New Layer')
     if self.redraw_spec_cb:
         self.redraw_spec_cb()
Ejemplo n.º 2
0
 def cb():
     result = nanogui.file_dialog(valid, True)
     print("File dialog result = %s" % result)
Ejemplo n.º 3
0
 def cb():
     result = nanogui.file_dialog(valid, True)
     print("File dialog result = %s" % result)