

def __init__(self, parent, name=None, border=None, aspect=None, size=[1, 1], pos=[0, 0], sub_theme='', options=BGUI_DEFAULT):
    "\n\t\t:param parent: the widget's parent\n\t\t:param name: the name of the widget\n\t\t:param border: the size of the border around the frame (0 for no border)\n\t\t:param aspect: constrain the widget size to a specified aspect ratio\n\t\t:param size: a tuple containing the width and height\n\t\t:param pos: a tuple containing the x and y position\n\t\t:param sub_theme: name of a sub_theme defined in the theme file (similar to CSS classes)\n\t\t:param options: various other options\n\n\t\t"
    Widget.__init__(self, parent, name, aspect, size, pos, sub_theme, options)
    self.colors = [self.theme['Color1'], self.theme['Color2'], self.theme['Color3'], self.theme['Color4']]
    self.border_color = self.theme['BorderColor']
    if (border is not None):
        self.border = border
    else:
        self.border = self.theme['BorderSize']

dataset/ETHPy150Open Moguri/bgui/bgui/frame.py Frame.__init__/original