sugar-toolkit-gtk3/shell/console/plugins/memphis_init/info.py
2006-11-16 14:47:07 +01:00

14 lines
411 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