The Python GTK+ 3 Tutorial — Python GTK+ 3 Tutorial 3.4 documentation
https://python-gtk-3-tutorial.readthedocs.io/en/latest/
相关链接
TextView (Python) | 使用 TextView 编写编辑器的示例
https://developer.gnome.org/gnome-devel-demos/stable/textview.py.html.en
图形菜单,通过 XML 创建:Gtk.UIManager/UI Definitions/XML-UI
https://docs.gtk.org/gtk3/class.UIManager.html#ui-definitions-xml-ui
改进
>>> Gtk.IconTheme.get_default() (.:27): Gtk-CRITICAL **: 23:56:29.577: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed