'how remove black main window in gtk c like in picture

how remove black main window in gtk c like in picture.

i want in run program i have one window (window calculator:like in picture) not black main c

Is there any solution?

i use exit(0) but not work, exit for window application not the black window

how remove black main window

Hope you understand me, I'm a beginner in gtk



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source