[Top][All Lists]

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

Re: Lucid menu faces

From: Eli Zaretskii
Subject: Re: Lucid menu faces
Date: Wed, 20 Jul 2022 19:05:20 +0300

> From: Manuel Giraud <>
> Date: Wed, 20 Jul 2022 16:54:52 +0200
> Hi,
> The bug found by Colin earlier led me to the following question: how
> hard would it be to have the Lucid menu rebuilt from elisp code?
> As it is, if I do this:
> --8<---------------cut here---------------start------------->8---
> (let ((class '((class color) (min-colors 89))))
>   (custom-theme-set-faces
>    'user
>    `(menu ((,class (:family "Iosevka" :foregroud "red" :background 
> "blue"))))))
> --8<---------------cut here---------------end--------------->8---
> only the background color of the menu is changed.  Not the family font
> nor the foreground color.

Isn't it true that the appearance of toolkit menus can be fully
controlled only through X resources?  Toolkits are not part of Emacs,
so they don't abide by our Lisp trickery.  We are all spoiled rotten
by Emacs letting us control everything via Lisp objects and
properties, but the truth is that it only works because Emacs has code
to make it work.  Toolkits don't: they have no idea what is a 'face'
in its Emacs interpretation.

reply via email to

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