Split returns the current position of the splitter bar. It returns a value from 0.0 to 1.0
()
| 102 | // Split returns the current position of the splitter bar. |
| 103 | // It returns a value from 0.0 to 1.0 |
| 104 | func (s *Splitter) Split() float32 { |
| 105 | |
| 106 | return s.pos |
| 107 | } |
| 108 | |
| 109 | // onResize receives subscribed resize events for the whole splitter panel |
| 110 | func (s *Splitter) onResize(evname string, ev interface{}) { |
no outgoing calls
no test coverage detected