Split gtk program into separate C files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm new to gtk programming. I would like to create a simple window with a button. No problem. How do I go about putting the main window into one "c" file and putting the:
void CloseTheApp ()
{
gtk_main_quit () ;
}
into another file. Would I simply create a "lib.h" file declaring "CloseTheApp"? Any help would be appreciated. Thanks.


_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux