From: Richard M Stallman <rms@gnu.org>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: embedding gtk widgets in a buffer
Date: Thu, 08 May 2008 18:28:45 -0400 [thread overview]
Message-ID: <E1JuEbV-0007iO-GS@fencepost.gnu.org> (raw)
In-Reply-To: <m3ej8dhf6q.fsf@verona.se> (joakim@verona.se)
- callback interface for the widgets. It would be nice with some ideas
how to do this. For instance:
- button pressed handler
The natural way is for this to generate events, and when those events
reach the main loop, they will do whatever it is.
- when a xembed widget is ready, a callback to start an external
program in the widget would be nice, now it has to be done manually on
the cmd line
This callback does not need to be visible from Lisp.
When you create the widget, you specify the command and args
for the command to start the program. In the C code,
Emacs can handle the callback by starting it.
- 2 windows showing the same buffer doesnt quite work and is probably tricky
It would be a pain in the neck to have buffers that are not allowed to
appear in more than one window, but this may be necessary for the
xembed case.
Buttons in the buffer ought to be able to work on more than one Emacs
window.
The only way I can think of to make the xembed widgets work in more
than one Emacs window is if you can tell the other program to display
in a pixmap, and then Emacs redisplay would copy that pixmap to the
screen.
next prev parent reply other threads:[~2008-05-08 22:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 23:23 embedding gtk widgets in a buffer joakim
2008-05-08 0:21 ` joakim
2008-05-08 9:02 ` BVK
2008-05-08 22:28 ` Richard M Stallman [this message]
2008-05-08 23:13 ` joakim
2008-05-08 23:24 ` Lennart Borgman (gmail)
2008-05-10 8:55 ` Richard M Stallman
2008-05-10 11:55 ` joakim
2008-05-10 8:55 ` Richard M Stallman
2008-05-10 9:58 ` joakim
2008-05-10 10:22 ` Lennart Borgman (gmail)
2008-05-11 7:34 ` Richard M Stallman
2008-05-09 8:34 ` YAMAMOTO Mitsuharu
2008-05-10 21:07 ` joakim
2008-05-11 7:35 ` Richard M Stallman
2008-05-11 8:25 ` joakim
2008-05-11 12:32 ` David Kastrup
2008-05-11 12:48 ` joakim
2008-05-11 12:58 ` Lennart Borgman (gmail)
2008-05-12 4:38 ` tomas
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=E1JuEbV-0007iO-GS@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joakim@verona.se \
/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).