GLib.OptionContext
const GLib = imports.gi.GLib; let optionContext = new GLib.OptionContext();
A <structname>GOptionContext</structname> struct defines which options are accepted by the commandline option parser. The struct has only private fields and should not be directly accessed.
Methods
- GLib.OptionContext.prototype.add_group
- GLib.OptionContext.prototype.add_main_entries
- GLib.OptionContext.prototype.free
- GLib.OptionContext.prototype.get_description
- GLib.OptionContext.prototype.get_help
- GLib.OptionContext.prototype.get_help_enabled
- GLib.OptionContext.prototype.get_ignore_unknown_options
- GLib.OptionContext.prototype.get_summary
- GLib.OptionContext.prototype.parse
- GLib.OptionContext.prototype.parse_strv
- GLib.OptionContext.prototype.set_description
- GLib.OptionContext.prototype.set_help_enabled
- GLib.OptionContext.prototype.set_ignore_unknown_options
- GLib.OptionContext.prototype.set_main_group
- GLib.OptionContext.prototype.set_summary
- GLib.OptionContext.prototype.set_translate_func
- GLib.OptionContext.prototype.set_translation_domain