Pythonのお勉強 Part30 at TECH
[2ch|▼Menu]
590:デフォルトの名無しさん
08/12/18 23:06:32
>>586
コマンドラインからでもウィンドウを表示できることは理解されているでしょうか?

$ python
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> class MyApp(wx.App):
... def OnInit(self):
... frame = wx.Frame(None, 0, "Title")
... frame.Show(True)
... self.SetTopWindow(frame)
... return True
...
>>> app = MyApp(0)
>>> app.MainLoop() # ←ここで中身が何もないウィンドウが出る。
>>>



次ページ
続きを表示
1を表示
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
暇つぶし2ch

5095日前に更新/206 KB
担当:undef