Re: GtkButton child-displacement-y
- From: Matthias Clasen <mclasen redhat com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkButton child-displacement-y
- Date: Tue, 26 Jul 2005 12:52:12 -0400
On Tue, 2005-07-26 at 10:35 -0500, Boncek, John wrote:
Using GTK 2.2.4. GtkButton provides the following property, among others:
"child-displacement-y" (gint : Read)
How far in the y direction to move the
child when the button is depressed.
Ibut says nothing about how to set it. Apparently you can't do it
directly with g_object_set. I tried that despite the fact it's marked
Read -- no effect.
Its a style property. Style properties are controlled by themes.
You can e.g. set it in your rc file, by adding something like
GtkButton::child-displacement-y = 5 to your styles.
] [Thread Prev