music-dl/src/wxUI/menus.py

11 lines
334 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"))
self.AppendItem(self.play)
self.download = wx.MenuItem(self, wx.NewId(), _("Download"))
self.AppendItem(self.download)