<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Gedit Python Plugins</title>
	<atom:link href="http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins/feed" rel="self" type="application/rss+xml" />
	<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins</link>
	<description>a.k.a kikidonk — Scabreusement Hype</description>
	<pubDate>Fri, 21 Nov 2008 11:07:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Zac Carter</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-16546</link>
		<dc:creator>Zac Carter</dc:creator>
		<pubDate>Wed, 24 Oct 2007 17:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-16546</guid>
		<description>Have you gotten this to work on gedit 2.8.1? I put my files in ~/.gnome-2/gedit/plugins/ as instructed but no changes appear in the list of plugins in gedit.</description>
		<content:encoded><![CDATA[<p>Have you gotten this to work on gedit 2.8.1? I put my files in ~/.gnome-2/gedit/plugins/ as instructed but no changes appear in the list of plugins in gedit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter Bolsterlee</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-1467</link>
		<dc:creator>Wouter Bolsterlee</dc:creator>
		<pubDate>Thu, 11 May 2006 16:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-1467</guid>
		<description>Note that the Lang=python line should read Loader=python for gedit 2.14.</description>
		<content:encoded><![CDATA[<p>Note that the Lang=python line should read Loader=python for gedit 2.14.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vagmi Mudumbai</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-839</link>
		<dc:creator>Vagmi Mudumbai</dc:creator>
		<pubDate>Thu, 06 Apr 2006 02:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-839</guid>
		<description>I am n00B to gedit plugin development. I have been searching for tutorials online and so far I haven't found anything worthwhile. I would be glad to port some plugins from vim to gedit. If you could direct me to a gedit-plugin-authoring-quickstart sort of resource, it would be great.</description>
		<content:encoded><![CDATA[<p>I am n00B to gedit plugin development. I have been searching for tutorials online and so far I haven&#8217;t found anything worthwhile. I would be glad to port some plugins from vim to gedit. If you could direct me to a gedit-plugin-authoring-quickstart sort of resource, it would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael Slinckx</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-634</link>
		<dc:creator>Raphael Slinckx</dc:creator>
		<pubDate>Thu, 09 Mar 2006 20:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-634</guid>
		<description>Yes it is, there is no gedit module, but you can acces it once you load the plugin through gedit.</description>
		<content:encoded><![CDATA[<p>Yes it is, there is no gedit module, but you can acces it once you load the plugin through gedit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lukas sabota</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-632</link>
		<dc:creator>lukas sabota</dc:creator>
		<pubDate>Thu, 09 Mar 2006 18:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-632</guid>
		<description>Is this in upstream gnome?  Can I write python plugins for gedit?  I'm using gnome 2.13, and there is no gedit module...</description>
		<content:encoded><![CDATA[<p>Is this in upstream gnome?  Can I write python plugins for gedit?  I&#8217;m using gnome 2.13, and there is no gedit module&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth Vidal</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-295</link>
		<dc:creator>Seth Vidal</dc:creator>
		<pubDate>Mon, 16 Jan 2006 16:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-295</guid>
		<description>Any chance of some examples being posted of this plugin doing something we can relate to? Like code folding, for example, would that be possible w/this interface?</description>
		<content:encoded><![CDATA[<p>Any chance of some examples being posted of this plugin doing something we can relate to? Like code folding, for example, would that be possible w/this interface?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Police</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-271</link>
		<dc:creator>Police</dc:creator>
		<pubDate>Sun, 04 Dec 2005 12:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-271</guid>
		<description>You are under arrest for stealing, blah blah blah.</description>
		<content:encoded><![CDATA[<p>You are under arrest for stealing, blah blah blah.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: themodernlife</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-109</link>
		<dc:creator>themodernlife</dc:creator>
		<pubDate>Sat, 10 Sep 2005 14:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-109</guid>
		<description>Has anybody every talked "abstracting" something like this to point where it's generic enough to be used by any program?  Scritpting MS Office with VBA (i know, i know) is really pretty cool if you try it.  It'd be damn hot to have python-scriptability all throughout gnome.  I'd be particularly interested in scripting apps like gaim and rhythmbox.

Basically, your plugin constructor gets passed a reference to a top-level apllication object (kind of like the dom, come to think of it) that you just traverse...

something like this (bad pseudocode):

def __init__(self, app):
    # find the toolbar
    toolbar = app.toolbar
    item = gtk.Button('My Plugins Button')
    item.connect('pushed', self.on_button_pushed)
    toolbar.add(item)

def on_button_pushed(self, widget):
    # etc...

that would be hot!  The key there is being passed the 'root' application object, not necessarily just a window.  

something for the hopefully reincarnated libgnome library?  a feature of GnomeApp?

though for food :)</description>
		<content:encoded><![CDATA[<p>Has anybody every talked &#8220;abstracting&#8221; something like this to point where it&#8217;s generic enough to be used by any program?  Scritpting MS Office with VBA (i know, i know) is really pretty cool if you try it.  It&#8217;d be damn hot to have python-scriptability all throughout gnome.  I&#8217;d be particularly interested in scripting apps like gaim and rhythmbox.</p>
<p>Basically, your plugin constructor gets passed a reference to a top-level apllication object (kind of like the dom, come to think of it) that you just traverse&#8230;</p>
<p>something like this (bad pseudocode):</p>
<p>def __init__(self, app):<br />
    # find the toolbar<br />
    toolbar = app.toolbar<br />
    item = gtk.Button(&#8217;My Plugins Button&#8217;)<br />
    item.connect(&#8217;pushed&#8217;, self.on_button_pushed)<br />
    toolbar.add(item)</p>
<p>def on_button_pushed(self, widget):<br />
    # etc&#8230;</p>
<p>that would be hot!  The key there is being passed the &#8216;root&#8217; application object, not necessarily just a window.  </p>
<p>something for the hopefully reincarnated libgnome library?  a feature of GnomeApp?</p>
<p>though for food <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kikidonk</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-95</link>
		<dc:creator>kikidonk</dc:creator>
		<pubDate>Fri, 09 Sep 2005 20:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-95</guid>
		<description>Raphael: No this is only a patch for the moment, and it is made for the new 2.14 version of gedit, so nothing to try yet :)

ebassi: Perl aaaarghh :)</description>
		<content:encoded><![CDATA[<p>Raphael: No this is only a patch for the moment, and it is made for the new 2.14 version of gedit, so nothing to try yet <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>ebassi: Perl aaaarghh <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ebassi</title>
		<link>http://raphael.slinckx.net/blog/2005-09-09/gedit-python-plugins#comment-94</link>
		<dc:creator>ebassi</dc:creator>
		<pubDate>Fri, 09 Sep 2005 20:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://raphael.slinckx.net/blog/?p=25#comment-94</guid>
		<description>now this is it.

you are forcing me to write a perl plugin for gedit. ;-)</description>
		<content:encoded><![CDATA[<p>now this is it.</p>
<p>you are forcing me to write a perl plugin for gedit. <img src='http://raphael.slinckx.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
