Skip to content

How can i actually *close* gtk after gtk::init #1787

Answered by sdroege
ogios asked this question in Q&A
Discussion options

You must be logged in to vote

You can only use GTK from a single thread. Either you have to continue using the initial thread, or you have to restart your process.

Also note that on macOS you must use GTK from the thread that called main().

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ogios
Comment options

Answer selected by ogios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants