This package provides a convenitn function to create a new graphic
context. Such contexts are needed in several places in GtkAda, in
particular for the drawing routines, and this function provides a
convenient way to create them.
Create a new GC with the matching attributes.
If such a graphic context already exists, it is returned, which is much
faster than creating a new one. Creating a new context requires a
round-trip to the server (X11 for instance), and can be slow.
You shouldn't modify the attributes of the returned context, since that
might impact other parts of the code that have queried it.
Decrease the reference counting for the GC. If it reaches 0, then
calling Get will create a new one the next time it is called with the
same attributes.
Binding from C File version 2.8.17
<see>Gdk.GC</see>