def METHOD_NAME(self, rect=None, style=u'normal'):
    r"""Draws a simple frame around the widget.
    Parameters
    ----------
    rect : tuple, NoneType, optional
        A (left, top, width, height) tuple for the frame geometry or `None`
        to use the widget geometry.
    style : str, unicode, optional
        A visual style. Should be 'normal', 'active', or 'light'.
    """
    if not self.frame:
        return
    if style not in self._frame_elements:
        element = self.theme_engine.frame(*self.rect, style=style)
        self._frame_elements[style] = element
        self.canvas.add_element(element)
        self.canvas.lower_to_bottom(element)
    for element_style, element in self._frame_elements.items():
        element.visible = element_style == style