def __init__(self, adate=None):
Gtk.EventBox.__init__(self)
self.set_size_request(100, 70)
box1 = Gtk.Box.new(Gtk.Orientation.VERTICAL, 0)
self.add(box1)
self.label = Gtk.Label()
box1.pack_start(self.label, True, True, padding=1)
self.image = Gtk.Image()
box1.pack_start(self.image, True, True, padding=1)
if adate is not None:
self.set_date(adate)
self.image.show()
mooncalendarwindow.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录