What is a GLG Widget?
The conventional definition of a widget is a graphical interface element which is usually defined as a reusable piece of code. With this approach, extending a widget’s functionality requires adding new code to the widget’s source code. To port each widget to a new platform, its source code has to ported. GLG Widgets use a different model where each widget is a GLG drawing (“.g” file) containing a collection of GLG graphical objects that implement the widget’s graphical appearance and run-time behavior. To change the widget, the drawing may be edited with the GLG Graphics Builder, and new widget drawings may be created and saved. At run-time, a widget drawing is loaded and handled by a GLG object engine in a form of a C/C++ library, Java class library or ActiveX control. Since the GLG Widgets have no source code associated with them, their functionality is completely defined by each widget’s drawing. Widgets’ drawings are cross-platform and may be used by GLG applications on various pla