#:kivy 1.4 [ContainerToggle@ToggleButton]: group: "container_toggle" text: ctx.text on_press: root.parent.parent.parent.show_kv(*args) state: ctx.state if hasattr(ctx, "state") else "normal" : language_box: language_box screen_manager: screen_manager BoxLayout: BoxLayout: size_hint: None, 1 orientation: "vertical" ContainerToggle: text: "Welcome" state: "down" ContainerToggle: text: "Float Layout" ContainerToggle: text: "Box Layout" ContainerToggle: text: "Anchor Layout" ContainerToggle: text: "Grid Layout" ContainerToggle: text: "Stack Layout" ContainerToggle: text: "Buttons" ContainerToggle: text: "Labels" ContainerToggle: text: "Booleans" ContainerToggle: text: "Progress Bar" ContainerToggle: text: "Media" ContainerToggle: text: "Text" ContainerToggle: text: "Popups" ContainerToggle: text: "Selectors" ContainerToggle: text: "File Choosers" ContainerToggle: text: "Scatter" ContainerToggle: text: "ReST" ScreenManager: id: screen_manager size_hint: 1, 1 Screen: name: "Welcome" PlaygroundContainer: Screen: name: "Float Layout" FloatLayoutContainer Screen: name: "Box Layout" BoxLayoutContainer: Screen: name: "Anchor Layout" AnchorLayoutContainer: Screen: name: "Grid Layout" GridLayoutContainer: Screen: name: "Stack Layout" StackLayoutContainer: Screen: name: "Buttons" ButtonContainer: Screen: name: "Labels" LabelContainer: Screen: name: "Booleans" CheckBoxContainer: Screen: name: "Progress Bar" ProgressBarContainer: Screen: name: "Media" MediaContainer: Screen: name: "Text" TextContainer: Screen: name: "Popups" PopupContainer: Screen: name: "Selectors" SelectorsContainer: Screen: name: "File Choosers" FileChooserContainer: Screen: name: "Scatter" ScatterContainer: Screen: name: "ReST" RestContainer: BoxLayout: id: bl orientation: "vertical" size_hint: 1, 1 KivyRenderTextInput: text_size: self.width-20, self.height-20 font_name: "DroidSansMono.ttf" valign: "top" id: language_box text: "This box will display the kivy language for whatever has been selected" Button: size_hint: 1, None height: 50 text: "Render" on_press: root.change_kv(*args)