Re: [gedit-list] [Help Needed] How to get the buffer of a newly opened file from a gedit plugin file?
- From: Pallab Pain <pallabkumarpain gmail com>
- To: Pallab Pain <pallabkumarpain gmail com>, gedit-list gnome org
- Subject: Re: [gedit-list] [Help Needed] How to get the buffer of a newly opened file from a gedit plugin file?
- Date: Thu, 7 May 2015 23:55:59 +0530
tab = self.window.create_tab_from_location(Gio.file_new_for_path(file_path), None, line_number, 0, False, True)
view = tab.get_view()
buffer = view.get_buffer()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]