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 patch version 2, part 1 Date: Tue, 17 Dec 2002 20:45:41 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2005353E-11F8-11D7-964A-00039363E640@swipnet.se> References: <18357.1040121761@remus.pretzelnet.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040154536 1887 80.91.224.249 (17 Dec 2002 19:48:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 19:48:56 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ONi2-0000Tr-00 for ; Tue, 17 Dec 2002 20:48:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ONw8-0001qF-00 for ; Tue, 17 Dec 2002 21:03:28 +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 18ONgi-0003qr-07 for emacs-devel@quimby.gnus.org; Tue, 17 Dec 2002 14:47:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ONgO-0003fI-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 14:47:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ONfW-0002yZ-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 14:46:21 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ONfV-0002xu-00 for emacs-devel@gnu.org; Tue, 17 Dec 2002 14:46:18 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) gBHKgN0U016413; Tue, 17 Dec 2002 21:42:29 +0100 Original-To: Eric Gillespie In-Reply-To: <18357.1040121761@remus.pretzelnet.org> X-Mailer: Apple Mail (2.482) 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:10234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10234 tisdagen den 17 december 2002 kl 11.42 skrev Eric Gillespie: > Miles Bader writes: > >> Ok, I tried putting the following: >> >> style "emacs-menubar-font" { font = "URW Gothic L 10" } >> widget "emacs-menubar" style "emacs-menubar-font" >> >> in ~/.gtkrc-2.0, and it doesn't seem to have any effect. > > Sorry, but as i said in my message you got that from, that is > only an example. I do not know what name (if any) Jan has used > for the menubar. It is actually called "menubar" (I use the same names as Xt). But due to my ignorance, I missed to give a name to the top level widget, (I thought it picked up argv[0] by default, but that does not seem to be the case), so you have to say: widget "*.menubar.*" style "your_style" However, menubar sounds quite generic, so it might affect other applications also. I recommend reading the link Eric posted in another mail. The format of GTK resource files are quite different from the standard .Xdefaults syntax. I am not very good at it. Jan D.