Nelly

Generalities

Nelly is a graphical layer definition. It does nothing more than defining the relations between graphical elements through abstract classes. Then each class has to be implemented for each GUI framework wanted to be usable with Nelly.

A graphical element is called a widget.

Principles

  • Each widget can be used before being drawn
  • Each widget’s value can be set by the setValue() method and got by the getValue() method
  • Each widget can be cloned so that when they are used as template the orginal one can be destroyed and the template manager can manage it’s own copy
  • Each widget is instancited through a factory inheriting from NyFactory, so that the underlaying framework can be changed just using another factory

The drawing process

A widget is drawn into a parent widget.
If the parent widget is not drawn, the child widget is just attached to parent.
Then when the parent is drawn all its children are really drawn.

When parent is not null and drawn
When parent is null or not drawn

Widgets

Events

Widget dependencies

Components

Current known implementations

  • Gtk2 - NyGtk - by digicapt
  • WxWidget - NyWx - by digicapt (not maintained anymore)
Add picture from clipboard (Maximum size: 32 MB)