def menu_style(type):
 default = ('dropdown', '')
 d = dict(lightdrop=('dropdown', 'lightdrop'), tabdrop=('dropdown', 'tabdrop'), srdrop=('dropdown', 'srdrop'), flatlist=('flatlist', 'flat-list'), tabmenu=('tabmenu', ''), formtab=('tabmenu', 'formtab'), flat_vert=('flatlist', 'flat-vert'))
 return d.get(type, default)

def menu_style ( type ) : default = ( 'dropdown' , '' ) d = dict ( lightdrop = ( 'dropdown' , 'lightdrop' ) , tabdrop = ( 'dropdown' , 'tabdrop' ) , srdrop = ( 'dropdown' , 'srdrop' ) , flatlist = ( 'flatlist' , 'flat-list' ) , tabmenu = ( 'tabmenu' , '' ) , formtab = ( 'tabmenu' , 'formtab' ) , flat_vert = ( 'flatlist' , 'flat-vert' ) ) return d . get ( type , default )
simple manager function for the styled menus .