2008/08/07

Task4 : tray-icon.py

we need a class that responsible of show /hide/blink the try icon with image and popup menu
classname: memobee_tray
proprties :
icon -->path to image
blink --> blink or not True/False
visible -->visible or not True/False
status_icon --> the status icon object
popup --> the popup menu object
launcher---- manager object --> it must has a show method
Notes---- manager object -> it must has a show method
============
popup menu items:
launchers : show launcher manager
Notes : show notes manager
About : show the about sccreen
Quit : quit program
============
this task is assigned to : Blaze Boy
Rethinking :
i thank in the way i connect the tray object and the launcher/note manager object and i saw that we can't do that i order of problems of pass-by-value that will copy the launcher/note manager to current tray object and if the program tried to manipulate these objects it will conflit with those copied in the tray object so ....
memobee_tray object will NOT have Notes or Launchers members and the connection will made by the main script
======================
Rethinking :
the image, blink,visible are all can be accessed from the status_icon object
memobee_tray object will NOT have blink, visible,image and they will be accessed from the status icon objetc that will be ore powerful
Done: Sunday, August 10 2008

No comments: