Use xdotool to reparent an application window into an ORC frontend host. More...
Public Member Functions | |
| int|None | window_id (self) |
| Return the currently embedded native window identifier. | |
| int | embed (self, int process_id, int host_window_id, int width, int height, *str|None window_name=None, str|None window_class=None, bool relax_size_hints=False) |
| Find, hide, reparent, size, and map an X11 client inside the host. | |
| int | hide (self, int process_id, *str|None window_name=None, str|None window_class=None) |
| Find and unmap a matching X11 window without claiming it as embedded. | |
| None | resize (self, int width, int height) |
| Resize the embedded window to match its host. | |
| None | clear (self) |
| Forget the currently embedded window. | |
Static Public Member Functions | |
| bool | supported () |
| Return whether this embedding backend is available. | |
Use xdotool to reparent an application window into an ORC frontend host.
| None frontends.x11.x11_window_embedder.X11WindowEmbedder.resize | ( | self, | |
| int | width, | ||
| int | height | ||
| ) |
Resize the embedded window to match its host.
| width | New embedded-window width in pixels. |
| height | New embedded-window height in pixels. |
Reimplemented from frontends.x11.window_embedder_if.WindowEmbedderIf.
|
static |
Return whether this embedding backend is available.
True when the required native embedding support is available. Reimplemented from frontends.x11.window_embedder_if.WindowEmbedderIf.
| int | None frontends.x11.x11_window_embedder.X11WindowEmbedder.window_id | ( | self | ) |
Return the currently embedded native window identifier.
None when no window is embedded. Reimplemented from frontends.x11.window_embedder_if.WindowEmbedderIf.