Skip to content

Instantly share code, notes, and snippets.

@typemytype
Created June 22, 2015 13:31
Show Gist options
  • Select an option

  • Save typemytype/1e6de2afa274ae4e24ea to your computer and use it in GitHub Desktop.

Select an option

Save typemytype/1e6de2afa274ae4e24ea to your computer and use it in GitHub Desktop.
DrawBot Variable slider example
Variable([
dict(name="myVariable", ui="Slider",
args=dict( # add some vanilla Slider specific attributes
value=10,
minValue=0,
maxValue=100,
tickMarkCount=11,
stopOnTickMarks=True)),
], globals())
print myVariable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment