[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rethinking the design of xwidgets
From: |
Arthur Miller |
Subject: |
Re: Rethinking the design of xwidgets |
Date: |
Thu, 15 Oct 2020 17:20:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: arthur miller <arthur.miller@live.com>
>> CC: Eli Zaretskii <eliz@gnu.org>, "qhong@mit.edu" <qhong@mit.edu>,
>> "emacs-devel@gnu.org" <emacs-devel@gnu.org>
>> Date: Thu, 15 Oct 2020 03:35:23 +0000
>>
>> Can you (or someone) help me test one thing: how do I hook my own image into
>> Emacs image? Say that I
>> have code that gives me back an XImage, how do I hook that image directly
>> from memory into text property
>> so it gets displayed in a buffer? Either XImage or Xpixmap, does not matter.
>> I was looking in image.c long
>> time but I didn't figured it out at the time.
>
> I'm not sure I understand the difficulty. You are ware that
> create-image can accept the image data directly, not as a file to
> read?
No I wasn't aware of it. I am not sure how I should pass an pixel array to
create-image & co.
I am just glancing at image.c and looking at how xpm format is
implemented.
- Re: Rethinking the design of xwidgets, (continued)
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/13
- Re: Rethinking the design of xwidgets, Akira Kyle, 2020/10/13
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/14
- Re: Rethinking the design of xwidgets, Akira Kyle, 2020/10/14
- Re: Rethinking the design of xwidgets, Stefan Monnier, 2020/10/14
- RE: Rethinking the design of xwidgets, arthur miller, 2020/10/14
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/15
- Re: Rethinking the design of xwidgets,
Arthur Miller <=
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/15
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/13
- Re: Rethinking the design of xwidgets, Basil L. Contovounesios, 2020/10/13
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/13
- Re: Rethinking the design of xwidgets, Akira Kyle, 2020/10/13
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/14
- Re: Rethinking the design of xwidgets, Arthur Miller, 2020/10/14
- Re: Rethinking the design of xwidgets, Eli Zaretskii, 2020/10/14
- Re: Rethinking the design of xwidgets, Arthur Miller, 2020/10/15
- Re: Rethinking the design of xwidgets, Kai Ma, 2020/10/17