Re: [Glade-devel] button prelighting; vertical scale display

Date view Thread view Subject view Author view

From: Damon Chaplin (damon@ximian.com)
Date: Tue May 22 2001 - 14:48:14 EDT


Thomas J Lewis wrote:
>
> 1.) set up vertical scale to display digit 0-10,but the scale works
> backwards.
> when the slider moved up, the digits decrease; when moved down, it
> increases.
> didn't see an option to reverse the order.

I don't think you can change it in GTK+ 1.2.x. (I think you can in 2.0)

You'll have to create your own widget, or subclass, or something.

 
> 2.) how is button prelighting turned off?
> one suggestion was to use stop_signal_by_name(..."entry_notify_event")
> the signal can be stopped, but so is the button function(clicking button
> has no affect).

Why do you want to turn it off? You probably shouldn't, except in vary
rare circumstances (e.g. kiosk-like apps), since it goes against the
users theme.

The easiest way is probably to set the button prelight color to the same
as the normal color. Probably by using a resource file/string.
(See the docs on developer.gnome.org)

Damon

_______________________________________________
Glade-devel maillist - Glade-devel@helixcode.com
http://lists.helixcode.com/mailman/listinfo/glade-devel


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue May 22 2001 - 16:52:33 EDT