<s> from muntjac . api import VerticalLayout , Link <EOL> from muntjac . terminal . theme_resource import ThemeResource <EOL> from muntjac . terminal . external_resource import ExternalResource <EOL> class LinkCurrentWindowExample ( VerticalLayout ) : <EOL> _CAPTION = '<STR_LIT>' <EOL> _TOOLTIP = '<STR_LIT>' <EOL> _ICON = ThemeResource ( '<STR_LIT>' ) <EOL> def __init__ ( self ) : <EOL> super ( LinkCurrentWindowExample , self ) . __init__ ( ) <EOL> self . setSpacing ( True ) <EOL> l = Link ( self . _CAPTION , ExternalResource ( '<STR_LIT>' ) ) <EOL> l . setDescription ( self . _TOOLTIP ) <EOL> self . addComponent ( l ) <EOL> l = Link ( self . _CAPTION , ExternalResource ( '<STR_LIT>' ) ) <EOL> l . setDescription ( self . _TOOLTIP ) <EOL> l . setIcon ( self . _ICON ) <EOL> self . addComponent ( l ) <EOL> l = Link ( ) <EOL> l . setResource ( ExternalResource ( '<STR_LIT>' ) ) <EOL> l . setDescription ( self . _TOOLTIP ) <EOL> l . setIcon ( self . _ICON ) <EOL> self . addComponent ( l ) </s>
