PyGTK
PyGTKはPythonでGUIを構築するためのクロスプラットフォームなライブラリである。PyGTKは自由ソフトウェアであり、LGPLの�…
| 最新版 |
3.52.3[1]
/ 2025年3月16日 |
|---|---|
| リポジトリ | |
| プラットフォーム | クロスプラットフォーム |
| 対応言語 | Python, C |
| サポート状況 | 開発継続中 |
| 種別 | ウィジェット・ツールキット |
| ライセンス | LGPL |
| 公式サイト |
www |
| 作者 | ジェームズ・ヘンストリッジ[2] |
|---|---|
| 開発元 | PyGTK Core development team[3] |
| 最新版 |
2.24.0 [4]
/ 2011年4月1日 |
| リポジトリ | |
| プラットフォーム | クロスプラットフォーム |
| サポート状況 | 終了 |
| 種別 | ウィジェット・ツールキット |
| ライセンス | LGPL |
| 公式サイト |
www |
PyGTKはPythonでGUIを構築するためのクロスプラットフォームなライブラリである。PyGTKは自由ソフトウェアであり、LGPLの下で配布されている。PyQt・PySide・wxPythonがそれぞれQtやwxWidgetsのラッパーであるように、PyGTKはGTKのラッパーである。PyGTKの元々の開発者はGNOMEの著名な開発者であるジェームズ・ヘンストリッジである。現在の主な開発者は6人であり、他にパッチやバグレポートを提供している多くの協力者がいる。PyGTKはOLPCプロジェクトでアプリケーションを動かす環境として選ばれている。PyGTKの開発者や関係者はirc.gnome.org上のIRCチャンネル上で見つけることができる。
PyGTKはGTKのバージョン3への移行を段階的に廃止され、Pythonやその他の言語におけるGObjectのバインディングであるPyGObjectへと置き換えられる[5][6]。これはGTKとバインディング間の更新の遅延を解消すること、開発者のメンテナンスの負担を軽減することを目的としている[7]。
Hello World
import gtk
def create_window():
window = gtk.Window()
window.set_default_size(200, 200)
window.connect('destroy', gtk.main_quit)
label = gtk.Label('Hello World')
window.add(label)
label.show()
window.show()
create_window()
gtk.main()
PyGTKを用いたソフトウェア
- Anaconda
- BitTorrent
- Deluge
- Emesene
- Exaile
- Ex Falso
- Flumotion
- Gajim
- gDesklets
- Gedit
- GIMP
- GNOME Sudoku
- GRAMPS
- Guake Terminal
- Gwibber
- Jokosher
- OpenERP
- PiTiVi
- puddletag
- PyMusique
- PyChess
- Pybliographer
- Quod Libet
- ROX Desktop
- Ubiquity (Ubuntuのインストーラ)
- Ubuntuソフトウェアセンター
- Wing IDE
関連項目
脚注
- ^ “Changelog - PyGObject”. 2025年3月27日閲覧。
- ^ Software I have written > PyGTK - Python bindings for GTK. - James Henstridge's Homepage
- ^ The people behind PyGTK
- ^ PyGTK 2.24 release announcement
- ^ https://wiki.gnome.org/PyGObject PyGObject
- ^ https://openhub.net/p/pygobject Open Hub: pygobject
- ^ GObject Introspection
外部リンク
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.