Re: [gedit-list] Writeroom/Darkroom like plugin for gedit
- From: Paul Novotny <paul novotny gmail com>
- To: Paolo Maggi <paolo maggi gmail com>
- Cc: gedit-list gnome org
- Subject: Re: [gedit-list] Writeroom/Darkroom like plugin for gedit
- Date: Wed, 30 Jan 2008 16:09:26 -0500
Great. Now I can hide everything except the vscroll. Just one more thing
though, I can set the left and right margins using
set_left_margin/set_right_margin for each view. Is there a way to put
some spacing on the top and bottom too?
> http://svn.gnome.org/viewvc/gedit-plugins/trunk/plugins/showtabbar/gedit-show-tabbar-plugin.c?view=markup
>
> With the get_notebook function (from the above link) you can get a
> reference to the notebook. Then you can use gtk_notebook_set_show_tabs.
BTW, I found the notebook in a slightly different spot on my version of
gedit (2.20.3). In the svn pointer you sent me it was basically at:
notebook =
window.get_child().get_children()[2].get_children()[1].get_children()[0]
I found it at:
notebook =
window.get_child().get_children()[3].get_children()[1].get_children()[0]
This would explain why the Show/Hide Tabbar plugin doesn't work for me.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]