Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

[HELP] What is best way to show error message and then close application on panic? #825

Open
@art-den

Description

@art-den

Hi
I want to show message for user if panic occurs. I tried to use crate msgbox from panic handler but for linux and if panic happens in not-main thread I see no message.
What is the idiomatic way in gtk-rs to do this?

PS: I already set panic = "abort" in my Cargo.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions