sugar-toolkit-gtk3/shell/console/plugins/memphis_init/info.py
2006-12-04 11:12:24 -08:00

14 lines
423 B
Python

###########################################################
# Main function:
# -----------------
# self: self plugin object
# mself: memphis object / principal class
# pinfo: row with information about current tracing process
############################################################
def plg_on_top_data_refresh(self, ppinfo):
data = [ppinfo['pid'], ppinfo['name'], ppinfo['state_name']]
return data