Questions tagged [xembed]

XEmbed protocol ( X Window System)

XEmbed is a protocol that uses basic X mechanisms such as client messages and reparenting windows to provide embedding of a control from one application into another application. Some of the goals of the XEmbed design are:

  • Support for out-of process controls, written in any toolkit or even plain Xlib.

  • Support for in-process-controls when mixing different toolkits in one process.

  • Smooth integration of the embedding application and embedded client in areas such as input device handling and visual feedback.

  • Easy implementation. A full implementation supporting all details correctly may require minor toolkit modifications, but it should be possible to get basic functionality going in less than 1000 lines of code.

Reference :

http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html

6 questions
2
votes
1 answer

freedesktop XEmbed systray client code in C, Xlib

I've been trying to implement a systray icon using straight C and Xlib, going along with the freedesktop specification [0]. I can't seem to get my Window to embed into my desktop manager's systray[1], while other apps seem to be able to do it. I am…
shuall
  • 35
  • 4
1
vote
0 answers

Gtk creates new XEMBED Socket when Socket is moved from one Notebook to another

I am working on a GUI application using Python 3.7 and PyGTK 3.0. My GUI consists of multiple GTK.Notebooks, which are all in the same group and all their tabs are set to be detachable. This way, I can drag away a page from one Notebook and drop it…
BenT
  • 111
  • 9
1
vote
1 answer

How can I embed a Gtk::Plug in a Gtk Socket?

I have I window. In this window I want two buttons. One will be a plug and the other is just normal. I do the following plug.cc #include #include class PlugButton : public Gtk::Plug{ public: …
1
vote
1 answer

Grab focus to embedded window inside Gtk::Socket

I have embedded gvim inside a Gtk::Socket which is placed in a Gtk::Box, how can I grab focus to the embedded gvim window so that I achieve the same as actually pointing and clicking in the embedded window? Using ->grab_focus() on the Gtk::Socket…
gauteh
  • 16,435
  • 4
  • 30
  • 34
0
votes
1 answer

Would I be able to use the XEmbed extension to implement titlebars, and arbitrary embedding of clients in my window manager?

I'm writing a window manager that is similar to AwesomeWM in that it will be configurable with lua, will have a UI system to awesome's wibox, but with some additional niceties like built-in animation support, among other things. I know AwesomeWM…
0
votes
1 answer

check for reparented window close events

I am trying to make a xlib traybar for X11 where it embeds the tray icons using XEMBED as described in the tray specs. However when I close the application with the tray icon it just removes it from the container window but the black container…
WebFreak001
  • 2,415
  • 1
  • 15
  • 24