OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
frontends.tk.runtime.window_runtime Namespace Reference

Shared Tk window-mode configuration. More...

Classes

class  TkWindow
 Subset of Tk window methods used to configure fullscreen mode. More...
 

Functions

None apply_fullscreen (TkWindow window)
 Fill the display and assert Tk fullscreen after the window is mapped.
 

Detailed Description

Shared Tk window-mode configuration.

Function Documentation

◆ apply_fullscreen()

None frontends.tk.runtime.window_runtime.apply_fullscreen ( TkWindow  window)

Fill the display and assert Tk fullscreen after the window is mapped.

Some lightweight X11 window managers ignore a fullscreen request made before a Tk window enters its event loop. Explicit geometry provides an immediate fallback, and the idle callback repeats the window-manager request once the window can receive it.