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

15 lines
424 B
Python
Raw Normal View History

2006-11-16 13:09:07 +01:00
###########################################################
# 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
2007-08-07 23:56:14 +02:00