GtkTextView: Add a monospace property

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 6 October 2014 23:39 UTC

This is a convenient shortcut for a common case. It is implemented by adding a .monospace style class to the text view, and letting the theme decide about the monospace font to use.

0004e66 GtkTextView: Add a monospace property
docs/reference/gtk/gtk3-sections.txt | 3 ++
gtk/gtkstylecontext.h | 10 +++++
gtk/gtktextview.c | 82 +++++++++++++++++++++++++++++++++-
gtk/gtktextview.h | 5 +++
4 files changed, 99 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share