import tichy.gui as gui from tichy.menu import Menu from tichy.list import List from tichy.style import Style, Font, Frame class Style1(Style): name = "clearlook" @classmethod def code(cls): return { 'background' : None, 'font' : Font(Style1.path('font.ttf'), 24), gui.Edit : {'background' : Frame(gui.Image(Style1.path('edit_frame.png')))}, gui.Button : {'background' : Frame(gui.Image(Style1.path('button_frame.png')))}, gui.ApplicationFrame.Bar : {'background' : Frame(gui.Image(Style1.path('bar_frame.png')))}, gui.ApplicationFrame.Content : {'background' : Frame(gui.Image(Style1.path('content_frame.png')))}, 'pressed-style' : {'background' : Frame(gui.Image(Style1.path('button_pressed_frame.png')))}, Menu : { 'children-style' : { gui.Button : {'background' : Frame(gui.Image(Style1.path('menu_button_frame.png')))}, } }, List : { 'children-style' : { gui.Button : {'background' : Frame(gui.Image(Style1.path('list_button_frame.png')))}, } } }