TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Const
Since 2.6
If a long option in the main group has this name, it is not treated as a regular option. Instead it collects all non-option arguments which would otherwise be left in argv. The option must be of type GLib.OptionArg.CALLBACK, GLib.OptionArg.STRING_ARRAY or GLib.OptionArg.FILENAME_ARRAY.
argv
Using G_OPTION_REMAINING instead of simply scanning argv for leftover arguments has the advantage that GOption takes care of necessary encoding conversions for strings or filenames.
G_OPTION_REMAINING
2.6
If a long option in the main group has this name, it is not treated as a regular option. Instead it collects all non-option arguments which would otherwise be left in
argv. The option must be of type GLib.OptionArg.CALLBACK, GLib.OptionArg.STRING_ARRAY or GLib.OptionArg.FILENAME_ARRAY.Using
G_OPTION_REMAININGinstead of simply scanningargvfor leftover arguments has the advantage that GOption takes care of necessary encoding conversions for strings or filenames.