[gedit-list] activate plugin after gedit initialised
- From: Stephen Moore <delfick755 gmail com>
- To: gedit-list gnome org
- Subject: [gedit-list] activate plugin after gedit initialised
- Date: Sun, 21 Jun 2009 03:32:57 +0800
Hello,
I'm currently creating a plugin for gedit.
To make my life far less painless I've decided that it is necessary to
activate my plugin only after I can determine what the active view is.
So I'm wondering how I would go about determining when this occurs?
For example, in my activate function do something like
def activate(self, window):
window.connect("ready", self.actuallyActivate)
def actuallyActivate(self, window):
blablablabla
Thankyou
Regards
Stephen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]