Events within the OpenCAGE GUI

Figure 8-5. Observers within the OpenCAGE GUI

Observers within the OpenCAGE GUI

Changed

The GDC redraws the pixmap of the given Object_Display.

Node_Destroying

The GDC removes the given Node_Display from its children and redraws the whole graph window.

Edge_Destroying

The GDC removes the given Edge_Display from its children and redraws the whole graph window.

Visibility_Changed

The GDC asks the given Object_Display if it is drawable. If it is, the GDC tells the Object_Disply to draw itself. If it is not, the GDC redraws the whole graph window. In the redrawing method of the graph window only drawable objects are drawn.