It's pretty easy to set the default font for a GtkTextView via gtk_widget_modify_font()
, but how to get which one is current? (I'm not using any tags in the widget.)
Asked
Active
Viewed 1,360 times
4

Alexander Gromnitsky
- 2,949
- 2
- 33
- 38
1 Answers
5
You can use gtk_widget_get_style()
to get the current GtkStyle, and then use gtk_style_get_font()
.

Patrick Niedzielski
- 1,194
- 1
- 8
- 21