Skip to content

Instantly share code, notes, and snippets.

@Eugeny
Created July 6, 2010 12:51
Show Gist options
  • Save Eugeny/465345 to your computer and use it in GitHub Desktop.
Save Eugeny/465345 to your computer and use it in GitHub Desktop.
x = UI.HContainer()
for y in range(0,2):
bm = UI.HContainer(UI.MiniButton(text='/'),UI.MiniButton(text='Home'),UI.MiniButton(text='FTP'))
fm = UI.FMPanel(free='123 of 456 Pb free')
bc = UI.HContainer(UI.BreadCrumbLeft(), UI.BreadCrumb(text='home'), UI.BreadCrumb(text='user'), UI.BreadCrumbRight())
for i in range(0,20):
fm.appendChild(UI.FMPanelRow(name='longfilename%i.data'%i, size='123 Tb', access='drwxrwxrwx', owner='root:root'))
mainTable = UI.VContainer(bm,UI.Spacer(height=10),bc,UI.Spacer(height=10),fm)
x.hnode(mainTable)
x.hnode(UI.Spacer(width=20))
panel.appendChild(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment