Re: gtktextview render hint-rules effect
- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtktextview render hint-rules effect
- Date: Mon, 17 Mar 2008 11:11:52 -0700
Damien Caliste wrote:
Hello,
Le 17/03/2008, mbrz <m baruze tiscali it> a Ãcrit :
How can I realise a hint-rules effect like gtktreeview to have lines
rendered with alternating row colors on my gtktextview widget ?
You can do this:
g_object_set(G_OBJECT(treeView), "rules-hint", TRUE, NULL);
When you read the documentation about the treeview
(http://library.gnome.org/devel/gtk/unstable/GtkTreeView.html ), you
can see that it has a property called "rules-hint", since this property
has no getter/setter function
Sure it does:
http://library.gnome.org/devel/gtk/stable/GtkTreeView.html#gtk-tree-view-set-rules-hint
-brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]