Widget Library

PreviousNext

Examples

Widget Browser

The example shows the available widgets as well as the integration with the rest of the EiffelMedia library.

Structure

The example is located in the directory $EM/example/widget_browser.

The code for the demo panels is in the demo_panels cluster, the code for the Sierpinski pyramid is in the demo_opengl cluster. Look at the source code to see how the widgets are initialised and how the event mechanism is used in the various demo panels.

There are also example panels to show the integration with other parts of the EiffelMedia library. Have a look at the example as well as the source code to see how this works.

OpenGL

If you want to deactivate OpenGL start the program with the option noopengl, i.e. call widget_browser noopengl.

Other examples

There are a lot of other examples which use widgets. You can also take a look at those to see how the widget library is used.