sonist-gtk/window.py

20 lines
356 B
Python

#!/usr/bin/env python3
import gi, sys, os
from pprint import pprint as print
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GLib, GdkPixbuf
class SonistWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self)
self.set_default_size(480, 320)
button = Gtk.Button()
self.add(button)
self.show_all()
python + gtk3开发的基于mpd后端的音乐播放器
Python 99.1%
Shell 0.9%