python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.42k stars 586 forks source link

How do i remove the title bar in Eel? #587

Open PoIygon opened 2 years ago

PoIygon commented 2 years ago

I want a window that isn't full screen but it doesn't have the title bar like discord or Firefox

Vivekananda-Mullangi commented 2 years ago

It is not currently supported in eel. the closest you can get to it is kiosk mode in chrome. Or you can write your own webview. I will recommend pywebview for you if you want to write a webview. It is simple to use and has a ton of features . The code you want for pywebview

import eel
import webview

eel.init('web')

# your code.....

eel.start('index.html', mode=None, block=False)

webview.create_window('Title', 'http://localhost/index.html:8000', frameless=True)

webview.start()
uday-kiran-m commented 1 year ago

You can use zero width unicode character in the html's title tag code: <title>​</title>

StephenBlack25565 commented 1 year ago

its works?