OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
apps.orcUi.adapters.waydroid_window_embedder.WaydroidWindowEmbedder Class Reference

Verify Android's output, since an X11 resize alone is not an acknowledgement. More...

Inheritance diagram for apps.orcUi.adapters.waydroid_window_embedder.WaydroidWindowEmbedder:
frontends.x11.x11_window_embedder.X11WindowEmbedder frontends.x11.window_embedder_if.WindowEmbedderIf

Public Member Functions

 resize (self, width, height)
 Resize the embedded window to match its host.
 clear (self)
 Forget the currently embedded window.
Public Member Functions inherited from frontends.x11.x11_window_embedder.X11WindowEmbedder
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, Callable[[], bool]|None cancelled=None, int|None failure_parent_window_id=None, tuple[int, int] vertical_crop=(0, 0))
 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 set_vertical_crop (self, int top, int bottom)
 Reserve off-viewport chrome without scaling the application's pixels.

Additional Inherited Members

Static Public Member Functions inherited from frontends.x11.x11_window_embedder.X11WindowEmbedder
bool supported ()
 Return whether this embedding backend is available.
int root_window_id ()
 Resolve the X11 root without relying on a nonexistent Tk winfo API.
Static Protected Member Functions inherited from frontends.x11.x11_window_embedder.X11WindowEmbedder
int _root_from_xlib ()
 Termux may lack xwininfo; reuse Tk's existing system X11 library.

Detailed Description

Verify Android's output, since an X11 resize alone is not an acknowledgement.

Member Function Documentation

◆ resize()

apps.orcUi.adapters.waydroid_window_embedder.WaydroidWindowEmbedder.resize ( self,
width,
height )

Resize the embedded window to match its host.

Parameters
widthNew embedded-window width in pixels.
heightNew embedded-window height in pixels.

Reimplemented from frontends.x11.x11_window_embedder.X11WindowEmbedder.


The documentation for this class was generated from the following file:
  • apps/orcUi/adapters/waydroid_window_embedder.py