emacs-devel
[Top][All Lists]
Advanced

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

Re: Rethinking the design of xwidgets


From: Eli Zaretskii
Subject: Re: Rethinking the design of xwidgets
Date: Thu, 15 Oct 2020 18:06:47 +0300

> 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?



reply via email to

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