Why is GtkSourceView named just source for introspection

Well his question may be justified:

Historical reasons.

The widget was called GtkSourceView, with a namespace GtkSource to avoid collisions with GTK’s own namespace.

Then new ancillary API was added to the library, so the GtkSource namespace stuck, which is why now you have GtkSourceBuffer, GtkSourceLanguage, GtkSourceCompletion, etc.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.