applp.App module

class applp.App(title='MyApp', **kwargs)[source]

Bases: Tk

Custom tkinter App window that opens according to the monitor size.

Parameters:

title (str) – Title of the App.

Examples

>>> from applp import App
...
>>> app = App(title="MyApp")
>>> app.mainloop()
crush = False
property fact
property height
mainloop()[source]

Call the mainloop of Tk.

property ratio
property run_in_wsl

True if WSL.

screen_proportion = 0.6666666666666666
property width
property widthxheight
property windows_primary_monitor_size
winfo_screenheight()[source]

Return the number of pixels of the height of the screen of this widget in pixel.

winfo_screenwidth()[source]

Return the number of pixels of the width of the screen of this widget in pixel.

wsl_percent = 150
property wsl_proportion