pyPENELOPE

material – Dialog to define a material

Inheritance diagram of penelopetools.gui.dialog.material

class penelopetools.gui.dialog.material.ElementsListCtrl(parent, elements)

Bases: wxtools.list.ObjectCheckListCtrl

Append(obj)
DeleteAllItems()
DeleteCheckedItems()
DeleteItem(row)
GetObject(row)
render()

Override ObjectCheckedListCtrl.render()

class penelopetools.gui.dialog.material.ElementsPanel(parent, elements)

Bases: wx._windows.Panel

is_correct()
on_click_btnadd(event)
on_click_btnaddall(event, defaultvalue='')
on_click_btnaddall_formula(event, defaultvalue='')
on_click_btnclear(event)
on_click_btnremove(event)
render()
class penelopetools.gui.dialog.material.MaterialDialog(material, vacuum=True, parent=None, id=-1, pos=wx.Point(-1, -1), title='Material')

Bases: wx._windows.Dialog

is_correct()
on_click_btncalc(event)
on_click_btncancel(event)
on_click_btnok(event)
on_click_btnopen(event)
on_click_btnsave(event)
on_click_btnvacuum(event)
on_close(event=None, code=5101)

Close the PeriodicTableWindow.PeriodicTableFrame.

Returns:1 if the window is close using the Ok button, 0 otherwise
Return type:int
render()
class penelopetools.gui.dialog.material.MaterialInfoPanel(parent, material)

Bases: wx._windows.Panel

is_correct()
on_click_chkdensity(event)
on_click_chkname(event)
render()