Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.30 KB | None | 0 0
  1. <MyGrid>
  2.     lbl: my_label
  3.     ip: ip
  4.     port: port
  5.     speed: speed
  6.     angle: angle
  7.  
  8.     GridLayout:
  9.         cols: 1
  10.         size: root.width, root.height
  11.  
  12.         GridLayout:
  13.             cols: 2
  14.             Label:
  15.                 text: "IP"
  16.  
  17.             TextInput:
  18.                 id: ip
  19.                 multiline: False
  20.  
  21.             Label:
  22.                 text: "PORT"
  23.  
  24.             TextInput:
  25.                 id: port
  26.                 multiline: False
  27.  
  28.             Label:
  29.                 text: "Speed"
  30.  
  31.             TextInput:
  32.                 id: speed
  33.                 multiline: False
  34.  
  35.             Label:
  36.                 text: "Angle"
  37.  
  38.             TextInput:
  39.                 id: angle
  40.                 multiline: False
  41.  
  42.         GridLayout:
  43.             cols: 2
  44.             Button:
  45.                 text: "CONNECT"
  46.                 on_press: root.connecting()
  47.  
  48.             Button:
  49.                 text: "DISCONNECT"
  50.                 on_press: root.dct()
  51.  
  52.         GridLayout:
  53.             cols: 2
  54.  
  55.             Button:
  56.                 text: "SEND DATA"
  57.                 on_press: root.send_data()
  58.  
  59.             Button:
  60.                 text: "STOP SERVER"
  61.                 on_press: root.stop_srvv()
  62.  
  63.             Label:
  64.                 id: my_label
  65.                 text: ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement