emacs-devel
[Top][All Lists]
Advanced

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

Re: embedding gtk widgets in a buffer


From: joakim
Subject: Re: embedding gtk widgets in a buffer
Date: Sat, 10 May 2008 13:55:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Richard M Stallman <address@hidden> writes:


>     Ok. I was thinking more along having the generic callback interface
>     solve this too, and also that Id like to create the process in lisp, so
>     I could bind a sentinel to it, and send commands to it through stdio,
>     etc.
>
> You can't call general Lisp code from a GTK callback.
> Please design a way to implement the features you want
> without running any Lisp code.

On Stefans and your suggestion I implemented the gtk callbacks as a new
type of Emacs input event.

It seems to work well now, I can receive button events, and set up
xembed widgets in the input event handler, so thanks for the
suggestions!

-- 
Joakim Verona




reply via email to

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