[Phoenix] status-bar overlay
Andreas Wuest
awuest at student.ethz.ch
Wed Sep 6 21:06:07 CEST 2006
Hi Thomas
On 6.9.2006 20:55 Uhr, Thomas Comiotto wrote:
> Hi
>
> I would like to add an firefox status-bar panel overlay to display
> ulysses specific stuff. What would be the best way to do this? I can't
> get a handle on the main browser window from the editor.
Do you want to do fancy stuff like adding XUL widgets to the status bar,
or simply displaying text?
The latter is easy. The main browser window can be accessed in the
editor via gMainBrowserWindow. To display a string, you can therefore do
gMainBrowserWindow.status = "...";
If you'd like to create a XUL overlay, this is trickier. See e.g.
http://developer.mozilla.org/en/docs/Creating_a_status_bar_extension and
http://developer.mozilla.org/en/docs/Creating_a_dynamic_status_bar_extension.
--
Kind regards,
Andi
More information about the Phoenix
mailing list