Drop down menu

This code snippet shows how to create a drop down menu button using elementary ctxpopup widget.