Re: how to get rid of mouse-over button color?

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

 



On Mon, 2005-05-02 at 09:44 -0400, Paul Davis wrote:
> >> I want the mouse-over color to go away so that I just have a "normal"
> >> and an "active" color for the buttons.  Is there an easy way to do this?
> >> I'm thinking about programmatically moving the mouse pointer to some
> >> neutral location after each toggle button selection.  (don't know how to
> >> do that (yet).)  Is there another way?
> >
> >Which theme does this currently happen with? Because you should always
> >be able to see whether a button is pressed or not, even on mouse-over.
> 
> read the message again.
> 
> IMHO, the designers of GTK made a serious error with the "prelight"
> state. Consider a widget whose appearance is different in two
> different states, "normal" and "active", perhaps based on color, but
> possibly in other ways as well. When the mouse pointer moves over it,
> it enters the "prelight" state. The "prelight" state is a single
> state, and therefore it cannot distinguish between
> "prelight-of-an-active-widget" and "prelight-of-a-normal-widget". As a
> result, moving the mouse into a widget like this causes loss of
> information - you visually indicate mouse "focus", but you lose any
> indication of the widget state.

A custom theme could do whatever it wants ... both pieces of information
are passed to it. state_type and shadow_type.

(There are some major problems with GtkStateType, but this isn't one
of them, really)

> there are ways to work around this, such as disabling enter/leave
> events for a widget, but they all have nasty side effects. it would be
> much nicer to tell GTK globally that "this application cannot use
> prelighting because it causes loss of information" and be done with
> it.

I've expressed multiple times recently a willingness to have a 
global "touchscreen-mode" toggle for GTK+. If someone was willing to
do the work.

Regards,
					Owen

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux