Hello guys!


While I was developing my application I just wished that I had more control
on the way GtkSourceMarks render (yes, I am using the GtkSourceViewModule)
GTK+ is amazing in all aspects. Including the sources. So I ask you, who
know GTK+ sources better, could you please provide me with some
Assistance.


Since GtkSourceGutter, GtkSourceGutterRenderer, GtkSourceMark and
GtkSourceMarkAttributes is all coded up so that size of the pixbuf in the
gutter solely depends on the size of the font. I would like to subclass it
and override the rendering signal so that it uses custom sizes.


Could you tell me what function in what source file I had to change to do
that?
I hope it will be as simple as subclassing on GtkSourceMark and changing a
line or two in the draw signal, because I don't have much time to be honest
and I am attempting now to be time-efficient.
Thanks in advance.

-------------------------------------
Mail.BG: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар 
- 30 GB пощенска кутия, 1 GB прикрепен файл, безплатен POP3, мобилна версия и 
други. http://mail.bg
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to