From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Fri, 3 Oct 2003 20:35:20 -0400 (EDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87fzijz4th.fsf@raven.i.defaultvalue.org> <200309262123.h8QLNNi07638@raven.dms.auburn.edu> <200309272155.h8RLttv09524@raven.dms.auburn.edu> <200309281642.h8SGgxc11119@raven.dms.auburn.edu> <200309281801.h8SI1gV11332@raven.dms.auburn.edu> <20031001003504.GE9021@avet> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065228850 5134 80.91.224.253 (4 Oct 2003 00:54:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2003 00:54:10 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 04 02:54:09 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5agT-0005Cb-00 for ; Sat, 04 Oct 2003 02:54:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5agS-0004BQ-00 for ; Sat, 04 Oct 2003 02:54:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5aew-0001Z4-83 for emacs-devel@quimby.gnus.org; Fri, 03 Oct 2003 20:52:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5aeo-0001Yv-5j for emacs-devel@gnu.org; Fri, 03 Oct 2003 20:52:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5aeE-0001EY-IA for emacs-devel@gnu.org; Fri, 03 Oct 2003 20:52:21 -0400 Original-Received: from [140.186.114.245] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5aeD-0001Ac-Ag for emacs-devel@gnu.org; Fri, 03 Oct 2003 20:51:49 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Fri, 3 Oct 2003 20:35:20 -0400 (EDT) Original-To: emacs-devel@gnu.org In-reply-to: <20031001003504.GE9021@avet> (message from Danilo Segan on Wed, 1 Oct 2003 02:35:05 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16917 Yesterday's CVS snapshot, Sat, 2003 Oct 3 23:58 UTC GNU Emacs 21.3.50.102 (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 Success! I can now specify the forground (thumb) and background (trough) colors for my vertical scroll bar in my ~/.emacs.d/gtkrc file, which looks like this: style "scrollbar" { fg[NORMAL] = "red" # The arrow color. bg[NORMAL] = "yellow" # The thumb and background around the arrow. bg[ACTIVE] = "cornflower blue" # The trough color. bg[PRELIGHT] = "white" # The thumb color when the mouse is over it. } widget "*verticalScrollBar*" style "scrollbar" This configuration does not specify the color for the thumb when the mouse is not over it, but the color (actually, it is a pattern) that comes with the theme is OK. What is the specification for it? Likewise, how do you specify a pattern for the trough? (It was some sort of textured vertical gradient. I would like to create a textured pattern of the right color for the trough.) The Emacs customization feature, M-x customize-face RET scroll-bar has no effect in an Emacs configured with --with-x-toolkit=gtk, but at least the modification of ~/.emacs.d/gtkrc is successful. Who made the change? Was it in GNU Emacs or in GTK? (I updated both my GNU Emacs and my Debian testing distribution at the same time, so I cannot track the change readily.) In any case, many thanks! -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com