GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — .set_kiosk(True) not workin on macOS · Issue #37 · webui-dev/python-webui

.set_kiosk(True) not workin on macOS #37

New issue
Copy link
New issue
Copy link
Open
Open
.set_kiosk(True) not workin on macOS#37
Copy link
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed

Description

@rxlxnd
rxlxnd
opened on Jun 12, 2025
Issue body actions

when using webview on macos with webui, there is no difference between

my_window.set_kiosk(True) # Enable Kiosk mode
and
my_window.set_kiosk(False) # Disable Kiosk mode

I would have assumed that my_window.set_kiosk(True) would disable the hover effect when the mouse is in the menu bar area, which makes turn grey.

Maybe NSWindowStyleMaskBorderless should be used when kiosk is set to true (with Webview on macos and set_kiosk(true))?
https://developer.apple.com/documentation/appkit/nswindow/stylemask-swift.struct/borderless?language=objc

Activity

  1. AlbertShown commented on Jun 12, 2025

    @AlbertShown
    AlbertShown
    on Jun 12, 2025
    Member
    More actions

    The kiosk mode is only for web browser window, it makes it full screen.
    If you want to hide the window borders you will need to use WebView and webui_set_frameless() option, please check this example in C.

    Please keep in mind that webui_set_frameless() still in Beta, so it's not implemented yet in Python wrapper.

    screenshot

    Reacted by Roland
  2. AlbertShown commented on Jun 12, 2025

    @AlbertShown
    AlbertShown
    on Jun 12, 2025
    Member
    More actions

    Anyone can add those missing C APIs including webui_set_frameless() in webui.py, simply adding a proper Python new method .set_frameless() that calls webui_set_frameless().

    PR are welcome!

  3. AlbertShown
    added
    enhancementNew feature or requestNew feature or request
    help wantedExtra attention is neededExtra attention is needed
    on Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.