# How to reset a ctk.ctkComboBox?

**URL:** <https://discourse.slicer.org/t/how-to-reset-a-ctk-ctkcombobox/20164>\
**Category:** Development\
**Tags:** python\
**Created:** [October 15, 2021, 3:12am UTC](https://discourse.slicer.org/t/how-to-reset-a-ctk-ctkcombobox/20164 "2021-10-15T03:12:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jumbojing](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jumbojing/32/10811_2.png) [@jumbojing](https://discourse.slicer.org/u/jumbojing)\
**Post date:** [October 15, 2021, 3:12am UTC](https://discourse.slicer.org/t/how-to-reset-a-ctk-ctkcombobox/20164/1 "2021-10-15T03:12:51Z")

</div>

How to reset a ctk.ctkComboBox to index=0?

就是说, 一个ctk.ctkComboBox改变时,另一个 ctk.ctkComboBox恢复到index=0…

> In other words, when a ctk.ctkComboBox is changed, another ctk.ctkComboBox is restored(or reset) to index=0…

@lassoan@Juicy@jamesobutler @jcfr @pieper
