Re: [gedit-list] Writeroom/Darkroom like plugin for gedit



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]