Re: [gedit-list] Action Notifications



September wrote:
Hello,

Is there a way that gedit can notify plugins of events other than a call to update_ui? for example, can a plugin action be triggered by the opening of a new file, or the closing of a tab?

You need to connect to the relevant signals, like GeditWindow's tab-added, tab-removed etc. See the modelines plugin for an example.

Paolo

Thanks,
Arjun
------------------------------------------------------------------------

_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]