createSecond creates and returns the second sub container of this container.
(opts []Option)
| 215 | |
| 216 | // createSecond creates and returns the second sub container of this container. |
| 217 | func (c *Container) createSecond(opts []Option) error { |
| 218 | second, err := newChild(c, opts) |
| 219 | if err != nil { |
| 220 | return err |
| 221 | } |
| 222 | c.second = second |
| 223 | return nil |
| 224 | } |
| 225 | |
| 226 | // Draw draws this container and all of its sub containers. |
| 227 | func (c *Container) Draw() error { |
no test coverage detected