Hi all,
I saw from the tutorial that we can write a simple
GTK application like the following:
#include
int main( int
argc, char *argv[]
){ GtkWidget *window;
gtk_init (&argc, &argv);
window = gtk_window_new
(GTK_WINDOW_TOPLEVEL); gtk_widget_show
(wi
Mullin Yu wrote:
> Hi all,
>
> I saw from the tutorial that we can write a simple GTK application like
> the following:
>
> #include
>
> int main( int argc,
> char *argv[] )
> {
>
> }
>
> But now, I want to put it inside a function that will call to pop up a
> window. W
On Thursday 05 September 2002 08:58, Mullin Yu wrote:
The call to gtk_init is only needed once, at the top of the program (in main).
Once that's been done, you should call gtk_main (from main). This sets up
the library and takes control of your program's flow of execution, and calls
your code