AddAttrib adds an attribute type and its checker/converte If the attribute type name already exists it is replaced.
(typename string, acf AttribCheckFunc)
| 480 | // AddAttrib adds an attribute type and its checker/converte |
| 481 | // If the attribute type name already exists it is replaced. |
| 482 | func (b *Builder) AddAttrib(typename string, acf AttribCheckFunc) { |
| 483 | |
| 484 | b.attribs[typename] = acf |
| 485 | } |
| 486 | |
| 487 | // build builds the gui object from the specified description. |
| 488 | // All its children are also built recursively |
no outgoing calls
no test coverage detected