emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: status icon support


From: YAMAMOTO Mitsuharu
Subject: Re: RFC: status icon support
Date: Tue, 15 Jan 2008 06:40:48 +0900 (JST)

>>>>> On Sun, 13 Jan 2008 20:49:42 -0700, Tom Tromey <address@hidden> said:

>>> The introduction of a new Lisp data type for this purpose looks
>>> rather unusual compared with what other kinds of existing objects
>>> do.  For example, images, which are more fundamental notion I
>>> think, do not have a dedicated Lisp data type but are represented
>>> by image descriptors that are just lists of the form `(image
>>> . PROPS)'.

> Ok.  I suppose I could pretty easily change the lisp-visible
> representation to a cons like (status-icon . N), where N is an index
> into a table in systray.c.  What would you think of that?

A tool bar is represented as a keymap.  If status icons are similar to
tool bar icons (application-level as opposed to frame-level), the use
of the keymap data structure looks more consistent to me.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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