tt123
tt123

Reputation: 31

Hide terminal, C + GTK

gcc -o program program.c `pkg-config --libs --cflags gtk+-2.0`

When I run the program, it show both the GUI and the terminal. How can I hide the terminal?

Upvotes: 1

Views: 551

Answers (2)

IrekG
IrekG

Reputation: 1

add -mwindows parameter to compiler command line

Upvotes: 0

Andreas Tunek
Andreas Tunek

Reputation: 79

You can double click on the executable named "program". Then you will not see the terminal.

Upvotes: 1

Related Questions