<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 February 2014 11:32, Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca" target="_blank">mbrush@codebrainz.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 14-01-31 03:47 PM, Steven Blatnick wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I think gtkcss only works on GTK3 and Linux Mint Debian Edition is still<br>
using GTK 2.24.20<br>
Should I write a little patch to make it use Monospace in the code and<br>
submit it?  (Is there interest to anyone else in such a patch?) Or is<br>
there another way short of editing the code that I'm missing?<br>
<br>
</blockquote>
<br></div>
You can use gtkrc files for gtk2, I think Geany even comes with it's own for some custom themed stuff. <a href="http://www.gtk.org/api/2.6/gtk/gtk-Resource-Files.html" target="_blank">http://www.gtk.org/api/2.6/<u></u>gtk/gtk-Resource-Files.html</a>. I don't know much about it but it seems totally reasonable that you could match the Scribble textview either by gtkbuilder/glade name or class/hierarchy and change its font.<br>

<br>
If it's not possible, probably the best approach would be to extend what's documented here: <a href="http://www.geany.org/manual/current/index.html#defining-own-widget-styles-using-gtkrc-2-0" target="_blank">http://www.geany.org/manual/<u></u>current/index.html#defining-<u></u>own-widget-styles-using-gtkrc-<u></u>2-0</a> for the relevant Scribble widget, so you can match it by GtkWidget name in the gtkrc file (see main.c:L282).<div class="">
<div class="h5"><br></div></div></blockquote><div><br></div><div>Something like:</div><div><br></div><div><br></div><div><div>style "sm" {</div><div>        font_name = "Monospace 12"</div><div>}</div>
<div>widget "*.textview_scribble" style "sm"</div></div><div><br></div><div>works</div><div><br></div><div>Cheers</div><div>Lex</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class=""><div class="h5">
<br>
Cheers,<br>
Matthew Brush<br>
<br>
______________________________<u></u>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org" target="_blank">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>