def get_style(kwargs):
    """
    Return the style of this widget.
    """
    style = kwargs.get('style', 'horizontal')
    valid_styles = ['horizontal', 'vertical']
    if style not in valid_styles:
        raise ValueError('{0} is not a valid form style!'.format(style))
    return style
