New Widget Sample Online

Thursday January 7th, 1999

If you have been following the XPFE newsgroup, you may have come across the debate about widgets in the new cross-platform mozilla application. The final decision was for the widgets displayed on HTML pages (radio-buttons, drop-down menus, etc.) and dialog boxes to be platform-neutral for the moment, with the possibility of adding in native widget-sets later. This new platform neutral widget set requires new widget images, and the new samples have come online here.

German Bauer is the creator of these sample images, and his current thoughts can be read here. This post is really worth checking out if you have a moment.

Please be advised: this is a Work In Progress! Please don't flame the creator of these widgets in talkback. However, please feel free to post constructive criticism or other thoughts on this issue.

#36 Re:New Widget Sample Online

by David Saslawsky <>

Friday January 8th, 1999 10:41 AM

You are replying to this message

>If the new widgets are platform >independent, they'll most likely >become much slower than native >widgets.

This is untrue on the Windows platform because you have to create a window handle for each widget you want to display (this uses HUGE amounts of memory and slows down the redraws because the system has to handle many regions).

On the X plateform you could keep the same speed as standard widgets if you describe them in terms of boxes and lines rather than in terms of pixels.

In fact, IE4 for windows uses the very same technique to be able to display forms at a reasonable speed (IE4 draw his own widgets) - they call this "windowless controls".

BTW, this a very good idea because this will simplify the ports of Mozilla, particulaly on plateforms that do not have any widgets (webTVs, webTerminals, ...).