Puts a view behind another. The background view inherits the size of the view.
(self, background: BG)
| 11 | |
| 12 | /// Puts a view behind another. The background view inherits the size of the view. |
| 13 | fn background<BG: View + Clone>(self, background: BG) -> Background<Self, BG> { |
| 14 | Background::new(self, background) |
| 15 | } |
| 16 | |
| 17 | /// Adds a menu command. |
| 18 | fn command<F: Fn(&mut Context) + Clone + 'static>( |
no outgoing calls
no test coverage detected