File: ConfigPane.py

package info (click to toggle)
python-renardo 0.9.12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 216 kB
  • sloc: python: 537; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from textual.app import ComposeResult
from textual.widgets import TabPane, RadioSet, Label, RadioButton


class OpenAutostartDirectly(RadioSet):
    def compose(self) -> ComposeResult:
        yield Label("Directly open Autostart tab at startup")
        yield RadioButton("Yes ")
        yield RadioButton("No", value=True)

class SCOutputNum(RadioSet):
    def compose(self) -> ComposeResult:
        yield Label("Number of SuperCollider audio outputs")


class ConfigPane(TabPane):
    def compose(self) -> ComposeResult:
        yield OpenAutostartDirectly()