Wednesday, October 16, 2013

Transition to Widget-Manager

Our groups is currently in the process of transitioning from the SDK's widget and panel to xul-injection. So far it has been extremely messy, even simple things like including a stylesheet or image takes a great deal of thought, considering we are using html inside a xul file. Not to mention the widget includes countless event handlers that all modify the html. We have been able to include a image for the widgets icon, and we have a good idea of how we can handle live icons. But referencing internal images or files from the xul seems to be giving me a problem, particularly relative paths. This seems to be solved in the firefox extensions by using the "chrome://......." path. However we don't share the same type of structure with an extension, so this doesn't work. I'm still investigating other methods.

No comments:

Post a Comment