|
gsplash
|
Example program demonstrating GSplash usage in GUI and CLI modes. More...

Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| Entry point for the GSplash example. | |
--gui).Usage notes:
--gui is enabled, the program starts a QApplication event loop and displays a window.--gui is disabled, the example runs in command-line mode and does not create GUI objects. Definition in file gsplash_example.cc.
| int main | ( | int | argc, |
| char * | argv[] ) |
The program demonstrates two execution modes:
--gui switch, creates a QApplication, shows a main window, and displays a splash.--gui is not enabled, skips all GUI initialization.The timeout value is read from the tt scalar option and used to exit the GUI event loop.
| argc | Number of command-line arguments. |
| argv | Array of command-line arguments. |
Definition at line 41 of file gsplash_example.cc.