Hi,
I've been digging into Gtk themes recently, and decided I'd like to have geany's sidebar colors match the editor window. I believe it can be done but need to know the widget names of the tree views under the Symbols and Documents tabs.
Anyone have experience with this?
-Mike
On 10 November 2013 16:06, Mike Miller geany-users@mgmiller.net wrote:
Hi,
I've been digging into Gtk themes recently, and decided I'd like to have geany's sidebar colors match the editor window. I believe it can be done but need to know the widget names of the tree views under the Symbols and Documents tabs.
Anyone have experience with this?
Hi Mike,
http://www.geany.org/manual/current/index.html#defining-own-widget-styles-us... seems to suggest that the sidebar isn't directly named, maybe the mainwindow styles will be inherited, you could try it anyway.
Cheers Lex
-Mike _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 13-11-09 09:06 PM, Mike Miller wrote:
Hi,
I've been digging into Gtk themes recently, and decided I'd like to have geany's sidebar colors match the editor window. I believe it can be done but need to know the widget names of the tree views under the Symbols and Documents tabs.
Anyone have experience with this?
Aside from the manual section Lex mentioned, there's also the gtkrc file:
https://github.com/geany/geany/blob/master/data/geany.gtkrc
As well I think you can access most everything else using names/ids found in the Glade file:
https://github.com/geany/geany/blob/master/data/geany.glade
Although we make no promises on the stability of Glade widget names as made for plugin API, it's mostly stable.
Cheers, Matthew Brush
On 10/11/13 05:06, Mike Miller wrote:
Hi,
I've been digging into Gtk themes recently, and decided I'd like to have geany's sidebar colors match the editor window. I believe it can be done but need to know the widget names of the tree views under the Symbols and Documents tabs.
hi, not only the background colors of sidebar...but the auto-complection list in geany_data->main_widgets->notebook too ;)
I don't know how to access the sidebar...
but for my small understanding... the sidebar+notebook editor is inside a vbox, so... widget *vbox,parent; parent =vbox= gtk_widget_get_parent(geany_data->main_widgets->notebook), and now I don`t know how to access the first element of the vbox(sidebar) :S, but its a clue, I think...
sorry for the incomplete help :(
god luck
regards tux
On 10/11/13 05:06, Mike Miller wrote:
Hi,
I've been digging into Gtk themes recently, and decided I'd like to have geany's sidebar colors match the editor window. I believe it can be done but need to know the widget names of the tree views under the Symbols and Documents tabs.
Anyone have experience with this?
-Mike
Hi Mike, I am a nob, but maybe you can do thid...someone have states that this is not allowed anymore...but I am doing it in the 8Bits plugin...for the notebook parent right sidebar https://dl-web.meocloud.pt/dlweb/download/Share/8Bits3.png
maybe with:
http://www.geany.org/manual/reference/structGeanyMainWidgets.html
GtkWidget * sidebar = geany_data->main_widgets->sidebar_notebook;
regards tux