gtkInit {RGtk2}R Documentation

gtkInit

Description

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

Usage

gtkInit(args = .GtkInitArgs)

Details

Note that there are some alternative ways to initialize GTK+: if you are calling gtkParseArgs(), gtkInitCheck, gtkInitWithArgs() or gOptionContextParse() with the option group returned by gtkGetOptionGroup(), you don't have to call gtkInit.

This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call gtkInitCheck instead.

Note

This function will terminate your program if it was unable to initialize the GUI for some reason. If you want your program to fall back to a textual interface you want to call gtkInitCheck instead.

This function is deprecated. You should use GDK_PRIORITY_REDRAW instead. This function is deprecated. You should use G_PRIORITY_HIGH instead. This function is deprecated. You should use G_PRIORITY_DEFAULT_IDLE instead. This function is deprecated. You should use G_PRIORITY_LOW instead.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.8.6 Index]