struct.group

Syntax

s = struct.group(p<,slot>)
struct.group(p<,slot>) = s

Get/set the group name assigned to structural element p in slot slot. Use of the group logic is described in Group.

Returns:

s - the name of the group in slot slot. Will return None if no group has been assigned in that slot.

Accepts:

s - the name of the group in slot slot

Arguments:

p - a pointer to a structural element

slot - the optional name of the slot used. If not given, the slot name Default will be used.