Re: [gedit-list] How determine file path of currently open document
- From: Jashandeep Sohi <jashandeep s sohi gmail com>
- To: Peter Bittner <peter bittner gmx net>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] How determine file path of currently open document
- Date: Tue, 20 Jan 2015 17:37:06 -0800
I believe the plugin system is based on libpeas so you might want to read the documentation for that as well.
And as for determining file path, I would first get the `GeditWindow` object, then get the active document using `gedit_window_get_active_document` and finally use `gedit_document_get_location` to get the location.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]