Description:
Gtk_Main
#include <gtk--/main.h>
Main application class Normal use of this class is in main() function to give argc and argv to the gtk initialization. Widgets can use Gtk_Main::quit() for example to exit from the application. The internals of the widget have been disguised as signals so that the user can easily connect using the same methods used throughout the widget interface.
Minimal gtk-- application is something like this:
void main(int argc, char *argv[]) {
Gtk_Main m(argc, argv);
... create some widgets ...
m.run();
}
|
Properties:
|
Public member index:
|
Public member details:
Protected member details:
|
Examples:
|