nim-lang / ui

Beginnings of what might become Nim's official UI library.
MIT License
240 stars 32 forks source link

Added RadioButton onselected, ProgressBar value getter, and renamed some parameters for consistency #7

Open PMunch opened 7 years ago

PMunch commented 7 years ago

For some reason RadioButtons didn't have an onselected field nor the functions to add one. These have been added in the same style as the combobox.

ProgressBar had only a setter and no getter, while a getter is probably never used for a progress bar I feel it should at least have one in case you need it.

Also renamed some of the parameters on the form "c: SomeWidget" to "child: SomeWidget" to be consistent across the library.