Getting Started
File:simple_example.py
Let me explain:
To import Gtk class from gi.repository
To create a empty windows object.
To connect the window's delete event.
we display the window
we start the GTK+ processing loop which we quit when the window is closed (see line 5).
最后
以上就是忧虑手链最近收集整理的关于python-gtk-3-tutorial(1) Getting Started的全部内容,更多相关python-gtk-3-tutorial(1)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复