test-kivy-app/kivy_venv/share/kivy-examples/demo/showcase/data/screens/filechoosers.kv

25 lines
560 B
Plaintext
Raw Normal View History

2024-09-15 12:12:16 +00:00
ShowcaseScreen:
name: 'FileChoosers'
fullscreen: True
BoxLayout:
size_hint_y: None
height: '48dp'
ToggleButton:
text: 'Icon'
state: 'down'
group: 'filechooser'
on_release: filechooser.view_mode = 'icon'
ToggleButton:
text: 'List'
group: 'filechooser'
on_release: filechooser.view_mode = 'list'
FileChooser:
id: filechooser
FileChooserIconLayout
FileChooserListLayout