sugar-toolkit-gtk3/services/console/interface/memphis/plugins/memphis_init/info.py
2007-08-07 17:56:14 -04:00

15 lines
424 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