From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: gtk Emacs: how specify menu font? Date: Tue, 18 Mar 2003 23:21:58 +0100 (CET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200303182319.h2INJ0bN024745@stubby.bodenonline.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048026524 3660 80.91.224.249 (18 Mar 2003 22:28:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 22:28:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 18 23:28:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vPZZ-0000wq-00 for ; Tue, 18 Mar 2003 23:28:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vPa2-0008OT-00 for ; Tue, 18 Mar 2003 23:29:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vPZE-0004x5-03 for emacs-devel@quimby.gnus.org; Tue, 18 Mar 2003 17:28:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vPYL-0004Ze-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 17:27:25 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vPYC-0004GA-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 17:27:17 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vPXb-0003D7-00 for emacs-devel@gnu.org; Tue, 18 Mar 2003 17:26:39 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) h2INJ0bN024745; Wed, 19 Mar 2003 00:19:07 +0100 In-Reply-To: "from Robert J. Chassell at Mar 18, 2003 02:34:13 pm" Original-To: bob@rattlesnake.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12448 > Using GNU Emacs built with --with-x-toolkit=gtk > how do I specify the font for the menu? > > GNOME 1.4, BrushedMetalClean theme, > > Today's Debian testing, Tue, 2003 Mar 18 14:14 UTC > Today's GNU Emacs CVS snapshot, Tue, 2003 Mar 18 13:24 UTC > GNU Emacs 21.3.50.222 (i686-pc-linux-gnu) > > In my .emacs file, I specify > > (font . "10x20") # high resolution screen > > and > > '(menu ((t (:background "DodgerBlue4" :foreground "green" :family "times")))) > > This works fine with the LUCID toolkit, but has no effect in the gtk > toolkit. It is because this updates the X resource database. Xt based toolkits like Lucid, picks these up. GTK does not use the X resource database (a design error IMHO), but has its own syntax, names and files for customizations as this. Please see the Emacs manual, X Resources -> GTK resources for ways of doing this. Jan D.