music-dl/src/wxUI/menus.py

11 lines
326 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
import wx
class contextMenu(wx.Menu):
def __init__(self, *args, **kwargs):
super(contextMenu, self).__init__(*args, **kwargs)
self.play = wx.MenuItem(self, wx.NewId(), _("Play"))
2018-01-26 13:51:54 -06:00
self.Append(self.play)
self.download = wx.MenuItem(self, wx.NewId(), _("Download"))
2018-01-26 13:51:54 -06:00
self.Append(self.download)