Class

QuarrelSpecialFlag

Description

class Quarrel.SpecialFlag : Quarrel.Opt
{
  /* No available fields */
}

Similar to QuarrelFlag which also turns of validating positional arguments. Used for flags such as --version and --help.

Ancestors

Constructors

quarrel_special_flag_new

Create a flag option.

Instance methods

quarrel_special_flag_get_enabled
No description available.

quarrel_special_flag_set_enabled
No description available.

Methods inherited from QuarrelOpt (8)
quarrel_opt_get_description
No description available.

quarrel_opt_set_description
No description available.

quarrel_opt_get_name
No description available.

quarrel_opt_set_name
No description available.

quarrel_opt_get_long
No description available.

quarrel_opt_set_long
No description available.

quarrel_opt_get_short
No description available.

quarrel_opt_set_short
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Quarrel.SpecialFlag:enabled

Parsed flag state.

Properties inherited from QuarrelOpt (4)
Quarrel.Opt:description

Human-readable description shown in generated help output.

Quarrel.Opt:name

Placeholder name shown for the option value in help output.

Quarrel.Opt:long

Long option name, used as --name.

Quarrel.Opt:short

Short option name, used as -n.

Signals

Signals inherited from QuarrelOpt (1)
QuarrelOpt::parse

Parse and store a value received for this option. Returns optional parse error string.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct QuarrelSpecialFlagClass {
  /* no available fields */
}

No description available.