Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

Gtk::GL Namespace Reference


Classes

class  DrawingArea
class  Widget

Functions

bool init_check (int &argc, char **&argv)
bool init_check (int *argc, char ***argv)
void init (int &argc, char **&argv)
void init (int *argc, char ***argv)


Function Documentation

void init int *  argc,
char ***  argv
 

Initialize gtkglextmm library.

Call this function before using any other gtkglextmm functions in your applications. It will initialize everything needed to operate the library and parses some standard command line options. argc and argv are adjusted accordingly so your own code will never see those standard arguments.

This function will terminate your program if it was unable to initialize the library for some reason. If you want your program to fall back to a textual interface you want to call Gtk::GL::init_check() instead.

Parameters:
argc Address of the argc parameter of your main() function. Changed if any arguments were handled.
argv Address of the argv parameter of main(). Any parameters understood by Gtk::GL::init() are stripped before return.

void init int &  argc,
char **&  argv
 

Initialize gtkglextmm library.

Call this function before using any other gtkglextmm functions in your applications. It will initialize everything needed to operate the library and parses some standard command line options. argc and argv are adjusted accordingly so your own code will never see those standard arguments.

This function will terminate your program if it was unable to initialize the library for some reason. If you want your program to fall back to a textual interface you want to call Gtk::GL::init_check() instead.

Parameters:
argc Reference of the argc parameter of your main() function. Changed if any arguments were handled.
argv Reference of the argv parameter of main(). Any parameters understood by Gtk::GL::init() are stripped before return.
Examples:
font.cc, gears.cc, logo.cc, pixmap-mixed.cc, pixmap.cc, shapes.cc, share-lists.cc, simple-darea.cc, simple-mixed.cc, and simple.cc.

bool init_check int *  argc,
char ***  argv
 

Initialize gtkglextmm library.

This function does the same work as Gdk::GL::init() with only a single change: It does not terminate the program if the library can't be initialized. Instead it returns false on failure.

This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.

Parameters:
argc Address of the argc parameter of your main() function. Changed if any arguments were handled.
argv Address of the argv parameter of main(). Any parameters understood by Gtk::GL::init() are stripped before return.
Returns:
true if the library has been successfully initialized, false otherwise.

bool init_check int &  argc,
char **&  argv
 

Initialize gtkglextmm library.

This function does the same work as Gdk::GL::init() with only a single change: It does not terminate the program if the library can't be initialized. Instead it returns false on failure.

This way the application can fall back to some other means of communication with the user - for example a curses or command line interface.

Parameters:
argc Reference of the argc parameter of your main() function. Changed if any arguments were handled.
argv Reference of the argv parameter of main(). Any parameters understood by Gtk::GL::init() are stripped before return.
Returns:
true if the library has been successfully initialized, false otherwise.


Generated on Thu Nov 20 22:46:47 2003 for gtkglextmm by doxygen 1.3.4