Re: GtkButton child-displacement-y

On Tue, 2005-07-26 at 10:35 -0500, Boncek, John wrote:
Using GTK 2.2.4.  GtkButton provides the following property, among others:

Style Properties
"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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]