1 <!-- Copyright 2003 Charles Goodwin
2 LGPL - see COPYING for details -->
7 A utility for grouping together widgets that wish to be affiliated
8 with each other in an arbitrary fashion
11 Call ibex.util.group..newGroup((str)name) to create a new 'super
12 group' and use to ibex.util.group..syncGroup() to create and group
16 // reference for super groups
19 // v - widget to group
22 memberInsert = function(v, s, g) {
24 // if necessary, create the supergroup
25 if (!groups[s]) groups[s] = [];
27 // if no subgroup specified, create one
28 if (3 > arguments.length)
29 groups[s][groups[s].length] = g = { members : ibex.util.vector..newVector([m]) };
32 memberPosition = function(v, s, g) {
36 // v - widget to group
39 memberRemove = function(v, s, g) {