gtkInit {RGtk2} | R Documentation |
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.
gtkInit(args = .GtkInitArgs)
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.
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.
Derived by RGtkGen from GTK+ documentation