sugar-toolkit-gtk3/services/console/interface/memphis/plugins/memphis_init/info.py

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