from pyjamas.ui.RootPanel import RootPanel
from pyjamas.ui.Label import Label
from pyjamas.ui.FlowPanel import FlowPanel
from pyjamas import logging
if __name__ == '__main__':
log = logging.getConsoleLogger('RootPanel')
flowPanel = FlowPanel()
flowPanel.add(Label('item 1'))
flowPanel.add(Label('item 2'))
flowPanel.add(Label('item 3'))
log.debug('start of flowpanel')
for child in flowPanel.getChildren():
log.debug(' child is %s'%child)
RootPanel().add(flowPanel)
I also wanted to mention I searched the existing issues and forums and could not find anything on this topic.