# Dropdown list separator

**URL:** <https://forum.inductiveautomation.com/t/dropdown-list-separator/16851>\
**Category:** Ignition\
**Created:** [February 2, 2018, 3:28pm UTC](https://forum.inductiveautomation.com/t/dropdown-list-separator/16851 "2018-02-02T15:28:19Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![JNelson](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JNelson](https://forum.inductiveautomation.com/u/JNelson)\
**Post date:** [February 7, 2018, 12:05am UTC](https://forum.inductiveautomation.com/t/dropdown-list-separator/16851/21 "2018-02-07T00:05:43Z")

</div>

I was trying to do the same thing! I found this post and it works great (click on the link below):

> [@Jython: Setting up a Popup Menu dynamically](http://forum.inductiveautomation.com/t/jython-setting-up-a-popup-menu-dynamically/6318/5):
>
> Well, I know this doesn’t exactly help you now, but in 7.6 you’ll be able to do something like this: from functools import partial def f1(event): print 'f1(event=%s)' % str(event) def f2(event): print 'f2(event=%s)' % str(event) def f3(event, param): print 'f3(event=%s, param=%s)' % (str(event), str(param)) f3\_partial = partial(f3, param='some value') menu = system.gui.createPopupMenu({ 'item1' : f1, 'item2' : f2, 'item3' : f3\_partial}) menu.show(event) This is valid Jython…

---

_[View the full topic](https://forum.inductiveautomation.com/t/dropdown-list-separator/16851)._
