<s> from muntjac . api import VerticalLayout , Button , Label , Panel , Link <EOL> from muntjac . terminal . theme_resource import ThemeResource <EOL> from muntjac . terminal . external_resource import ExternalResource <EOL> class IconsExample ( VerticalLayout ) : <EOL> def __init__ ( self ) : <EOL> super ( IconsExample , self ) . __init__ ( ) <EOL> self . setSpacing ( True ) <EOL> button = Button ( '<STR_LIT>' ) <EOL> button . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> self . addComponent ( button ) <EOL> l = Label ( '<STR_LIT>' ) <EOL> l . setCaption ( '<STR_LIT>' ) <EOL> l . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> self . addComponent ( l ) <EOL> p = Panel ( '<STR_LIT>' ) <EOL> p . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> self . addComponent ( p ) <EOL> lnk = Link ( '<STR_LIT>' , <EOL> ExternalResource ( '<STR_LIT>' ) ) <EOL> lnk . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> p . addComponent ( lnk ) <EOL> lnk = Link ( '<STR_LIT>' , <EOL> ExternalResource ( '<STR_LIT>' ) ) <EOL> lnk . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> p . addComponent ( lnk ) <EOL> lnk = Link ( '<STR_LIT>' , <EOL> ExternalResource ( '<STR_LIT>' ) ) <EOL> lnk . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> p . addComponent ( lnk ) <EOL> lnk = Link ( '<STR_LIT>' , <EOL> ExternalResource ( '<STR_LIT>' ) ) <EOL> lnk . setIcon ( ThemeResource ( '<STR_LIT>' ) ) <EOL> p . addComponent ( lnk ) </s>
