as.flag(x)
## S3 method for class 'flags':
[(x, value)
## S3 method for class 'flag':
|(x, y)
## S3 method for class 'flag':
&(x, y)
## S3 method for class 'flag':
!(x)
## S3 method for class 'enum':
==(x, y)flag for as.flag, [.flags, and the bitwise operators.
A logical value for ==.enum.RGtk2 defines all of the enum and flag types from the API's as vectors of class
flags or enums with their names corresponding to the
nicknames of the values. The [ operator on the flags class
retrieves a value as a flag. This only necessary for the bitwise ops and
thus is not necessary for enums.
The ==.enum method compares a enum with either a
character or numeric representation of an enum value.