ó
mÜJ]c           @` s¥   d  Z  d d l m Z m Z m Z m Z d d l Z e j e ƒ Z	 d d l
 m Z d d l m Z m Z m Z d d l m Z d Z e d
 e f d „  ƒ  Yƒ Z d S(   ua   Provide a base class for all Bokeh widget models.

In addition to different kinds of plots, various kinds of UI controls (e.g.
sliders, buttons, inputs, etc.) can be included in Bokeh documents. These
widgets can be used in conjunction with ``CustomJS`` callbacks that execute
in the browser,  or with python callbacks that execute on a Bokeh server.

i    (   t   absolute_importt   divisiont   print_functiont   unicode_literalsNi   (   t   abstract(   t   Intt   Enumt   Overridei   (   t	   LayoutDOMu   Widgett   Widgetc           B` sG   e  Z d  Z e d d d d ƒZ e d d d d ƒ Z e d d	 ƒ Z RS(
   u5    A base class for all interactive widget types.

    u
   horizontalu   verticalt   helpu…   
    Orient the widget either horizontally (default) or vertically.

    Note that not all widgets support vertical orientation.
    t   defaulti,  uŒ   
    The default size (width or height) in the dominating dimension.

    The dominating dimension is determined by widget orientation.
    i   (   i   i   i   i   (	   t   __name__t
   __module__t   __doc__R   t   orientationR   t   default_sizeR   t   margin(    (    (    s:   lib/python2.7/site-packages/bokeh/models/widgets/widget.pyR	   7   s   		(   u   Widget(   R   t
   __future__R    R   R   R   t   loggingt	   getLoggerR   t   logt   core.has_propsR   t   core.propertiesR   R   R   t   layoutsR   t   __all__R	   (    (    (    s:   lib/python2.7/site-packages/bokeh/models/widgets/widget.pyt   <module>   s   "