Gimp.type_set_translation_context

@accepts(GType, unicode)
@returns(none)
def type_set_translation_context(type, context):
    # Python wrapper for gimp_type_set_translation_context()
  

This function attaches a constant string as a translation context to a GLib.Type. The only purpose of this function is to use it when registering a #G_TYPE_ENUM with translatable value names.

Since 2.8

type

a GLib.Type

context

a constant string that identifies a translation context or None