(self, widget, text, orientation, buttons, nomargin=False)
return t
Creates an :obj:`.OWToolbar` with the specified ``text``, ``orientation``
            and ``buttons`` and adds it to ``widget``.

            .. seealso:: :obj:`.OWToolbar`
Creates an :obj:`.OWToolbar` with the specified ``text``, ``orientation``
            and ``buttons`` and adds it to ``widget``.
Creates an : obj : . OWToolbar with the specified text orientation and buttons and adds it to widget .
def toolbar(self, widget, text, orientation, buttons, nomargin=False):
        '''
            Creates an :obj:`.OWToolbar` with the specified ``text``, ``orientation``
            and ``buttons`` and adds it to ``widget``.

            .. seealso:: :obj:`.OWToolbar`
        '''
        t = OWToolbar(self, text, orientation, buttons, widget, nomargin)
        if nomargin:
            t.layout().setContentsMargins(0, 0, 0, 0)
        if widget.layout() is not None:
            widget.layout().addWidget(t)
        return t
def toolbar ( self , widget , text , orientation , buttons , nomargin = False ) : t = OWToolbar ( self , text , orientation , buttons , widget , nomargin ) if nomargin : t . layout ( ) . setContentsMargins ( 0 , 0 , 0 , 0 ) if widget . layout ( ) is not None : widget . layout ( ) . addWidget ( t ) return t