Skip to content

[V3] MacOS NSWindow Tabbing option #4964

@Eriyc

Description

@Eriyc

Is your feature request related to a problem? Please describe.

Image
On MacOS 10.12+ there's a setting for window tabs, see the image. Wails3 has Mac window options, but no option for window tabbing, and currently v3 respects the system setting. I require some windows to have their own frame.

Describe the solution you'd like

app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{
    Mac: application.MacWindow{
        TabbingMode: application.MacWindowTabbingModeDisallowed,
    },
})

Same as other window attributes are set.

As this is the opposite of multi-window, this should maybe even be set as disabled by default.

Describe alternatives you've considered

No response

Additional context

https://developer.apple.com/documentation/appkit/nswindow/tabbingmode-swift.property

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions