Add a Palette to the Surface with the given id. If the Surface already exists and has been initialised the Palette
will be added immediately; otherwise it will be enqueued for later processing. This method is not typically something
a user of the Toolkit will need to call, as the Palette component does this internally. But if you find that you want
to register a palette programmatically after your UI has been initialized, this method is what you need.
Add a Palette to the Surface with the given id. If the Surface already exists and has been initialised the Palette will be added immediately; otherwise it will be enqueued for later processing. This method is not typically something a user of the Toolkit will need to call, as the Palette component does this internally. But if you find that you want to register a palette programmatically after your UI has been initialized, this method is what you need.