Function Control.getConstant

Returns a constant from assigned Theme with given name and associated with Control of given type.

long getConstant (
  const(String) name,
  const(String) type = GodotStringLiteral().str()
) nothrow @nogc const;