unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: API to control the GTK parts from Elisp
Date: Fri, 25 Aug 2023 09:47:20 +0800	[thread overview]
Message-ID: <87o7iv51w7.fsf@yahoo.com> (raw)
In-Reply-To: <87il94frjz.fsf@k-7.ch> ("Sébastien Gendre"'s message of "Thu, 24 Aug 2023 16:19:29 +0200")

Sébastien Gendre <seb@k-7.ch> writes:

> Hello world!
>
> On GNU/Linux, the GUI version use GTK for some parts, like the
> header-bar, the tool-box, etc.
>
> Is it possible to control these GTK elements from Elisp ? Like modifying
> their CSS rules or the GTK theme applied ?
>
>
> Best regards

Such features aren't available in Emacs Lisp.

In general, we are seeking to reduce our dependence on things like GTK,
whose developers are zealously hostile to some of Emacs's requirements.
So I don't anticipate their introduction in the immediate future either.

If you build Emacs with some other X toolkit, the aesthetics of the menu
and tool bars can be modified by means of the `tool-bar' and `menu-bar'
faces.



  reply	other threads:[~2023-08-25  1:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 14:19 API to control the GTK parts from Elisp Sébastien Gendre
2023-08-25  1:47 ` Po Lu [this message]
2023-08-25  7:25   ` Basile Starynkevitch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7iv51w7.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=seb@k-7.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).