This howto describes how to create plugins for gedit using python. Below follows a list of the different topics you need to know about. Note also that knowledge of GTK (and more importantly, PyGTK) is useful in creating an actual plugin. An extensive tutorial can be found here. Files needed Every python plugin needs at least two files. One file (pluginname.gedit-plugin) is to tell gedit where the
gEdit プラグインは Python で簡単に作れます。 せっかく Python の勉強をしているんだから作ってみましょう。 Gedit/Plugins - GNOME Live! おなじみ(?)本家プラグインのページの一番下に C と Python の houto へのリンクがあります。 つまりは C か Python でしか作れません、だから Python を選んだほうがいいと。 ということで gedit.Plugin を継承したクラスを作ってコードを書けばいいようである。 そしてそのコードを参照する INI ファイルを作って gedit-plugin と拡張子を付ける。 インスタンス化は勝手に gEdit がやってくれるようです。 Gedit/PythonPluginHowTo - GNOME Live! 英語だし意図的に難しく書いてあるとしか思えない内容なので勝手
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く