HI All,
We’ve been working on a help guide to get Python scripters started on creating dialog with Eto in Rhino 6 and Rhino 5 for Mac.
If this topic is interesting to you, please spend the time to review and give us your feedback.
Thanks,
– Dale
HI All,
We’ve been working on a help guide to get Python scripters started on creating dialog with Eto in Rhino 6 and Rhino 5 for Mac.
If this topic is interesting to you, please spend the time to review and give us your feedback.
Thanks,
– Dale
There is a new guide To compliment the other Eto guide. This new guide covers all the common dialog controls in Rhino.Python.
The standard controls covered in the guide are:
Button, Calendar, CheckBox, ColorPicker, ComboBox, DateTimePicker, DropDown, GridView, GroupBox, ImageView, Label, LinkButton , ListBox, NumericUpDown, PasswordBox, ProgressBar, RadioButtonList, RichTextArea , SearchBox , Slider, Spinne, TextArea, TextBox, TreeGridView and WebView.
There is a third guide in the Eto dialog framework series. This new guide covers layouts used to organize dialog controls in Rhino.Python.
could you please add examples on how to create a CheckListBox and a ListBox containing entries with color swatches in front of the list items ?
An example creating a ComboBox with color swatches would also be welcome:
thanks,
c.
Hi @dale,
can i limit it to display only 10 predefined colors with custom names to choose from ?
_
c.
Hi @clement,
The ColorPicker lets you pick a color using the standard platform color picker. So, no, there is no way to limit the displayed items.
Here is a sample that shows a list of colors in a dropdown control.
https://github.com/mcneel/rhino-developer-samples/blob/6/rhinopython/SampleEtoColorDropDown.py
Does this help?
– Dale
@dale, thank you very much. Thats a very clear example using graphics.
_
c.