2011-10-23から1日間の記事一覧
次はボックス!! #!/use/bin/env python # -*- coding:utf-8 -*- from gi.repository import Gtk class MainWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title=u'Box') self.box = Gtk.Box(spacing=5) self.add(self.box) self.but…
今日は、ボタンでも表示してみましょうww #!/usr/bin/env python # -*- coding:utf-8 -*- from gi.repository import Gtk class MainWindow(Gtk.Window): def __init__(self): Gtk.Window.__init__(self, title=u'Button') self.button = Gtk.Button(label…