Pike v8.0 release 1738

Method GTK2.setup_gtk()


Method setup_gtk

array setup_gtk(array|void argv, int|void do_not_parse_rc)

Description

Initialize GTK, and all that comes with it. Also parses $HOME/.pgtkrc and $HOME/.gtkrc if they exists. The single argument, if supplied, is the argument array passed to the program. This is used to set default window titles etc. The second argument, if supplied, indicates that pike specific *rc files should not be parsed.

The most common usage is GTK2.setup_gtk(argv);