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: Richard M Stallman
Subject: Re: embedding gtk widgets in a buffer
Date: Sat, 10 May 2008 04:55:10 -0400

    - create new instances of the widgets for every window the widget is
      supposed to be shown. This is visualy appealing, but troublesome to
      implement, at least if each widget is really going to look like its
      counterpart in another window, especially for xembed.

Would that work?  In the case of xembed, can both widgets talk
to the same process and show the same output?

    - the selected window and other windows are not drawn the same way. The
      selected window contains the real live widgets. The non-selected
      windows show some kind of shadow copy of the widget, in the simplest
      case a grey rectangle, more elaborately a bitmap copy of the widget at
      the time the window selection switch was made.

That ought to do the job, if it is possible to get the whole output.
I see a possible problem in the case where the widget is partially or
wholely scrolled off the screen.




reply via email to

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