emacs-devel
[Top][All Lists]
Advanced

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

Re: Changing the no-toolkit scrollbar thumb color. (minor issue)


From: Jan D.
Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue)
Date: Sat, 04 Oct 2003 20:36:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030921

Richard Stallman wrote:
       This would be documenting the bug.  That would be an improovement, but
       what we really should do if at all feasible is fix the bug.  This face
       should have its special effect for all toolkits.

    The _same_ special effect?

Yes, to the extent it makes sense.

    Native scrollbar:

    Has a thumb and a trough.  Thumb is blue, trough is red.  Wonderful.

    Xaw3d scrollbar:  The default scroll bar.

    Has a thumb and a trough.  Both are red.  :foreground does not seem to
have any effect on anything.
    Is this a bug or is it quite simply not possible to give both
    different colors?

That's a bug.

    Motif:

    Has a thumb, a trough and two arrows.  Thumb and arrows are red.  Color
    of trough is still the same old grey. :foreground does not seem to
have any effect on anything.
That's a bug.

This is possible to fix in Emacs.  The trough can be set in Motif.


    Only one of the four I did not try out myself, but Bob tried it and
    found that it had no effect whatsoever.  things do not seem easy,
    however.

That's a bug.

Yes, but where? It may be a bug that Emacs gives the impression that this can be changed, or it may be a limitation in the theme used, for not letting the user change things. It can also be a limitation in GTK itself. Some customizations possible to do in GTK can lead to things being drawn incorrectly, this happens for scrollbars with pixmaps.

Maybe we should go the "official" GTK way and tell people to use themes for cuatomizations?



    {
      fg[NORMAL] = "red"     # The arrow color.
      bg[NORMAL] = "yellow"  # The thumb and background around the arrow.
      bg[ACTIVE] = "blue"    # The trough color.
      bg[PRELIGHT] = "white" # The thumb color when the mouse is over it.
    }

    Those are four colors to customize.  If we want full customizability
    through Custom, we would have to allow the user to specify four
    colors.

Maybe we want two or three faces to specify all these colors.

What sould those faces mean in other toolkits? This still will not change the fact that pixmap based themes may not use these colours.

        Jan D.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]