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: Robert J. Chassell
Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue)
Date: Tue, 30 Sep 2003 00:27:11 +0000 (UTC)

    That would be an improovement, but what we really should do if at
    all feasible is fix the bug.

I agree with you.  But I don't know what to do.  Incidentally, the
scroll bars in Emacs configured with --with-x-toolkit=gtk look
different than the scroll bars on my xterms and on my instances of
Galeon.  It turns out the feature is not common throughout Gnome, at
least not in my instance of Gnome.

A very recent CVS snapshot, Mon, 2003 Sep 29 18:31 UTC
GNU Emacs 21.3.50.98 (i686-pc-linux-gnu, GTK+ Version 2.2.1)
started with

     /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)'

configured with  --with-x-toolkit=gtk

"Jan D." <address@hidden> wrote

    Here is the example I will put in the manual.  ....

    style "scroll"
    {
      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.
    }

    widget_class "*GtkVScrollbar" style "scroll"

This does not have any effect.  I needed

    widget "*verticalScrollBar*"

instead of     widget_class "*GtkVScrollbar" 

and then, when with that, the two colors that took effect most of the
time were

      fg[NORMAL] = "red"     # The arrow color.
      bg[NORMAL] = "yellow"  # The thumb and background around the arrow.

The other two,

      bg[ACTIVE] = "blue"    # The trough color.
      bg[PRELIGHT] = "white" # The thumb color when the mouse is over it.

did appear, but not very helpfully.  

The blue was *not* the trough color.  It appeared on the right side of
the thumb as a narrow line.  

The white did appear in the grey75 (or so, I estimate) top of the
thumb when I put the mouse over it, but I want to see the white thumb
against a dark background when I do not put the cursor over it.

The yellow fails to color the thumb; it only colors the left and top
sides of the thumb when the cursor is not over it.

The top of the thumb and the bottom of the trough are the default grey
colors when the cursor is not over the thumb.

As I said, I don't know what to do.  Perhaps your set up is showing
different colors.  If so, the Emacs documentation should explain what
to do when you use normal Gnome customizations.

In any event, I agree with you, this ought to be fixed.

--
    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             address@hidden




reply via email to

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