unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sun Yijiang <sunyijiang@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Feature request - dynamic icon pixmap
Date: Wed, 16 Feb 2005 09:37:29 +0800	[thread overview]
Message-ID: <5065e2900502151737d1ddde5@mail.gmail.com> (raw)
In-Reply-To: <42121FD9.9030404@swipnet.se>

Yes, I can change the default icon when I create a new frame:
(make-frame '((name . "testf") (icon-type . "/path/test.png")))

But I cannot change a frame's icon by modifying its icon-type parameter:
(set-frame-parameter my-frame 'icon-type "/path/test2.png")
Nothing happens after this under GNOME or KDE

That's what I mean by "dynamic".

On Tue, 15 Feb 2005 17:14:17 +0100, Jan D. <jan.h.d@swipnet.se> wrote:
> Sun Yijiang wrote:
> 
> >GNU Emacs' bitmapicon is a little ugly and not configurable -- that's
> >the truth.  XEmacs' elisp function x-set-screen-icon-pixmap can change
> >program icon dynamically, this is very useful when you're working with
> >sevral frames with different major modes -- they can have their own
> >icons in the "taskbar".  I wonder if this feature is in the TODO list
> >of GNU Emacs, If not, I suggest to have it added.
> >
> 
> You can set the frame parameter icon-type to a icon file.  For the GTK
> version the format of the file can be any format supported by GdkPixbuf,
> but for other ports of Emacs it must be a bitmap.
> 
>    Jan D.
> 
>

  reply	other threads:[~2005-02-16  1:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15  6:12 Feature request - dynamic icon pixmap Sun Yijiang
2005-02-15 16:14 ` Jan D.
2005-02-16  1:37   ` Sun Yijiang [this message]
2005-02-16  2:00     ` Henrik Enberg
2005-02-16 13:22     ` Jan D.

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=5065e2900502151737d1ddde5@mail.gmail.com \
    --to=sunyijiang@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).