如何更改GtkTextView的背景颜色? [英] How to change background color of GtkTextView?
问题描述
如何更改GtkTextView的背景颜色?我试着用普通的widget设置bg功能,但gtk只是改变GtkText View的边框颜色。
另外可以请一些人用简单的例子来解释我如何改变文本GtkTextView中的颜色/字体/文本大小(GtkTextView中的整个文本)?
我喜欢一些例子,但它们不起作用..
Thnaks,
PP。
gtk_widget_modify_base )
http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-modify-base
How to change background color of GtkTextView? I tried with normal widget set bg functionality but gtk is just changing border color of GtkText View.
Plus can some some please explain me with simple example, that how to change Text Color/Font/Text Size in GtkTextView (Whole text in GtkTextView)?
I fond some examples but they are not working..
Thnaks, PP.
gtk_widget_modify_base()
http://library.gnome.org/devel/gtk/unstable/GtkWidget.html#gtk-widget-modify-base
这篇关于如何更改GtkTextView的背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!